Installing software from source is useful when a package is unavailable, you need a newer version, or you are testing a specific build. For normal systems, prefer your distribution’s package manager when possible because it handles updates, dependencies, and removal more cleanly.
Typical workflow
- Install the compiler and required development libraries.
- Download the source from the project’s official release page.
- Verify checksums or signatures when the project provides them.
- Read the project’s README or INSTALL file before building.
Autotools example
tar -xf project.tar.xz cd project ./configure make sudo make install
Not every project uses Autotools. Modern projects may use CMake, Meson, Cargo, Go, Python build tools, or another build system, so always follow the project’s own documentation.
Keep source installs manageable
A manual make install can place files outside the package manager’s database. Consider installing under /usr/local, using a staging directory, building a native package, or using containers or isolated environments when appropriate.