Yum(Yellowdog Updater Modified) in RedHat Linux:
- To check system updates available for all installed packages
- To update a particular package
- To update all packages and their dependencies, since it updates kernal also minor release updates are done with the same
- You can search all RPM package names, descriptions and summaries by using the following command:
- Lists all installed and available packages
$yum list all
- Lists all packages installed on your system
$yum list installed
- Lists all available packages in all enabled repositories.
$yum list available
- Lists the repository ID, name, and number of packages it provides for each enabled repository.
$yum repolist
- To display information about one or more packages
$yum info <package name>
- To Install package
$yum install <package name>
- To Remove a package
$yum remove <package name>
For more info click here
- To display a list of twenty most recent transactions
$yum history list
By default it displays last 20 transactions for all use append "all"
- To display only transactions in a given range, use the command in the following form:
$yum history list startid..endid
Eg:yum history list 1..5
- To display more information on a particular transaction:
$yum history info <id>
- To undo previous transaction eg to uninstall previously installed package
$yum history undo <id>
- To redo previous transaction eg to install previously uninstalled package
$yum history redo <id>
0 Comments