Difference between revisions of "Category:Yum"
From SME Server
Jump to navigationJump to search (Created page with "Category:Useful Commands") |
|||
Line 1: | Line 1: | ||
+ | ===YUM'ing and repositories=== | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Command !! Explanation | ||
+ | |- | ||
+ | | yum install <packagename> || installs packagename & any package it may need | ||
+ | |- | ||
+ | | yum remove <packagename> || removes packagename | ||
+ | |- | ||
+ | | yum list updates || list updates to any installed package | ||
+ | |- | ||
+ | | yum list available || list available packages in all repos not already installed | ||
+ | |- | ||
+ | | yum list available |grep <reponame> || list available packages -shows only from repo name | ||
+ | |- | ||
+ | | yum search <packagename> || lists all packages in all repos matching packagename | ||
+ | |- | ||
+ | | yum clean all || Is used to clean up various things which accumulate in the yum cache | ||
+ | |- | ||
+ | | yum --enablerepo=<reponame> <command> || enables a repo not normally enabled | ||
+ | |- | ||
+ | | /sbin/e-smith/audittools/newrpms || shows all extra packages installed | ||
+ | |- | ||
+ | | /sbin/e-smith/audittools/repositories || show all repositories and if they are activated or not | ||
+ | |- | ||
+ | | db yum_repositories show <reponame> || show properties of the repository <reponame> '''(you may use TAB to auto-complete your command line)''' | ||
+ | |} | ||
+ | |||
+ | |||
[[Category:Useful Commands]] | [[Category:Useful Commands]] |
Revision as of 12:02, 28 December 2014
YUM'ing and repositories
Command | Explanation |
---|---|
yum install <packagename> | installs packagename & any package it may need |
yum remove <packagename> | removes packagename |
yum list updates | list updates to any installed package |
yum list available | list available packages in all repos not already installed |
grep <reponame> | list available packages -shows only from repo name |
yum search <packagename> | lists all packages in all repos matching packagename |
yum clean all | Is used to clean up various things which accumulate in the yum cache |
yum --enablerepo=<reponame> <command> | enables a repo not normally enabled |
/sbin/e-smith/audittools/newrpms | shows all extra packages installed |
/sbin/e-smith/audittools/repositories | show all repositories and if they are activated or not |
db yum_repositories show <reponame> | show properties of the repository <reponame> (you may use TAB to auto-complete your command line) |
Pages in category "Yum"
The following 4 pages are in this category, out of 4 total.