GitHub Desktop Ubuntu

How to install GitHub Desktop on Ubuntu Linux

by Manikandan · July 24, 2021

GitHub Desktop is a free open source GitHub.com app. It is Electron based and written in TypeScript and uses React. There is no official Linux installer from GitHub and it only provides Windows and MacOS installers. But you can install GitHub Desktop on various Linux distributions from GitHub Desktop fork shiftkey/desktop. In this this article we will see how to install GitHub Desktop on Ubuntu Linux

Install GitHub Desktop on Ubuntu

Open the terminal command-line application [ctrl+alt+t] and run below commands one by one. It will install the latest version of GitHub Desktop on your system.

wget -qO - //packagecloud.io/shiftkey/desktop/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/nullsudo sh -c 'echo "deb [arch=amd64] //packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list'sudo apt-get updatesudo apt install github-desktopgithub-desktop

Install GitHub Desktop via DEB:

Download GitHub Desktop

You can also install GitHub Desktop via the native deb package file on Ubuntu. Download GitHub Desktop in .deb file format from the above download page and save it on your Downloads folder. Here the downloaded file name is GitHubDesktop-linux-2.9.0-linux4.deb. You can change below commands based on your downloaded file name. Open the terminal run below commands one by one.

cd Downloadssudo dpkg -i GitHubDesktop-linux-2.9.0-linux4.debsudo apt install -f

[OR]

sudo apt install ./Downloads/GitHubDesktop-linux*.deb

Install GitHub Desktop via AppImage:

It is also available via the portable AppImage file format. Download GitHub Desktop in .AppImage file format from the below download link and save it on your Downloads folder.

Also Read: AppImagePool AppImageHub Client for Linux

Download GitHub Desktop

Open the terminal app and run below command one by one.

cd Downloadssudo chmod +x ~ GitHubDesktop-linux-2.9.0-linux4.AppImage

Here GitHubDesktop-linux-2.9.0-linux4.AppImage is the downloaded file name . you can change below commands based on your file name.

./GitHubDesktop-linux-2.9.0-linux4.AppImage

Install GitHub Desktop via Flatpak:

Install flatpak and flathub on your system and restart it. After that open terminal app and run below GitHub Desktop flatpak installation command.

flatpak install flathub io.github.shiftey.Desktop

You can oprn GitHub Desktop via

flatpak run io.github.shiftey.Desktop

Thats it.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on Twitter and Facebook.



Install GitHub Desktop on Ubuntu 20.04 or Ubuntu-based distributions

Vishnu Damwala
Nov 17, 2020 2 min read

A GitHub Desktop is an open-source, cross-platform Git application. A repository for source code is available on GitHub.

While writing this article, it is official supported on Windows, and Mac platforms. One of the developers[ Brendan Forster ] at GitHub has made it for Linux and source code repository actively updated.

To download the Linux installer file we need to head over to the release section. Here release files for all versions are available.

While writing this article, the latest release version is 2.5.7 Linux RC1 and supported formats are AppImage, deb and rpm.

In this article, we will see how to install this open-source Git application in Ubuntu or Ubuntu-based distributions. Follow the same steps to install into other Ubuntu-based distros.

Running GitHub Desktop with AppImage

Head over to GitHub Desktop Release page to download an AppImage file, provided via direct link.

Next, we need to provide executable permission to this downloaded AppImage file. To provide permission, execute sudo chmod u+x fileName.AppImage command, replacing fileName with an actual file name with extension.

To run, just double click on the AppImage file.

Installing GitHub Desktop with deb using dpkg command

Head over to GitHub Desktop Release page to download deb format file, provided via direct link.

Open your terminal [Ctrl + Alt + T], head over to your directory where your installer has been saved and run the below commands with sudo privileges.

sudo dpkg -i fileName.deb

Note: Replace fileName.deb with actual file name with deb extension.

Fix dependency errors and broken packages

sudo apt update && sudo apt install -f

The command sudo apt update will update package lists. And the command sudo apt install -f will fix dependencies and broken packages if any.

Reinstall with dpkg command

sudo dpkg -i fileName.deb

Run application

Once the installation is done, we can now run Github desktop from application launcher.

Hope you like this!

Keep helping and happy coding

HowTo Install Linux Unix Commands

A web geek, an industry experienced web developer & tutor/instructor residing in India

Next
Delete a local Git branch using terminal
Previous
Install OBS Studio on Ubuntu 20.04 or Ubuntu-based distributions

Related

  • Install XAMPP on Ubuntu
  • Install Hugo on Ubuntu 20.04 or Ubuntu-based distributions
  • Install OBS Studio on Ubuntu 20.04 or Ubuntu-based distributions
  • Install OpenShot on Ubuntu 20.04 or Ubuntu-based distributions
  • Install GhostWriter on Ubuntu 20.04 or Ubuntu-based distributions

Video liên quan

Chủ Đề