DEV Community

Mario García
Mario García

Posted on

Installing GitKraken on Linux

GitKraken
GitKraken is a GUI client for Git, developed by Axosoft, that supports GitHub, GitLab, Bitbucket and Azure DevOps. When you create a new account you will also get access to useful tools like GitKraken Boards and GitKraken Timelines. It also has integration with Trello.

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

Installation

DEB package

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

$ wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
Enter fullscreen mode Exit fullscreen mode

and install it running one of the following commands:

$ sudo dpkg -i gitkraken-amd64.deb
$ sudo apt install -f #Fix broken dependencies
Enter fullscreen mode Exit fullscreen mode
$ sudo apt install ./gitkraken-amd64.deb -y
Enter fullscreen mode Exit fullscreen mode

RPM package

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

$ wget https://release.gitkraken.com/linux/gitkraken-amd64.rpm
Enter fullscreen mode Exit fullscreen mode

and install it running one of the following commands:

$ sudo rpm –i gitkraken-amd64.rpm
Enter fullscreen mode Exit fullscreen mode

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

error: Failed dependencies:
        libXScrnSaver is needed by gitkraken-7.1.0-1.x86_64
Enter fullscreen mode Exit fullscreen mode

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.

$ sudo yum localinstall gitkraken-amd64.rpm
Enter fullscreen mode Exit fullscreen mode
$ sudo dnf localinstall gitkraken-amd64.rpm
Enter fullscreen mode Exit fullscreen mode

Tarball

Download the tarball:

$ wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
Enter fullscreen mode Exit fullscreen mode

Extract it to /opt:

$ sudo tar -xvzf gitkraken-amd64.tar.gz -C /opt
Enter fullscreen mode Exit fullscreen mode

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

$ sudo ln -s /opt/gitkraken/gitkraken /usr/local/bin/gitkraken
Enter fullscreen mode Exit fullscreen mode

Snap

Snap comes preinstalled on Ubuntu, Zorin OS and Solus. For other distributions you can follow the instructions in the documentation.

Run the following command for installing GitKraken:

$ sudo snap install gitkraken --classic
Enter fullscreen mode Exit fullscreen mode

Flatpak

Install and configure Flatpak following the instructions on the setup page.

Install GitKraken running the following command:

$ flatpak install flathub com.axosoft.GitKraken
Enter fullscreen mode Exit fullscreen mode

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 I published last year.

For installing GitKraken just run:

$ yay -S gitkraken
Enter fullscreen mode Exit fullscreen mode

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

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

Enter a number (default=1): 
Enter fullscreen mode Exit fullscreen mode

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 page. Go to the Known Issues on Linux section and check there for any problem installing GitKraken.

Latest comments (5)

Collapse
 
rishabhdeepsingh profile image
RishabhDeep Singh

On ubuntu, you can install through the Ubuntu Software repo as well.

Collapse
 
mattdark profile image
Mario García

Yeah, thanks. I'm updating the blog post with this information. I know that GitKraken is installed through Snap on Ubuntu when you install it from the Software Center, right?

On Linux Mint is similar, you can install it from the Software Center through Flatpak

Collapse
 
pavelloz profile image
Paweł Kowalski

You can also just download the installer from official site: gitkraken.com/download :)

Collapse
 
emtes profile image
Enmanuel de la Nuez

Does the deb package include the repository details for updates?

Collapse
 
mattdark profile image
Mario García

As far as I know, you will have to download the deb package again when there's a new version available

But let me check and I will update the article if necessary