debian "*.deb" vs. ubuntu "*.deb"

Danilo Piazzalunga danilopiazza at libero.it
Thu Jan 27 21:14:09 UTC 2005


Ben Edwards wrote:
> Debian .debs are OK, its the apt-get source you should avoid.

?????

If you download a binary .deb package built for Debian, it should (in theory)
work fine on Ubuntu but, if there is any incompatibility, there's a chance
that your program will crash (altough it shouldn't).

If you download the source package and then rebuild it, the resulting .deb
will run perfectly.

Usually these actions give you a working package:

1. Add "deb-src http://ftp.debian.org/debian unstable main" to your
sources.list.
2. $ apt-get source FOO
3. $ sudo apt-get build-dep FOO
4. $ (cd FOO-VERSION && dpkg-buildpackage -rfakeroot)
5. $ sudo dpkg -i FOO_VERSION_ARCH.deb

-- 
Danilo Piazzalunga                     +--------------------+
PGP Key available at subkeys.pgp.net   | Linux User #245762 |
Fingerprint: D018 815E 8C7F 2AE2 5565  | ICQ #105550412     |
             0C36 B5F6 DB20 B800 CB9F  +--------------------+





More information about the ubuntu-users mailing list