YUM/yum options on CentOS/RHEL Linux

$sudo yum deplist  [Package]       # Display Dependencies for a package

$sudo yum list avaliable   # List package names from repositories

$sudo yum list installed

$sudo yum update         # update one or all packages on your system

$sudo yum update [Package]

$sudo yum search [term]    # Search name and description from a term

$sudo yum install [Package]  #Install a package from a repository to your system

$sudo yum remove [Package]  #erase a package [and possible dependencies] from a repository to your system

$sudo yumdownloader  [Package] #download a package from a repo to current directory

 

references

https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf

https://access.redhat.com/articles/yum-cheat-sheet

這個網誌中的熱門文章

取消Excel與word網際網路與網路路徑超連結自動格式

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)