Revision of Compiling software from source code from Mon, 07/01/2013 - 16:05

The revisions let you track differences between multiple versions of a post.

The most common method is the set of commands

./configure
make
make install

Go to the folder where the software source code is using terminal

1. cd /path/to/your/software

then
2. ./configure
or
2.1. ./configure --prefix=/opt/software-name

Step 2.1 makes it easier to remove the software just by deleting the folder "/opt/software-name"

if there are errors then you need to download required packages from repositories mostly they are like "packagename-dev" then repeat step 2.

If you get no errors you could run

3. make

this will compile the source code

you may now run

4. sudo su

this will make you the root user and you'll still be in the same directory

The last step is
5. make install

Revisions

07/01/2013 - 16:05
Sachin
07/12/2013 - 20:10
lembas
08/13/2013 - 17:55
lloydsmart
08/10/2024 - 20:42
knife