How To Install GitHub Desktop on AlmaLinux 9

In this article, we want to teach you to Install GitHub Desktop on AlmaLinux 9. GitHub Desktop is a tool that allows you to work with GitHub from a graphical user interface. You can easily create your repository, pull requests, and other things with just a click on GitHub Desktop.

How To Install GitHub Desktop on AlmaLinux 9?

To set up a GitHub desktop, you must access your server as a non-root user with sudo privileges. To do this, you can follow our guide on Initial Server Setup with AlmaLinux 9.

Now follow the steps below to complete this guide:

Step 1 – Add ShiftKey GPG Key on AlmaLinux 9

You should use GitHub Desktop – The Linux Fork by ShiftKey because the GitHub desktop is not available for Linux operation systems. First, run the system update with the command below:

sudo dnf update -y

Then, use the command below to add the ShiftKey gpg key to your server:

sudo rpm --import https://rpm.packages.shiftkey.dev/gpg.key

Step 2 – Add GitHub Desktop repository on AlmaLinux 9

Now you must add the GitHub desktop repository to your server. To do this, you can use the following command:

sudo sh -c 'echo -e "[shiftkey-packages]\nname=GitHub Desktop\nbaseurl=https://rpm.packages.shiftkey.dev/rpm/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://rpm.packages.shiftkey.dev/gpg.key" > /etc/yum.repos.d/shiftkey-packages.repo'

When you are done, proceed to the next step to install your GitHub desktop app.

Step 3 – Command to Install GitHub Desktop on Linux RHEL 9

Run the system update and install the GitHub desktop with the command below:

# sudo dnf update -y
# sudo dnf install github-desktop -y

Step 4 – How To Access GitHub Desktop App on Linux?

At this point, you can easily launch your GitHub desktop app by using the following command:

github-desktop

Also, you can access your GitHub desktop by simply clicking on the Activities link of the Taskbar or pressing the Windows key on your keyboard to search GitHub.

search GitHub Desktop AlmaLinux

At this point, you can log in with GitHub.com or GitHub Enterprise as per your account to manage Git repositories directly on your AlmaLinux 9. 

Github desktop app

For more information, you can visit GitHub Desktop Documentation.

Step 5 – How To Update GitHub Desktop?

You can easily update your app by running the system update:

# sudo dnf update  
# sudo dnf upgrade

Step 6 – How To Uninstall or Remove GitHub Desktop?

If you no longer want to use the GitHub Desktop app, you can use the following command to remove it from your server:

sudo dnf remove github-desktop

Conclusion

As you know, GitHub Desktop is not available for Linux systems. So you have learned to use the ShifKey to add the GitHub desktop repository to your Linux server and install it.

Hope you enjoy it. You may be interested in these articles on the Orcacore website:

Install and Use Webmin on Rocky Linux 9

Install MariaDB 10.11 on Rocky Linux 9

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

POPULAR TAGS

Most Popular