top ad article

On this tutorial, we are going to look at how to install Github Desktop on Pop!_OS 20.04|20.10|21.04. GitHub Desktop is an app that aids you to interact with GitHub using a Graphical User Interface(GUI) instead of the terminal or a web browser. From here, you can be able to access Git and Github best practices with Github Desktop. It also enables you to complete the Git commands from your desktop. While using Github Desktop, you are able to push to, pull from, and clone remote repositories, furthermore, even use collaborative tools. In brief Github Desktop is an application that works like (mimics) the Github website.

Install Github Desktop on Pop!_OS

With the brief introduction above about Github Desktop, we can now proceed to see how you can install Github Desktop on Pop!_OS. With the guide below, we will try and do the installation in the simplest and easy to follow procedure, just like as shown below;

Step 1. Update your System

To update your system, use the command;

sudo apt update

Step 2. Download Github Desktop File to your system

To download, the latest Github desktop release, visit the site and check the latest release, the one that appears at the top, tap on it to open, then scroll down to assets and copy the link address of .deb package for Debian based distros, .rpm for Red Hat Linux and .appImage supports all major distributions. For our case, we will download the .deb package

wget https://github.com/shiftkey/desktop/releases/download/release-2.9.0-linux2/GitHubDesktop-linux-2.9.0-linux2.deb

A section of the output is as shown;

Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.110.154, 185.199.111.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 70700916 (67M) [application/octet-stream]
Saving to: ‘GitHubDesktop-linux-2.9.0-linux2.deb’

GitHubDesktop-linux 100%[===================>]  67.42M  1.93MB/s    in 42s

2021-07-06 14:43:00 (1.62 MB/s) - ‘GitHubDesktop-linux-2.9.0-linux2.deb’ saved [70700916/70700916]

Step 3. Install Github Desktop on Pop!_OS 20.04|20.10|21.04

To install Github Desktop on Pop!_OS, we will use two methods, APT and gdebi. To install Github Desktop and all its dependencies using APT, this is how you proceed;

sudo apt install ./GitHubDesktop-linux-2.9.0-linux2.deb

The output;

[email protected]:~$ sudo apt install ./GitHubDesktop-linux-2.9.0-linux2.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'github-desktop' instead of './GitHubDesktop-linux-2.9.0-linux2.deb'
Suggested packages:
  gir1.2-gnomekeyring-1.0 libgnome-keyring0
The following NEW packages will be installed:
  github-desktop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/70.7 MB of archives.
After this operation, 250 MB of additional disk space will be used.
Get:1 /home/daylifetips/GitHubDesktop-linux-2.9.0-linux2.deb github-desktop amd64 2.9.0-linux2 [70.7 MB]
Selecting previously unselected package github-desktop.
(Reading database ... 266581 files and directories currently installed.)
Preparing to unpack .../GitHubDesktop-linux-2.9.0-linux2.deb ...
Unpacking github-desktop (2.9.0-linux2) ...
Setting up github-desktop (2.9.0-linux2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

Using gdebi, first you need to install gdebi by using the command shown below;

sudo apt install gdebi-core

Use gdebi to install Github Desktop and its dependencies as follows;

  • If the downloaded Github Desktop is in the home directory, use;
sudo gdebi GitHubDesktop-linux-2.9.0-linux2.deb
  • If it is in the downloads section, use;
sudo gdebi /home/your_username/downloads/GitHubDesktop-linux-2.9.0-linux2.deb

For example; sudo gdebi /home/daylifetips/downloads/GitHubDesktop-linux-2.9.0-linux2.deb

Now that the installation has been done well, you can proceed to launch the application.

Step 4. Launch Github Desktop on Pop!_OS

Since you have managed to install Github Desktop on Pop!_OS successfully, you can now proceed to launch Github Desktop, from the command line, type the following;

github desktop

This will launch the application;

Other Posts;

Previous articleHow to Install AnyDesk on Pop!_OS 20.04|20.10|21.04
Next articleHow to Install Deepin Linux 20.x on VMware Workstation Easily
Valentine is eager to learn new things, technology and life issues. She is curious enough to write about them. And, she uses her platform to educate others regarding the many sectors in life and most importantly technology.

LEAVE A REPLY

Please enter your comment!
Please enter your name here