Github Desktop Linux Install

github-desktop-linux-install-1

Depending on the version of Linux you are using, you can install github desktop Linux by following the following commands.

GitHub Desktop is not officially available for Linux, but you can still use a similar Git GUI client on Linux. Here are the steps to install a Git GUI client on Linux:

Ubuntu/Debian( Linux Mint, Kali Linux, Pardus, Knoppix, Deepin, SteamOS, MX Linux, PureOS, Raspbian)

First install our GPG certificate:

$ wget -qO - https://mirror.mwt.me/ghd/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null

To setup the package repository, run one of these commands:

# if you want to use packagecloud.io
$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftkey-desktop.list'

# if you want to use the US mirror
$ sudo sh -c 'echo "deb [arch=amd64] https://mirror.mwt.me/ghd/deb/ any main" > /etc/apt/sources.list.d/packagecloud-shiftkey-desktop.list' > /dev/null

Then install GitHub Desktop:

$ sudo apt update && sudo apt install github-desktop > /dev/null

 

You can also install immediately with gui without dealing with codes.

Fedora/Redhat/Centos

First install our GPG certificate:

$ sudo rpm --import https://mirror.mwt.me/ghd/gpgkey 

To setup the package repository, run one of these commands:

# if you want to use packagecloud.io
$ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://packagecloud.io/shiftkey/desktop/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://mirror.mwt.me/ghd/gpgkey" > /etc/yum.repos.d/shiftkey-desktop.repo'

# if you want to use the US mirror
$ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://mirror.mwt.me/ghd/rpm\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://mirror.mwt.me/ghd/gpgkey" > /etc/yum.repos.d/shiftkey-desktop.repo'

Then install GitHub Desktop:

# if yum is your package manager
$ sudo yum install github-desktop

# if dnf is your package manager
$ sudo dnf install github-desktop

OpenSUSE

First install our GPG certificate:

$ sudo rpm --import https://mirror.mwt.me/ghd/gpgkey

To setup the package repository, run one of these commands:

# if you want to use packagecloud.io
$ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://packagecloud.io/shiftkey/desktop/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://mirror.mwt.me/ghd/gpgkey" > /etc/zypp/repos.d/shiftkey-desktop.repo'

# if you want to use the US mirror
$ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://mirror.mwt.me/ghd/rpm\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://mirror.mwt.me/ghd/gpgkey" > /etc/zypp/repos.d/shiftkey-desktop.repo'

Then install GitHub Desktop:


# if zypper is your package manager
$ sudo zypper ref && sudo zypper in github-desktop

Arch Linux

Arch Linux users can install GitHub Desktop from the AUR.

gnome-keyring is required and the daemon must be launched either at login or when the X server is started. Normally this is handled by a display manager, but in other cases following the instructions found on the Arch Wiki will fix the issue of not being able to save login credentials.

GitHub Desktop is also available cross-platform as a Flatpak and AppImage.

You can also install immediately with gui without dealing with codes.

How useful was this post?

Click on a star to rate it!

Average rating 2 / 5. Vote count: 10

No votes so far! Be the first to rate this post.