rpm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| rpm [2009/10/28 13:17] – alan | rpm [2012/03/21 12:14] (current) – [Building RPMs] ikahugu | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== RPM Commands | + | ====== Redhat Package Manager ====== |
| + | ====== Tips ====== | ||
| Check if a package is installed: | Check if a package is installed: | ||
| < | < | ||
| Line 26: | Line 27: | ||
| * rpm -V httpd : verify that the httpd package is correctly installed | * rpm -V httpd : verify that the httpd package is correctly installed | ||
| * rpm -qf /etc/passwd :determine which package the /etc/passwd file belongs to | * rpm -qf /etc/passwd :determine which package the /etc/passwd file belongs to | ||
| - | To unistall a package, check first the exact name of the package, | + | To unistall a package: |
| < | < | ||
| < | < | ||
| + | ====== Building RPMs ====== | ||
| + | |||
| + | An RPM is a pre-compiled package containing binaries and config files, etc which can be installed using '' | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Install '' | ||
| + | < | ||
| + | Setup your home directory' | ||
| + | < | ||
| + | $ echo ' | ||
| + | Download an SRPM and build: | ||
| + | < | ||
| + | $rpmbuild --rebuild EMBOSS-5.0.0-1.src.rpm</ | ||
| + | Install with: | ||
| + | < | ||
| + | If upgrading, use | ||
| + | < | ||
| + | ====== Troubleshooting ====== | ||
| + | |||
| + | If you have problems with GPG errors, add a line like this to your '' | ||
| + | < | ||
| + | ==== Dag Wieers' | ||
| + | ---- | ||
| + | |||
| + | < | ||
| + | name=Dag RPM Repository for Red Hat Enterprise Linux | ||
| + | baseurl=http:// | ||
| + | gpgcheck=1 | ||
| + | enabled=1 | ||
| + | </ | ||
| + | |||
| + | |||
| + | < | ||
| + | Check more on this here http:// | ||
| + | |||
| + | |||
| + | ==== PBONE REPOS ==== | ||
| + | ---- | ||
| + | < | ||
| + | cd / | ||
| + | wget http:// | ||
| + | yum install pidgin | ||
| + | </ | ||
rpm.1256735864.txt.gz · Last modified: (external edit)
