Advertisement

Responsive Advertisement

Yum

Yum(Yellowdog Updater Modified) in RedHat Linux:

  •  To check system updates available for all installed packages
 $yum-check-update 
  • To update a particular package
$yum update <package> 
  • To update all packages and their dependencies, since it updates kernal also minor release updates are done with the same
$yum update
  • You can search all RPM package names, descriptions and summaries by using the following command:
$yum search <term>
  • 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>




 


Post a Comment

0 Comments