Friday, January 11, 2013

Debian / Ubuntu Package Commands ( apt-get / apt-file / apt-cache )


sudo apt-get update
sudo apt-get upgrade --dry-run
sudo apt-get upgrade


apt-cache search maven     # too much information
apt-cache search ^maven$   # misleading information
apt-cache search mvn       # no information



apt-file search mvn            # too much information
apt-file search ^mvn$          # no information

which mvn
apt-file search /usr/bin/mvn   # glory

apt-cache show maven2          # description and dependencies
apt-cache showpkg maven2       # package info
apt-cache showsrc maven2       # source files

No comments:

Post a Comment