Search My Blog

Tuesday, September 21, 2010

apt get - Google Search (Package Manager for Debian)

Debian uses the Package Manager APT...

Advanced Packaging Tool

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Advanced Packaging Tool
Stable release 0.8.0[1] / August 24, 2010; 23 days ago (2010-08-24)
Preview release 0.8.0~pre2[1] / August 23, 2010; 24 days ago (2010-08-23)
Written in C++
Operating system Cross-platform
Platform Unix and Unix-like operating systems
Type Package management system
License GNU General Public License
Website wiki.debian.org/Apt

The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants.[2] APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.[2]

APT was originally designed as a front-end for dpkg to work with Debian's .deb packages, but it has since been modified to also work with the RPM Package Manager system via apt-rpm.[3] The Fink project has ported APT to Mac OS X for some of its own package management tasks, and APT is also available in OpenSolaris (included in the Nexenta OS distribution).[4] Telesphoreo is a project dedicated to porting APT to certain mobile operating systems. The project has currently completed a port to the iOS.[5]

Contents

[hide]
Go there...
http://en.wikipedia.org/wiki/Advanced_Packaging_Tool#Installation_of_software

This Page is about Ubuntu, but the commands should work in Real Debian too...

Apt-Get

The apt-get command is a powerful command-line tool used to work with Ubuntu's Advanced Packaging Tool (APT) performing such functions as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu system.

Being a simple command-line tool, apt-get has numerous advantages over other package management tools available in Ubuntu for server administrators. Some of these advantages include ease of use over simple terminal connections (SSH) and the ability to be used in system administration scripts, which can in turn be automated by the cron scheduling utility.

Some examples of popular uses for the apt-get utility:

  • Install a Package: Installation of packages using the apt-get tool is quite simple. For example, to install the network scanner nmap, type the following:

    sudo apt-get install nmap     

  • Remove a Package: Removal of a package or packages is also a straightforward and simple process. To remove the nmap package installed in the previous example, type the following:

    sudo apt-get remove nmap     

    [Tip]

    Multiple Packages: You may specify multiple packages to be installed or removed, separated by spaces.

    Also, adding the --purge options to apt-get remove will remove the package configuration files as well. This may or may not be the desired effect so use with caution.

  • Update the Package Index: The APT package index is essentially a database of available packages from the repositories defined in the /etc/apt/sources.list file. To update the local package index with the latest changes made in repositories, type the following:

    sudo apt-get update     

  • Upgrade Packages: Over time, updated versions of packages currently installed on your computer may become available from the package repositories (for example security updates). To upgrade your system, first update your package index as outlined above, and then type:

    sudo apt-get upgrade     

    For information on upgrading to a new Ubuntu release see the section called “Upgrading”.

Actions of the apt-get command, such as installation and removal of packages, are logged in the /var/log/dpkg.log log file.

For further information about the use of APT, read the comprehensive Debian APT User Manual or type:

apt-get help
Go there... https://help.ubuntu.com/8.04/serverguide/C/apt-get.html

Links for Debian Package Manager apt-get
apt get - Google Search
APT HOWTO (Obsolete Documentation)
Advanced_Packaging_Tool
Apt-Get
apt-get.org
apt get - Google Search
http://www.google.com/search?q=dweb98&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#sclient=psy&hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=apt+get&aq=f&aqi=g5&aql=&oq=&gs_rfai=&pbx=1&fp=334fd24029d43054

Don

No comments: