PDA

View Full Version : [ubuntu] Tar.bz2 to Deb



LunaticHiatus
March 11th, 2010, 09:19 PM
This is just something generally handy to know and I have no idea how to do it.

marshmallow1304
March 11th, 2010, 09:40 PM
tar.bz2 is just a compressed archive. Assuming it's source code, the general procedure would be to extract the archive, enter the new directory in the terminal, then


./configure
make
sudo checkinstall -D --install=no
(If you want to also install the deb, leave off "--install=no". The "-D" is not necessary on a Debian-based system, but it won't hurt anything.)

checkinstall will run through a prompt. The answers don't really matter all that much unless you plan to distribute the deb.


For this to work, you'll need build-essential and checkinstall installed if they aren't already.

sudo apt-get install build-essential checkinstall


Edit: If you wanted to use a more official method, see this guide (https://wiki.ubuntu.com/PackagingGuide).