If you think Debian package management based is not challenging enough for beginner, maybe you should explore the manual deeper.
Apt command is easy, because it works with
Compared with gentoo’s emerge or arch’s yaourt,
there is no need for apt to compile for source.
But again, for curious newbie who wants to know
how compilation works in debian,
you can use
apt-get source command.
This post will cover the first article,
an automatic compilation and bundling of
intended for beginner.
It is actually as simple as issuing just this command.
For beginner, This post give screenshot for each steps.
The second one has lower level, unbundling the first process, the second article won’t covered here.
Compared with Arch’s pacman that is a unified command to do all package things,
Debian scattered the command into few different command.
These day some command has been unified into apt command.
So what you need to read is
Make sure that source repository
is enabled in your
by uncomment the
you can even uncomment deb in
/etc/apt/sources.list and leave you system with source only repository.
In this post, we still need deb binary repository to select upgradable package.
Do not forget to update the repository
when you are done editing
by issuing one of this command below
Compilation Directory Preparation
Make any directory as a working directory for your compilation process
Choose Package to Examine
Let’s choose our victim, see what package is upgradable by issuing this command
You can see in figure below, that apt package can be upgraded.
apt 1.2.13 upgradable to 1.2.14.
From now on we will use ‘apt’ package a our focus.
Check Package Version
Simply issue one of this command below
Let’s do it. This is going to takes time.
This above is the most important part of the process.
You can also unbundling this process into two steps.
Check your directoy, your apt-1.2.14 .deb package should already be there.
Install package using
You can check your
apt version now
After a few days, you will feels like compiling is not difficult.
Thank you for reading