How to create a (.deb) from source (Ubuntu)
Let's first install these packages needed for the compilation of source:
root@penreturns:~$ sudo apt-get install checkinstall autotools-dev build-essential
Now download your source and extract it to any folder of your choice, then open the terminal and cd to this folder:
root@penreturns:~$ cd source-directoryRun now these commands to compile and create the .deb package:
root@penreturns:~$ ./configureYou will be prompted to enter some details for your .deb package. At the end, the Debian package will be created in your source directory.
root@penreturns:~$ make
root@penreturns:~$ sudo checkinstall
That's it! Enjoy!
*copy code without root@penreturns:~$
Reply to this post
Post a Comment