how to get apt-get to install from source

Shot - Piotr Szotkowski shot at
Thu Jul 14 12:16:50 UTC 2005


Peter Lieverdink:

> On Thu, 2005-07-14 at 12:41 +0200, Oliver Grawert wrote:

>> sudo apt-get build-dep <package>  # gets all build dependencys...
>> apt-get source -b <package>	  # gets the source and builds it
>> sudo dpkg -i <package>.deb	  # installs your built package

> Also note that this would be completely pointless if you didn't
> customise the ./configure call in the build scripts first. You'd
> just end up with a package identical to the precompiled one.

...unless <package> actually comes from different distribution, like
ruby1.8/breezy, and you want to compile it with, say, Hoary's libc6.

-- Shot, who plans to try to build his first backport .debs soon. :o)
                         My karma ran over your dogma.
====================== === ===
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list