APT package management notes

Tips and tricks on package management for APT based distributions such as Debian.

To install package foobar:

apt-get install foobar

When installing a package you may be informed of:

  • Extra packages are dependencies of what you are installing and will also be installed.
  • Recommended packages are needed or recommended for normal use of what you are installing, but the package will work without it. Some apt frontends install these by default.
  • Suggested packages are things the packager thought you might find useful in conjunction with what you are installing.

To uninstall package foobar:

apt-get remove foobar

To automatically removed orphaned packages — that is, packages that were installed as dependencies of something that has since been removed:

apt-get autoremove
Advertisements

About Warren Post

So far: Customer support guy, jungle guide, IT consultant, beach bum, entrepreneur, teacher, diplomat, over-enthusiastic cyclist. Tomorrow: who knows?
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

One Response to APT package management notes

  1. Pingback: Security and stability tuning on Linux | A maze of twisty little passages

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