Installing and Upgrading Packages with Yum
You need to know how to install packages, how to upgrade packages, and how to do system upgrades.
First, update your package list:
# yum check-update
To install a new package, use:
# yum -y install tuxkart
The -y flag allows unattended installation, by answering yes to all questions.
To update a single package, use:
# yum update gltron
To update several packages, use:
# yum update gltron ktron tuxracer
To update all installed packages, use:
# yum update
To search for a package to install, use:
# yum search quake
Now say you need a particular library, but you don't know what package provides it. Yum will find it:
# yum provides libc6.1-1.so.2
You need to know how to install packages, how to upgrade packages, and how to do system upgrades.
First, update your package list:
# yum check-update
To install a new package, use:
# yum -y install tuxkart
The -y flag allows unattended installation, by answering yes to all questions.
To update a single package, use:
# yum update gltron
To update several packages, use:
# yum update gltron ktron tuxracer
To update all installed packages, use:
# yum update
To search for a package to install, use:
# yum search quake
Now say you need a particular library, but you don't know what package provides it. Yum will find it:
# yum provides libc6.1-1.so.2
0 Comments