Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux FAQ
Prev Home Next

8.2.2 apt-get, dselect and apt-cdrom

apt-get is an APT-based command-line tool for handling packages, and the APT dselect method is an interface to APT through dselect. Both of these provide a simple, safe way to install and upgrade packages.

To use apt-get, install the apt package, and edit the /etc/apt/sources.list file to set it up, just as for aptitude, Section 8.2.1.

Then run

     apt-get update

followed by

     apt-get dist-upgrade

Answer any questions that might come up, and your system will be upgraded. See also the apt-get(8) manual page, as well as APT, Section 7.1.2.

To use APT with dselect, choose the APT access method in dselect's method selection screen (option 0) and then specify the sources that should be used. The configuration file is /etc/apt/sources.list. See also dselect, Section 7.1.4.

If you want to use CDs to install packages, you can use apt-cdrom. For details, please see the Release Notes, section "Setting up for an upgrade from a local mirror".

Please note that when you get and install the packages, you'll still have them kept in your /var directory hierarchy. To keep your partition from overflowing, remember to delete extra files using apt-get clean and apt-get autoclean, or to move them someplace else (hint: use apt-move).


Debian GNU/Linux FAQ
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire