rosetta_stone > packages
document updated 7 years ago, on Oct 29, 2016

There are a variety of package systems.

Operating systems

package system tool web-based access
Ubuntu [[Advanced Packaging Tool|apt-get]], [[dpkg]]
Debian [[Advanced Packaging Tool|apt-get]], [[dpkg]]
Red Hat Enterprise Linux [[Yellowdog Updater, Modified|yum]]
Gentoo [[Portage (software)|portage, emerge]]

Programming language, third-party libraries

package system tool web-based access
Perl cpan, cpanm
Python [[Pip (Python)|pip]], easy_install
Ruby [[RubyGems|gem]]
Node.js [[npm]]

Programming language, entire interpretter

Python pyenv
Perl perlbrew
Ruby rvm
Node.js nvm

equivalent commands

apt-get yum cpan
install a package apt-get install pkg yum install pkg cpan pkg
list packages installed dpkg -l rpm -qa cpan -l
all apt-cache pkgnames yum list gzip -dc ~/.cpan/sources/modules/02packages.details.txt.gz
search available packages apt-cache search keyword yum search keyword cpan <<< d /keyword/
show summary info for package any apt-cache show pkg yum info pkg
installed dpkg -s pkg perldoc module
list files in package installed dpkg -L pkg rpm -ql pkg perl -MExtUtils::Installed -le'$,=$/;print ExtUtils::Installed->files(shift)' module
any apt-file list pkg repoquery -q -l pkg
list packages that own a file all apt-file search filename repoquery -q --file filename
installed dpkg -S filename yum whatprovides filename