DEV Community

Danyson
Danyson

Posted on • Updated on

How to install Github Desktop for Ubuntu & Debian?

Step 1 :

Use the wget command followed by the URL of .deb file of GitHub desktop from the shiftkey Github repo. Shifykey is maintained by Brendan Forster one of the staff member of Github.
Note : Github Desktop 2.9 link updated

sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.9.0-linux2/GitHubDesktop-linux-2.9.0-linux2.deb
Enter fullscreen mode Exit fullscreen mode

Step 2 :

Install gdebi using the following command which helps you to install local deb packages, resolving and installing its dependencies.

sudo apt-get install gdebi-core
Enter fullscreen mode Exit fullscreen mode

Step 3 :

After installing gdebi, using gdebi install the GitHubDesktop client using the following command.

sudo gdebi GitHubDesktop-linux-2.9.0-linux2.deb
Enter fullscreen mode Exit fullscreen mode

Alternate methods to install, after Step 1 :

You can also use the dpkg or apt commands.

Method 1:

sudo dpkg -i GitHubDesktop-linux-2.9.0-linux2.deb

sudo apt-get install -f
Enter fullscreen mode Exit fullscreen mode

Method 2:

sudo apt install ./GitHubDesktop-linux-2.9.0-linux2.deb
Enter fullscreen mode Exit fullscreen mode

Visit My Personal Blog @ danyson.github.io

Support Us on Buy Me a Coffee

Top comments (4)

Collapse
 
gitkat profile image
GitKat

Muchas Gracias :)

Collapse
 
danyson profile image
Danyson

😊

Collapse
 
shikamarunara21 profile image
ShikamaruNara21

Amazing work! Thanks for all!!!

Collapse
 
danyson profile image
Danyson

Welcome