{

Top Yum command examples - linux tutorials


Yum abbreviated as Yellowdog Updater Modified a free tool for managing packages in RedHat Unix as well as CentOS.

yum is a popular packaging tool to manage the different packages in Linux. Yum, do install, update, and remove the packages or RPMs in red hat and Cent OS Unix. yum is a similar apt-get tool in the ubuntu operating system.

yum install the dependencies automatically yum download the temporary files and store them under the/var/cache/yum folder, Once the yum operation is finished, the data will be deleted.

We will see the different yum examples in the following article

yum install command in Linux - how to install package or rpm in Unix

with the yum install command, We can install package or rpm in Linux. We can also specify the multiple package names with separate space

yum install package-name
yum install package-name1 package-name2

yum uninstall command in Linux - how to uninstall package or rpm

With the yum remove command, it removes the packages from the system. We can also specify the multiple packages in the command.

yum remove package-name
yum remove package-name1 package-name2

yum list command in Linux - show list of installed packages

yum list all - show list of all packages
yum list package-name - show list of all packages for package
yum, list package\* - show a list of packages whose name starts with a package.

yum update command in Linux - update package with the latest version

with the yum update command, It updates all the packages with the latest version if we need, we can update a specific package

yum update
or
yum update package-name

yum clean command in Linux - remove cache

Yum automatically clean the cache. use the yum clean command to clear the cache manually, yum clean all finally yum help command Use

man yum

That about yum. If you like my article please share it on social media.

THE BEST NEWSLETTER ANYWHERE
Join 6,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.

Similar Posts
Subscribe
You'll get a notification every time a post gets published here.