Changes

Jump to navigation Jump to search
1,033 bytes removed ,  13:05, 28 December 2014
Replaced content with "Yum related pages Category:Useful Commands"
Line 1: Line 1: −
===YUM'ing and repositories===
+
Yum related pages
{| 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]]

Navigation menu