rpm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rpm [2009/11/24 10:06] – alan | 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: |
- | + | ||
- | * yum -y install curl # -y answers " | + | |
- | + | ||
< | < | ||
< | < | ||
- | ===== Custom | + | ====== Building |
- | And RPM is a pre-compiled package containing binaries and config files, etc which can be installed using '' | + | An RPM is a pre-compiled package containing binaries and config files, etc which can be installed using '' |
- | First, | + | * [[http:// |
- | < | + | * [[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 | + | < |
- | | + | $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.txt · Last modified: 2012/03/21 12:14 by ikahugu