Posts Tagged ‘How To Build Debian Packages’
Build Debian Packages From Source
Debian and Debian-based systems like Ubuntu uses Advanced Package Tool, or APT in short, for installing, updating, upgrading and removing software from command line. Usually, the APT package manager stores the list of repositories in the file named /etc/apt/sources.list and in any file with the suffix .list under the directory /etc/apt/sources.list.d/. When we install a package, apt command retrieves the binary or pre-compiled version of the given package from these repositories. In addition to installing binary packages, APT can also lets you to download the source code of a package. So you can then add some features in the source, build the package from the source code, and finally install the modified version of the package. This guide explains how to build debian packages from source on Debian, Ubuntu and other APT-based systems like Linux Mint.
Why should we build a package from source?
There could be many reasons to build a package from source. Here are a few reasons I could think of now:
- Inspect the source code to find a bug.
- Add new features in the packages that aren’t being actively developed any longer.
- Install the most recent version of a package from source. Generally, the packages in the official repositories might be bit old.
- And more importantly – learn to build Debian packages from source.
Build Debian Package From Source Tarball, Build Debian Package From Tarball, Build Debian Packages, Build-essential Package Debian Install, Debian Build Package Install, How To Build Debian Packages, Ubuntu Build Debian Source Package