Create a .deb package from source files

On August 25, 2009, in create, deb, source, by Dipin Krishna

If your build from source is successful, you can make a Debian (Ubuntu) package (.deb) for future use: Install package tools: sudo apt-get install checkinstall Rebuild package using “checkinstall”: cd /path/to/extracted/package./configuresudo makesudo checkinstall Keep the resulting “.deb” file for future use. It can later be installed using: sudo dpkg -i packagename.deb Note: These are basic […]

 

Installing a package from source

On August 24, 2009, in install, package, source, by Dipin Krishna

Make sure you have all the necessary development tools (i.e. libraries, compilers, headers): sudo apt-get install build-essentialsudo apt-get install linux-headers-`uname -r` Note: “uname -r” lists the current kernel you are using Extract the archive that contains the source files: tar xvf sourcefilesarchive.tar.gz Build the package using the package’s script (in this case the configure script), […]

 

Search