LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 08-06-2006, 02:04 PM   #1
thinkpadx30
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Question install all available packages with apt-get


I am running the latest release of Debian Untested (x86)
Is there any way to install all packages available with apt-get?

Thanks!
 
Old 08-06-2006, 07:35 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
All of them? are you mad? thats over 18850 packages.

You could use "apt-cache dump | grep Package: | cut -c10-1000" to get a complete listing of all packages, with you could simply pipe into apt-get, but I still think your mad to try. Plus some of these packages might be incompatible so it might not even work.
 
Old 08-06-2006, 07:48 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
No. Some of the packages conflict with other packages, meaning that if you have one installed, you cannot also have the other installed. Also, the download would be *EXTREMELY* large.

Why do you want to do that? To get the "complete debian experience"? If so, it's much better to search for the functionality you want, play with a few packages that seem to provide what you need, and stick to your favorite.

Tools you may be interested in getting acquainted with:
  • synaptic
  • apt-get
  • apt-cache
  • apt-file
  • apt-listbugs
  • apt-listchanges
  • vrms
  • deborphan (and orphaner, and editkeep)
  • apt-show-versions
  • fortunes-debian-hints
  • popularity-contest

If you're looking to "enhance your desktop experince", you may want to have a look at these packages (from my xsession): conky, unclutter, xfce4-iconbox, brightside, xplanet, khotkeys. Also, xset, xrdb and xprop are boring but useful (maybe).
 
Old 08-07-2006, 09:42 AM   #4
thinkpadx30
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I switched to Debian from Fedora Core, when they released FC5. I was wondering if there is someway to install all pakages that will work with the computer that I don't already have. What if i download the 6 CDs for the non-network install?

thanks!
 
Old 08-07-2006, 09:48 AM   #5
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Rep: Reputation: 30
Grab the double DVD version
 
Old 08-07-2006, 10:01 AM   #6
thinkpadx30
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
i dont have a dvd burner!

when i use apt-get like leonscape suggested,
Code:
apt-cache dump | grep Package: | cut -c10-1000
i get
Code:
bash: /usr/bin/apt-get: Argument list too long
 
Old 08-07-2006, 11:46 AM   #7
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
How about this:
Code:
# apt-cache search '' | awk '{print $1}' #gives you a list of packages
# apt-cache search '' | awk '{print $1}' | xargs --delimiter=$'\n' apt-get install
It will invoke apt-get for each package.

However, it's still a bad idea, and you shouldn't do it. Also, as package conflicts start to appear, you'll remove some previously installed packages. True to the spirit of unix, I show you how to use the power tools; the decision whether or not to shoot yourself in the foot I leave up to you.

Advice: don't do it. Of course, you may be disinclined to take my advice at face value, so first learn how to use `apt-get remove --purge' :P
 
Old 08-27-2006, 07:02 AM   #8
TReichert
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
controlling apt-get via dselect

Start dselect
Define Access and Update as usual.
Choose Select
Mark All packages
Press +
After that dselect presents you a list of conflicting packages with it's suggestions to resolve
Press U to accept this suggestions
Press Q to get back to dselect's main menu
Choose Install

Although this is not using apt-get directly, I posted this, to give a simple solution for users, who might use an interactive program.

Regards
 
  


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 configure apt-get to install suggested packages? davidas Debian 20 02-25-2013 01:59 AM
APT problem - Cannot install packages... Astral Projection Debian 3 04-22-2006 01:01 AM
apt is confused, trying to install packages that are already installed tomj88 Debian 10 09-11-2005 07:33 PM
using apt to install recommended packages? MaTrIx709 Linux - Software 2 08-12-2005 02:04 AM
Do you install packages manually in addition/instead of apt-get? R00ts Debian 5 07-11-2004 03:31 AM


All times are GMT -5. The time now is 10:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration