Help - Search - Members - Calendar
Full Version: [HOW TO] Apt-Get
Neowin Forums > *nix Customization & Support > Completed *nix HOWTO & FAQs
Adamb10
Apt-Get is a packaging system used in Debian and many other Linux Distros. It is based off of the CLI(Command Line Interface). Lets get to it. For this how-to I will be using Debian.

1. Open up a terminal and log yourself as root(type su, then type your password when asked).
2. To install a package you use this command:
QUOTE
apt-get install <package name>
It will then find the package and ask if you want to install it. Once done, you will be able to use it.

apt-cache
Suppose you don't know the package name though? Well Apt-Get has got you covered with this:

QUOTE
apt-cache search <name of software>
So lets say I want to search for firefox in apt get. I would type in apt-cache search firefox.

Once done, it will give you the package name you can use to install.

Updating the package lists
I do this at least once a day. It updates the package lists and versions.
QUOTE
apt-get update


Upgrading the operating system
QUOTE
apt-get upgrade
That will update the packages so your os will be nice and shiny.

That basicly covers it.
markjensen
I edited the title from "get-apt" to "apt-get". I assume that was a typo?

Also, some people who like a GUI would appreciate a graphical front end called "synaptic" to apt. To get it, just type "apt-get install synaptic". thumbs_up.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.