how to get apt-get to install from source

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


Hello.

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.

Cheers,
-- Shot, who plans to try to build his first backport .debs soon. :o)
-- 
                         My karma ran over your dogma.
====================== http://shot.pl/hovercraft/ === http://shot.pl/1/125/ ===
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050714/58eab8ba/attachment.sig>


More information about the ubuntu-users mailing list