I have recently learnt how to install programs from the terminal and would like to know the meaning of a few commands that I use to install. For example, I downloaded python 3.2 from source and extract and try to install it but failed. I saw in the explanation in other sites that I must use ./configure
and make
and make altinstall
.
When I do that, it installs the software but not the suggested packages. Why is that? And what's the meaning of ./configure
and make
and make altinstall
? And why do all manually installed software be installed only by this or not at all?
Best Answer
Why doesn't it install suggested packages? / Why do all installed packages have to be done by these commands only or not at all?
The commands you are using is to install the downloaded package alone, when the downloaded package is actually a binary source package. That installs just the downloaded package alone. In order to install
.deb
packages you can use dpkg and even better why not use trusted packages from Ubuntu sources to download packages? You can use the apt-get command for that.What's the meaning of
./configure
,make
andmake install
?You can get a full understanding of what these commands are and what they do from this link and this link, but here is a short excerpt from one of them summarizing the commands: