Top Yum command examples - linux tuorials

What is yum in linux?

Yum abbrivates as Yellowdog Updater Modified a free tool for managing packages in redhat Unix as well as CentOS. yum is popular packaging tool to manage the different packages in linux. Yum do install,update, remove the packages or rpm's in red hat and Cent OS Unix yum is similar apt-get tool in ubuntu operating system. yum install the dependencies automatically yum download the temporary files and store under /var/cache/yum folder, Once 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 yum install command, We can install package or rpmm in linux. We can also specify the multiple package names with separted space
yum install package-name
yum install package-name1 package-name2

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

With yum remove compand, it removes the packages from system. We can also specify the multple packages in 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 list of packaes that name starts with package


yum update command in linux - update package with latest version

with yum update comand, It update all the packages with latest version if we need, we can update specific package
yum update
or 
yum update package-name

yum update command in linux - update package with latest version

yum clean command in linux - remove cache

Yum automatically clean the cache. use 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 arcticle please share to social media.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.