Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Setting up on Linux

Henry Royce Institute for advanced materials
University of Manchester

bash

Depending on your Linux distribution, bash might be your default shell. You can start an interactive bash session by typing bash into your terminal, or by using the chsh command in terminal to temporarily change your default shell.

Determine your default shell

In a terminal, use the following command to determine your shell

echo "$SHELL"

If bash is your default shell, then the output should look something like

/bin/bash

(Optional) Change your default shell to bash

If bash is not your default shell then you will need to determine the location of the bash executable by typing the following command into your terminal

which bash

This will return the location of the bash executable.

Copy the location of the bash executable.

Type the following into your terminal, you might be prompted to provide your password

chsh -s <location of bash exeutable>

git

In most cases, git comes installed by default on many Linux distributions.

Check if git is installed by opening up a terminal window and typing in

git

or

git -v

(Optional) Install git

The git-scm website is a great resource for instructions on how to install git on many Linux distributions, follow the instructions provided here https://git-scm.com/install/linux

Test the git installation

  1. Open a new Terminal window

  2. Type

    git

    or

    git -v
  3. The help menu or git version should be printed to the terminal if git is installed

  4. Press Enter

  5. Close the program or type

    exit

GitKraken

Depending on your Linux distribution and preferred method of installing software, the GitKraken documentation includes instructions on the many ways in which GitKraken can be installed on Linux.

Please see here for further information on how to install it on your distribution https://help.gitkraken.com/gitkraken-desktop/how-to-install/#linux-deb-rpm-tar-gz-snap