LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-02-2006, 03:59 PM   #1
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
apt-get source question


As I understand it if i issue: apt-get source mozilla-firefox. Apt will download the source package for mozilla-firefox and not the binary, correct? If I issue apt-get source mozilla-firefox --compile. Apt will download the source package for mozilla-firefox and compile it.

My question is if I use the apt-get source option will that fulfil dependences for me? Or will this simply just download the source package and I will manually have to osrt out dependences my self.

My second question is about the actual compilation of the source. Is this an automated process or will I manually have to do the ./configure, make, make install or checkinstall? And will the source be created and installed as a debian package.

Secondly if I download the source package for something I already have installed and I tell apt to compile it, will it replace the current version of that package I have isntalled and will apt-get remove pkg remove the application?

Thanks in advance

Michael
 
Old 05-02-2006, 06:15 PM   #2
herd
LQ Newbie
 
Registered: Apr 2006
Distribution: Debian unstable / ubuntu
Posts: 18

Rep: Reputation: 0
Following the unix philosophy, a command only does what its told

use apt-get source to get the naked or patched sources
use apt-get build-dep to get the dependencies.
 
  


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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 07:32 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
/etc/apt/source list help salahuddin_66 Debian 5 03-07-2005 07:05 AM
what is the best source to put on apt-get source list j.vilon Debian 3 09-28-2004 08:49 PM
Apt-Get source problem tmbowie16 Linux - Software 1 04-29-2003 04:17 PM

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

All times are GMT -5. The time now is 05:29 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