http://dag.wieers.com/rpm/FAQ.php#B4B4. How do I use Yum ?Yum is an update-tool written in python. The advantage of Yum is that it is written in Python. The disadvantage is that there are many versions of Yum, and only recent versions work with recen...
显示全部http://dag.wieers.com/rpm/FAQ.php#B4B4. How do I use Yum ?
Yum is an update-tool written in python. The advantage of Yum is that it is written in Python. The disadvantage is that there are many versions of Yum, and only recent versions work with recent distributions. If you like to use a single tool across all distributions, it's better to use Apt.
Yum is usually already installed if you're running Fedora Core. In case you are using Red Hat Enterprise Linux or an older Red Hat Linux distribution. You can find Yum at:
http://dag.wieers.com/packages/yum/The configuration of Yum is inside the rpmforge-release package. You need to install it yourself.
If you've done that, the rest is simple. Upgrade your system by doing:
yum update
You can add new software by typing:
yum install
Or update installed software:
yum update
Or search for software in the local repository meta-data:
yum search
Or simply list all available software:
yum list available
From time to time you may want to save some diskspace:
yum clean收起