YUM

Yum is a package installer/remover for rpm systems. It can also update your system and is used mainly by the Linux systems such as Oracle Linux to simplify these tasks.

Some simple tasks using yum is to list,install, search, remove the packages on your system. 

To list if you've a package installed do:

yum list installed

To list all packages in yum repository:

yum list

To search for a package:

yum search pkg; e.g. yum search kernel

To remove a package

 yum remove pkg

To install a package(s)

yum install pkg eg. yum install ksh

yum install libpng-devel ; gd-devel; openmotif-devel ; zlib-devel; expat-devel

To setup a proxy for yum ,if you go over vpn do

vi /etc/yum.conf
proxy=http://host:80

Any changes yum does to your system gets recorded in a file ,most likely at location /var/log/yum.log . This is very useful to track changes . You can occasionally clean up yum repository from stale files via running yum clean all

Sometimes yum complains of a already running processes. You should wait for it to clear up, if you know for a fact its not running and is an issue, you could just kill the process as mentioned its pid.

If you encounter package kit issue, it can be disabled in gnome via System > Preferences > Startup Applications

Finally, few good links on yum for further information:

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

General technology blog which focuses on technologies which I think would be useful for folks.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today