How to compile the apt package as I am installing the distribution from scratch ? * My ditribution is debian based

May 15, 2017 320 views
Linux Basics Debian

I need to know the commands required for compiling as
tar xvf packagename.tar.xz
./configure or ccmake.
make
make install
& thank you for your concern

1 Answer

Hi @alaametwally48

There's a tutorial on how to compile packages - the example is curl, but in general can be used for any package, but some packages are more demanding than others, so you need to read the compile/installation readme of each source first:
https://www.digitalocean.com/community/tutorials/how-to-compile-and-install-packages-from-source-using-make-on-a-vps

by Mathias Jensen
Here we'll run through how to compile and install packages from source using "make" on a VPS.
Have another answer? Share your knowledge.