Introduction
This document describes the way to compile most software under Trisquel GNU/Linux.
To get the most common tools for compiling, you may want to install the meta-package build-essential. It contains the GNU compiler collection, GNU debugger, and other development libraries you may need for compiling. To do this, run:
sudo apt-get install build-essential
The most common method is the set of commands
./configure
make
make install
Using configure and make
This variation 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
make
This will compile the source code.
This will make you the root user and you'll still be in the same directory.
- The last step is
make install
Further Reading
This standardized way to build software is made possible by the GNU build system. https://en.wikipedia.org/wiki/GNU_build_system
Revisions
07/01/2013 - 17:05

07/12/2013 - 21:10

08/13/2013 - 18:55

08/10/2024 - 21:42

07/05/2026 - 19:36
