LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-11-2007, 06:46 AM   #1
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Having sources on the system


I'd like to have all the sources to everything I currently have installed .. available through /usr/src/<section>/<program_name>/ or whatever. Is there an easy way to achieve this? And to make sure that each binary update also triggers a source update.
 
Old 01-11-2007, 11:55 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
I don't know that source packages exist for every package. I'm not saying they don't, but your question interested me, so I did some quick browsing at http://ftp.debian.org/debian/dists/sid/main/

It seems like there are far fewer packages in source than there are in main. Just as an example, The list of packages in http://ftp.debian.org/debian/dists/s...n/binary-i386/ is a 5.7 Mb .gz, and a 4.3 Mb .bz2. Yet the corresponding list of source files in http://ftp.debian.org/debian/dists/sid/main/source/ is a 1.7 Mb .gz and a 1.2 Mb .bz2. Without downloading those files and expanding them, it seems intuitive that a 5.7 Mb file has many things in it that a 1.7 Mb file wouldn't have.

I did download source files under sid in the past to get my wireless working on my laptop, prior to when they added it into the kernel around 2.6.16. I issued the command apt-get install ipw2200-source ieee80211-source, and it downloaded those source.bz2 files to /usr/src. I then extracted, compiled, and inserted them as modules.

Again, I can't say with any authority that your plan won't work. This is linux, and the source is always supposed to be available on request. As Debian is huge on sticking to the rules, I'm sure there is some way you could get the sources for everything. That seems to be more of a linux from scratch approach, but a very valid one. Maybe somebody with far more knowledge of apt-get can point you in a better direction.

Peace,
JimBass
 
  


Reply



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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
System programming sources nifund9 Programming 2 08-16-2006 09:32 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
SOurces askia4life Linux - Newbie 7 04-02-2004 06:08 PM
Software Sources Manager, how to add installation cd sources after deletion Lakota Mandriva 1 10-23-2003 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:52 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
Open Source Consulting | Domain Registration