Ubuntu package management

install:

sudo apt-get install <package_name>

search a package in the repo:

apt-cache search <pattern>

search an installed package:

dpkg --get-selections [<package_name>]

or

dpkg --get-selections | grep <pattern>

query the content of an installed package:

dpkg-query -L <package_name>
Advertisements
Ubuntu package management

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s