how to get apt-get to install from source

Dennis Kaarsemaker dennis at kaarsemaker.net
Thu Jul 14 08:27:58 UTC 2005


On do, 2005-07-14 at 07:39 +0500, Mustafa Abbasi wrote:
> i was looking into apt-get and found it has the option download source
> code and then compile it also.

apt-get -b source $packagename

the deb source urls are the sane as the deb urls, except that they start
with deb-src. Example:

deb-src http://archive.ubuntu.com/ubuntu hoary main restricted universe
-- 
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050714/95268ba8/attachment.sig>


More information about the ubuntu-users mailing list