loading...

Installing GitKraken on Linux

mattdark profile image Mario García ・3 min read

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

and install it running one of the following commands:

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

RPM package

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

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

and install it running one of the following commands:

$ sudo rpm –i gitkraken-amd64.rpm

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

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
$ sudo dnf localinstall gitkraken-amd64.rpm

Tarball

Download the tarball:

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

Extract it to /opt:

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

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

$ 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.

Run the following command for installing GitKraken:

$ sudo snap install gitkraken --classic

Flatpak

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

Install GitKraken running the following command:

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

For installing GitKraken just run:

$ yay -S gitkraken

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): 

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.

Posted on by:

mattdark profile

Mario García

@mattdark

FOSS Enthusiast | Speaker | Mozillian | Python & Rust Developer | GitLab Hero | GitKraken Ambassador

Discussion

markdown guide
 

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

 

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

 

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

 

Does the deb package include the repository details for updates?

 

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