Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


installing_rpms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
installing_rpms [2025/03/20 19:06] juckinsinstalling_rpms [2025/03/20 19:08] (current) – removed juckins
Line 1: Line 1:
-=== Working with RPMs ==== 
  
-RPMs on the web: \\ 
-http://www.rpmfind.net \\ 
-http://rpm.pbone.net/ 
- 
-Installing: \\ 
-<code>rpm –ivh (name)</code> 
- 
-Listing Installed Packages: \\ 
-<code>rpm –qa | grep (name) to find installed packages</code> 
- 
-Removing Packages: \\ 
-<code>rpm –e (name)</code> 
- 
-Freshen packages: \\ 
-<code>rpm –F *.rpm</code> 
- 
-Building RPM from source: \\ 
-[[http://wiki.centos.org/HowTos/RebuildSRPM]] 
- 
-Find out what library is provided by an RPM package: \\ 
-<code> 
-locate libg2c.so|xargs rpm -qf | sort | uniq 
-</code> 
- 
-Multiple packages error: \\ 
-Substitute the "zlib-devel" in the below to another package reporting duplicates. 
- 
-<code> 
-rpm -qa --queryformat "%{name}.%{arch}\n" zlib-devel 
-</code> 
installing_rpms.1742512002.txt.gz · Last modified: 2025/03/20 19:06 by juckins