Installing pre-compiled binaries

This guide which teach you how to install custom software which has already been compiled into binary (i.e. an executable) form. It assumes you can run commands via SSH. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).

You should also consider reading the general information on installing custom software as background to this, though you might find it isn't necessary to install your desired piece of software.

Table of contents


The first thing to do is to create the ~/bin directory and reload the relevant files for the PATH setting to take effect using this command:

mkdir -p ~/bin && bash

If the directory already exists you will not delete its contents by recreating it using the command above, so there's no need to worry about that.

Getting the binary

The most obvious thing you need to then do is actually get the software on your slot in a usable form. In the example below we're downloading a binary which is packaged as a tar archive. This is fairly common, but you might need to tweak things if you get errors.

wget -qO ~/software.tar.xz
tar xf ~/software.tar.xz  --strip-components=1 -C ~/

The first command gets the .tar.xz archive on to your slot. The second will extract it and move the resulting directory's contents to home level (~/). At this point the binary should be usable - you'll need to refer to its documentation for usage information.