How to install software from source on Linux
Answered
50
I need to install a program that is not available in the package manager. How do I compile from source?
H
Asked by
hassan_ops
Bronze
•
565 rep
1 Answer
12
# Install build dependencies
sudo apt install build-essential
# Download and extract source
wget https://example.com/software.tar.gz
tar -xzvf software.tar.gz
cd software
# Standard build process
./configure
make
sudo make install
# Or with cmake
mkdir build && cd build
cmake ..
make
sudo make install
L
Bronze
•
311 rep
Your Answer
You need to be logged in to answer questions.
Log In to Answer