INFORMATICS

The Best

Przełącznik języka

Zaproś mnie na KAWE

Jeżeli podoba Ci się strona i chcesz wspomóc projekt!

Postaw mi kawę na buycoffee.to

This Site

Płatnik

CMS

Hardware

Uncategorised

Emulators

Powershell

Storage Array

DNS

Antivirus program

Licznik

2.png8.png9.png7.png1.png6.png2.png
Today188
Yesterday901
This week4418
This month17287
Total2897162

Visitor Info

  • IP: 3.144.248.24
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

4
Online

piątek, 26 kwiecień 2024 05:17

How to clear the YUM cache

Gwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywna
 

How to clear the YUM cache

What is yum?

The Yellowdog Updater, Modified (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager. Yum allows automatic updates, package and dependency management, on RPM-based distributions. Like the Advanced Packaging Tool (APT)

 

How to clear the yum cache:

When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following:

#yum clean packages

To purge the old package headers information completely, execute the execute the command below:

#yum clean headers

To clean metadata for each enabled repository, execute the command below:

#yum clean metadata

If you wish to clean all the cached files from any enabled repository at once, execute the command:

#yum clean all

Search