How to install GitHub Desktop App on Linux Ubuntu. In this post, we will see how to download and use GitHub on Ubuntu Linux Systems.
GitHub is a web-based platform for version control and collaboration, built on Git, that allows developers to store, manage, and track changes in their code, making it easier to work together on projects, review code, and manage tasks. It provides a central place (repositories) for code, enabling features like issue tracking, project management, and streamlined code merging for teams of any size
In simple words, GitHub is a web-based platform for hosting and collaborating on Git repositories. It combines version control (via Git) with social and project-management features to help individuals and teams work on code together.
NOTE: Git is the underlying version-control system; GitHub is the online service that makes working with Git more collaborative and organized.
Install GitHub Desktop on Ubuntu Linux
Before you begin, must upgrade to the latest package version using the following command:
sudo apt update && sudo apt upgrade
Now for the next step download the official GitHub Desktop .deb package from the official package is hosted on GitHub. You can download the latest release from the GitHub Desktop releases page – “https://github.com/shiftkey/desktop/releases”. Note that you will have to look for a file that matches GitHubDesktop-linux-*.deb (e.g., GitHubDesktop-linux-2.9.0-linux-amd64.deb).
Simple in the terminal, run “wget https://github.com/shiftkey/desktop/releases/download/release-/GitHubDesktop-linux–amd64.deb” Note to replace with the actual version string you saw on the page. You can also manually download the file from your browser and then install it from there. (see exact commands below).
Simple, run the following commands one after another:
get -qO - https://mirror.mwt.me/shiftkey-desktop/gpgkey | gpg --dearmor | sudo tee /etc/apt/keyrings/mwt-desktop.gpg > /dev/null
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/mwt-desktop.gpg] https://mirror.mwt.me/shiftkey-desktop/deb/ any main" > /etc/apt/sources.list.d/mwt-desktop.list'
sudo apt update
sudo apt install github-desktop
After installation, you should see GitHub Desktop in your application launcher. Simply launch and sign in. You can start GitHub Desktop from the application menu or run “.github-desktop (or simply search “GitHub Desktop” in your app launcher)”. Now sign in with your GitHub account.
Note that you will have to verify installation. For the first time you will have to:
Sign In: Click “Sign in to GitHub.com.” Log in as usual. Then click the “Authorize Desktop” button and hence click “Allow” or “Open Link.”
When a new GitHub Desktop release is available, download the new .deb and reinstall, or use your package manager to upgrade if you kept the repository updated (the official package uses GitHub’s release channel).
