Installing GitKraken on Linux
Tags: git, linux, tutorial
Published: 2020-08-03 19:50:45

![GitKraken](https://dev-to-uploads.s3.amazonaws.com/i/y7qpxyyuapyp8dn0xhqp.png)
[GitKraken](https://gitkraken.com) is a GUI client for Git, developed by [Axosoft](https://axosoft.com), that supports [GitHub](https://github.com), [GitLab](https://gitlab.com), [Bitbucket](https://bitbucket.com) and [Azure DevOps](https://dev.azure.com). When you [create a new account](https://www.gitkraken.com/invite/kwf1vC7b) you will also get access to useful tools like [GitKraken Boards](https://www.gitkraken.com/boards) and [GitKraken Timelines](https://www.gitkraken.com/timelines). It also has integration with [Trello]().

If you're on Linux, go to [gitkraken.com/download](https://gitkraken.com/download) and get the right package for your distribution. GitKraken is also available as a [Snap](https://snapcraft.io) (maintained by Axosoft) or [Flatpak](https://flatpak.org) package. In Arch Linux and derivatives you can install it from [AUR](https://aur.archlinux.org/) using yay or any other AUR helper.

## Installation
### DEB package
For Debian, Ubuntu and derivatives you can download a DEB package:

```bash
$ wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
```

and install it running one of the following commands:

```bash
$ sudo dpkg -i gitkraken-amd64.deb
$ sudo apt install -f #Fix broken dependencies
```

```bash
$ sudo apt install ./gitkraken-amd64.deb -y
```

### RPM package
If you're a RHEL, CentOS or Fedora user, download an RPM package:

```bash
$ wget https://release.gitkraken.com/linux/gitkraken-amd64.rpm
```

and install it running one of the following commands:


```bash
$ sudo rpm –i gitkraken-amd64.rpm
```

Note: if you try to install the package by running `rpm`, it will show the following error:

```bash
error: Failed dependencies:
        libXScrnSaver is needed by gitkraken-7.1.0-1.x86_64
```

In that case, you have to install the `libXScrnSaver` package before. You can install this dependency with `yum` or `dnf`. After that, run `rpm` as usual.

You can also install GitKraken with `yum` or `dnf`.

```bash
$ sudo yum localinstall gitkraken-amd64.rpm
```

```bash
$ sudo dnf localinstall gitkraken-amd64.rpm
```

### Tarball
Download the tarball:

```bash
$ wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
```

Extract it to /opt:

```bash
$ sudo tar -xvzf gitkraken-amd64.tar.gz -C /opt
```

Create a symbolic link at /usr/local/bin:

```bash
$ sudo ln -s /opt/gitkraken/gitkraken /usr/local/bin/gitkraken
```

### Snap
Snap comes preinstalled on Ubuntu, Zorin OS and Solus. For other distributions you can follow the instructions in the [documentation](https://snapcraft.io/docs/installing-snapd).

Run the following command for installing GitKraken:

```bash
$ sudo snap install gitkraken --classic
```

### Flatpak
Install and configure Flatpak following the instructions on the [setup](https://flatpak.org/setup/) page.

Install GitKraken running the following command:

```bash
$ flatpak install flathub com.axosoft.GitKraken
```

### AUR
If you use Arch Linux or a derivative like Manjaro or EndeavourOS, you may install GitKraken from AUR using yay or any other AUR helper.

In some Arch based distributions, yay comes preinstalled but if it's not available, you can follow the [tutorial](https://dev.to/mattdark/installing-yay-on-arch-linux-1kgm) I published last year.

For installing GitKraken just run:

```bash
$ yay -S gitkraken
```

It will ask you to choose from one of two packages available:

```bash
:: There are 2 providers available for gitkraken::: Repository AUR
    1) gitkraken 2) gitkraken-standalone 

Enter a number (default=1): 
```

Choose the default option and press Enter to continue with the installation.

### Software Center
You can install GitKraken from the Software Center of the following Linux distributions:

* Ubuntu
* Zorin OS
* Solus
* Linux Mint
* Nitrux

They use Snap or Flatpak depending on the default configuration. So you can install GitKraken directly from the Software Center of those distributions.

## Runing GitKraken
Depending on the way that you installed GitKraken, it will be available from the menu of the Desktop you're using or you can run it by typing `gitkraken` on the terminal. You can also create a desktop shortcut.

## Troubleshooting

Some known issues related to the installation are documented on the [Support](https://support.gitkraken.com) page. Go to the [Known Issues on Linux](https://support.gitkraken.com/how-to-install/#known-issues-on-linux) section and check there for any problem installing GitKraken.