rpm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| rpm [2009/11/02 12:20] – 172.26.0.166 | rpm [2012/03/21 12:14] (current) – [Building RPMs] ikahugu | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== RPM tips ===== | + | ====== 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 ====== | ||
| - | ===== Custom RPMs ===== | + | An RPM is a pre-compiled package containing binaries and config files, etc which can be installed using '' |
| - | And RPM is a pre-compiled package containing binaries and config files, etc which can be installed using '' | + | * [[http:// |
| + | * [[http:// | ||
| - | First, [[http:// | + | Install '' |
| - | < | + | < |
| + | Setup your home directory's environment: | ||
| + | < | ||
| $ echo ' | $ echo ' | ||
| - | * Download an SRPM (which contains everything you need to build the package) | + | Download an SRPM and build: |
| - | * Build with: '' | + | < |
| - | | + | $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.1257164408.txt.gz · Last modified: (external edit)
