LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-16-2004, 04:32 PM   #1
Brother Michael
Member
 
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.

thanks
Mike
 
Old 01-16-2004, 04:42 PM   #2
TheOneKEA
Member
 
Registered: Oct 2003
Location: Somewhere in Surrey
Distribution: Debian GNU/Linux 8.0 (amd64) w/kernel 3.19.0
Posts: 286

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, 05:00 PM   #3
ranger_nemo
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...

<< http://www.fedora.us/wiki/FedoraHOWTO >>
 
Old 01-16-2004, 05:21 PM   #4
Brother Michael
Member
 
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

Mike

Last edited by Brother Michael; 01-16-2004 at 05:22 PM.
 
Old 01-16-2004, 08:23 PM   #5
zinic
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 http://www.nongnu.org/synaptic/
 
Old 01-16-2004, 10:02 PM   #6
ifred
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 10:05 PM.
 
  


Reply


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 03:24 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
apt-get for slackware (the real apt...not swaret or slapt) hypermegachi Slackware 3 10-31-2003 03:28 PM


All times are GMT -5. The time now is 09:01 PM.

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