foo install packagename
`. Now, there is:
RPM Package Manager
duhpkg
Solaris pkg*
Arch/Pacman
duhpkg
Solaris pkg*
Arch/Pacman
Never use something like `
rpm -e $(rpm
-qa | grep kde)
` because it will remove all the packages that have
kde in their name, NOT JUST the ones that begin with kde. Such careless
use may remove important packages. In general, `rpm -qa | grep
kde
` is almost useless because you could have written `rpm -qa
"*kde*"
` instead.
(The list is incomplete, esp. with Solaris pkg, so if anyone
knows, please notify me.)
List all packages in short form:rpm -qa
dpkg-query -W
pkginfo
pacman -Q
rpm -qi bash
dpkg -s bash
pkginfo -l SUNWbash
pacman -Qi
rpm -qip bash.x86_64.rpm
dpkg -l bash.deb
pacman -Qpi
rpm -ql bash
dpkg -L bash
pkgchk -l SUNWbashr | grep Pathname:
pacman -Ql
rpm -qlp bash.x86_64.rpm
dpkg -c bash.deb
pacman -Qlp
rpm -qilvp bash.x86_64.rpm
rpm -qf /bin/bash
dpkg -S /bin/bash
pkgchk -l -p /bin/bash
pacman -Qo
rpm -q --whatprovides "libc.so.6(GLIBC_2.4)"
rpm -q --whatrequires libm.so.6
rpm -qR bash
pacman -Qi
rpm -qRp bash.x86_64.rpm
pacman -Qpi
rpm -Uhv bash.x86_64.rpm
dpkg -i bash.deb
pacman -U bash...
rpm -e bash
dpkg -P bash
pkgrm SUNWbashr
pacman -R bash
rpmbuild -ba bash.spec
[Arch Build System]
rpmbuild --rebuild -bb bash.src.rpm
rpm2cpio bash.rpm | cpio -diu
dpkg -x bash.deb $PWD
from http://inai.de/linux/adm_pack