Linux: Compiling and Installing Source Code from the Terminal

From BS Wiki
Revision as of 16:51, 27 May 2021 by Bs (talk | contribs)
Jump to navigation Jump to search

Ubuntu (Hirsute)

  1. Ensure the automake, autoconf packages are installed
    sudo apt-get install automake autoconf
  2. Acquire the source code, and untar it if need be. See Linux: Acquiring Source Code
  3. Ensure the root directory and its subdirectories and files have the access permissions set correctly. i.e. not read-only.
  4. Enter the command below from the sources root directory, breaking up the three individual commands if needed.
    sudo ./configure && make && make install

Mint 20.1 Cinnamon

  1. Install the base compiler toolchain
    sudo apt-get install build-essential devscripts