How to Install GitHub Desktop on Pop!_OS 22.04 LTS

The GitHub Desktop is a git application that is free to use. This application supports attributing commits with collaborators, checkout branches with pull requests, etc. With this tool, you’ll have an easier time working on your projects without depending on your browser.

In the following tutorial, you will learn to install the Github Desktop on Pop!_OS 22.04 LTS with the third-party package manager Flatpak and some tips for maintaining or removing Github in the future.

Update Pop!_OS

Before you begin, make sure your system is up-to-date to avoid any conflicts during the installation, and for good practice, use the terminal command as follows.

sudo apt update && sudo apt upgrade -y

Install GitHub Desktop – APT Method

The Pop!_OS team maintains the GitHub Desktop package in their proprietary repository. This is the easiest and, first and foremost best option for users to install on the distribution.

Run the following command to install Github Desktop.


sudo apt install github-desktop -y

Install GitHub Desktop – Flatpak Method

The second best option is to install the GitHub desktop using the Flatpak package manager, which is installed by default on Pop!_OS. This will ensure you also get updates in the future quickly and efficiently as you would checking for updates using the command terminal.

For users unfamiliar with Flatpak, it is another popular third-party option similar to Snap. Still, it is featured amongst many distributions as an alternative third-party installation package manager for the latest packages.

First, re-install Flatpak using the following command unless you have it installed already.

sudo apt install flatpak -y

Before you proceed, reboot your system, or else you will have issues such as application icons not appearing.


Next, you need to enable Flatpack using the following command in your terminal.

sudo flatpak remote-add --if-not-exists flathub

Now install Github using the following flatpak command:


flatpak install flathub io.github.shiftey.Desktop -y

How to Launch GitHub Desktop

Now that you have the Github Desktop installed, launching can be done in a few ways.

See also  How to Install Linux Kernel 6.0 on Pop!_OS 22.04 LTS

With your terminal opened, you can use the following command to launch immediately.

flatpak run io.github.shiftey.Desktop

However, this isn’t practical, and you would use the following path on your desktop.

Activities > Show Applications > Github Desktop


How to Install GitHub Desktop on Pop!_OS 22.04 LTS

Once open, you can log in to your account and begin using the desktop client for your Git purposes.



How to Install GitHub Desktop on Pop!_OS 22.04 LTS

How to Update/Upgrade Github Desktop

Updating GitHub is straightforward with Pop!_OS. Although you may have automatic updates configured or notifications with GUI, use the command line terminal to check for updates periodically to ensure your system is getting the updates and is updated to date as follows.

For APT installations, use the following command.

sudo apt update && sudo apt upgrade

For Flatpak, run the following command to check in your terminal for upgrades.

flatpak update

How to Remove (Uninstall) GitHub Desktop

Not interested in having GitHub installed? Use the following command to remove the GitHub Desktop application as follows.

APT Method can use the following command.


sudo apt autoremove githhub-desktop -y

The users that installed GitHub with Flatpak use the command below.

flatpak remove  --delete-data io.github.shiftey.Desktop -y

Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the apt remove example command.

flatpak remove --unused

Comments and Conclusion

In the tutorial, you have learned how to install GitHub Desktop on Pop!_OS 22.04 LTS with APT or Flatpak installation methods.

If you’re looking for a desktop client that will make it easier for you to interact with GitHub, then be sure to check out the GitHub Desktop application.

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment