Leaving history aside, yum is the easiest way to install, update, and remove software from your Linux systems. This quick tutorial guides you through the steps but it is not a substitute for man yum. This tutorial would give you general usage while man page give a comprehensive documentation of yum's functionality. An added benefit of yum is that it calculates a programs dependencies and then it downloads and installs them for you.
Installing Yum
Before installing yum, check to see if you already have yum installed:If you don't have yum installed, you can download it from http://yum.baseurl.org. To install yum,$ whereis yum
$ rpm -Uvh yum-xx.noarch.rpm
Is a software already installed on my system
replace the word software with your software.$ yum list install SOFTWARE $ yum list install firefox
Installing with yum
replace the word software with your software.$ yum install SOFTWARE $ yum install firefox
This will get all the dependencies and prompt you with a list of dependencies you need to download and install. You can accept or decline.
Search for software
where string could be software's name, or a wildcard. Yum would return a list of matches.$ yum search STRING $ yum search firefox $ yum search fire*
Uninstalling software
$ yum remove PACKAGE $ yum remove firefox
Updating software
$ yum update PACKAGE $ yum update firefox
No comments:
Post a Comment