Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-16-2004, 05:32 PM   #1
Brother Michael
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian
Posts: 284

Rep: Reputation: 30
Apt-Get, how...

Hey can someone either explain to me, or point me to some good documents about how to use apt-get. Because frankly, I haven't a damn clue, and I find the webpage to be very sketchy on how their soft-ware works.

Old 01-16-2004, 05:42 PM   #2
Registered: Oct 2003
Distribution: Debian GNU/Linux 9.0 (amd64) w/kernel 4.11.4
Posts: 287

Rep: Reputation: 30
apt-get update fetches new package lists.

apt-get install package installs a package and all the required dependencies of that package.

apt-get upgrade upgrades all of the upgradeable packages in the system.

apt-get dist-upgrade does the same thing as ^, only differently.

Try reading the manpage on apt-get.
Old 01-16-2004, 06:00 PM   #3
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
For more info...

<< >>
Old 01-16-2004, 06:21 PM   #4
Brother Michael
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian
Posts: 284

Original Poster
Rep: Reputation: 30
so in a sense apt-get kinda works like emerge for Gentoo?

EDIT: and I did not realize there was man pages for it. In fact never dawned on me to check, I guess thats what using a window manager does to a person, gets them use to F1


Last edited by Brother Michael; 01-16-2004 at 06:22 PM.
Old 01-16-2004, 09:23 PM   #5
LQ Newbie
Registered: Nov 2003
Location: Västerås - Sweden
Distribution: Dual boot with WinXP & Red Hat 9
Posts: 14

Rep: Reputation: 0
If you want a nice GUI-interface for APT I really recommend a program called Synaptic.. you can find it at
Old 01-16-2004, 11:02 PM   #6
LQ Newbie
Registered: May 2001
Posts: 15

Rep: Reputation: 0
apt-cache search <searchterm> is good when you are not sure what packages you can install to get things done.

apt-cache pkgnames shows all of the installed pakages. If you want to check to see if a particular package is installed use grep as in: apt-cache pkgnames | grep <searchterm>

Just thought these woulde be handy to know.

Last edited by ifred; 01-16-2004 at 11:05 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 04:24 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 07:36 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM
apt-get for slackware (the real apt...not swaret or slapt) hypermegachi Slackware 3 10-31-2003 04:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration