Skip to main content

Generic Software Installation

This guide is provided for your convenience. The guide is provided as-is and may not be updated or maintained by Ultra.cc. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff. Use at your own risk and only proceed if you are comfortable troubleshooting on your own.

Compiling from source

Note: You will need to check the software's documentation on its website or in the README/INSTALL files in the source archive for any specific instructions and required dependencies.

These are generic instructions that, when edited, work for many software packages distributed as source code.

Download the source

wget https://www.example.com/software-1.11.tar.gz Extract the source. Most sources will be *.gz, but tar can also extract *.bz2 and *.xz

tar xvf software-1.11.tar.gz Enter the source directory

cd software-1.11 Configure the installation. The most basic command is shown, but you may add any options you found in the documentation.

./configure --prefix=$HOME Install the software

make install Add the ~/bin directory to your path. This will allow programs installed to $HOME to work without needing to type a full path.

echo "PATH=$HOME/bin:$PATH" >> ~/.bashrc && source ~/.bashrc (Optional) Clean up the setup files

cd .. rm software-1.11.tar.gz rm -r software-1.11

Any package can be built pretty much with that:

  1. wget https://urls.to/linux/tool.tar.gz
  2. tar xf tool.tar.gz
  3. cd tool
  4. ./configure --prefix="$HOME/bin" && make
  5. make install
  6. Add PATH=$HOME/.local/bin:$PATH to their .profile