Selasa, 19 Mei 2009

INSTALLING PACKAGE

A.Querying All Packages

[root@serverA -]# rpm - - query –all

This command will be list all installed package in your system

B.Querying Details For a specific package

[root@serverA -]#rpm - - query bash
this command will be list information about specific packet ( in this case Bash packet )

C.This Command will be show the details information about package (Bash)

[root@serverA -]#rpm –qi bash

D.This command will be list all files that come with the bash package
[root@serverA -]#rpm –ql bash

E. this command will be show us the date when bash installed in the system
[root@serverA -]#rpm –q - -qf “[ %{INSTALLTIME:date} \n]” bash

F. This command will be show us the bash package group

[root@serverA -]#rpm –q - - qf “ [%{GROUP} \n]” bash

G.this command will be show us the package depend on bash package
[root@serverA -]#rpm –q - - whatrequires bash

H. Installing with RPM
[root@serverA -]#rpm –ivh package name .rpm

I.Uninstalling Package with RPM
[root@serverA -]#rpm –q package name

J.Verifying Packages
[root@serverA -]#rpm –V package name

K.Extract File
[root@serverA -]#tar –xvzf package name .tar.gz

L.Configuring The package
[root@serverA -]#./configure

M.Compiling the package
[root@serverA -]#make

N.Installing the package
[root@serverA -]#make install

O.Clean Up Package
[root@serverA -]#rm –rf package name

Common problems in building from source
1.Problem With Libraries
2.When there is no ./Configure Script
3.Broken Source code

Tidak ada komentar:

Posting Komentar