1.3. Installing Git

Git is a version control system, used to interact with code repositories.

The LOCKSS Installer is available from GitHub, and you will need a Git client to download it.

Your operating system may already be equipped with a Git client. Type:

git --version

If the output is a version number, for example:

git version 2.21.0

then Git is already installed and you do not need to take any further action.

Otherwise, Git can be installed from your operating system’s software repositories.

1.3.1. Git on Arch Linux

Use Pacman to install Git on Arch Linux:

sudo pacman -S git

1.3.2. Git on CentOS

Caution

CentOS 7 is required.

Use Yum to install Git on CentOS:

sudo yum install git

1.3.3. Git on Debian

Caution

Debian 9 (Stretch) is required.

Use Apt to install Git on Debian:

sudo apt-get install git

1.3.4. Git on Fedora

Caution

Fedora 28 or better is required.

Use Dnf to install Git on Fedora:

sudo dnf install git

1.3.5. Git on Oracle Linux

Caution

Oracle Linux 7 is required.

Use Yum to install Git on Oracle Linux:

sudo yum install git

1.3.6. Git on Ubuntu

Caution

Ubuntu 16.04 LTS (Xenial) or better is required.

Use Apt to install Git on Ubuntu:

sudo apt-get install git