Some basic apt-get stuff …

We use Debian here at our shop, so here are some basic apt-get commands.

Lets look up some policy info for a package we want to install.

 

apt-cache search nfs
nfs-common - NFS support files common to client and server
nfs-kernel-server - support for NFS kernel server
apt-cache policy nfs-common
nfs-common:
 Installed: (none)
 Candidate: 1:1.2.2-4squeeze2
 Version table:
 1:1.2.2-4squeeze2 0
 500 http://mirrors.work.com/debian/ squeeze/main amd64 Packages
 100 /var/lib/dpkg/status

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.