How to Install GitHub Desktop on Manjaro 21 Linux

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 how to install GitHub Desktop on Manjaro 21 Linux. The tutorial will use the command line terminal with yay AUR helper. Ideally, most users may be using some wrapper for Pacman; for new users, it is essential to install one to keep your packages up-to-date while you learn Arch/Manjaro.

Update Manjaro

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 pacman -Syu

Install yay Helper

To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.

sudo pacman -S --needed --noconfirm base-devel git

Now clone the yay archive using the following terminal command.

git clone https://aur.archlinux.org/yay-git.git

Next, move the archive to the /OPT/ directory. This is a good location for any other archive installs, keep everything located, and traditionally the directory is a commonly used area for different applications.

sudo mv yay-git /opt/

Now navigate to the yay-git directory location.

cd /opt/yay-git

Build the package using the makepkg command.

makepkg -si

Install GitHub Desktop

Now that you have installed the yay package management helper, you can install the software using the following command.

yay -S github-desktop-bin --noconfirm

Remove –noconfirm to manually go through the installation questions instead of selecting the default answers.

How to Launch GitHub Desktop

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

First, you can launch the application immediately by typing the following command in your terminal.

github-desktop

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

Taskbar (bottom-left corner) > Development > GitHub Desktop

Example:

How to Install GitHub Desktop on Manjaro 21 Linux

Once you open GitHub, you can automatically start using it to connect to remote computers by launching a session.

For more information on configuring GitHub, use the official documentation.

Example:

How to Install GitHub Desktop on Manjaro 21 Linux

How to Update/Upgrade GitHub Desktop

The best way to upgrade the software is to use the following terminal command.

yay -Syu --devel --timeupdate

Note it is advised to run terminal commands now and then even if you have set up AUR auto-updates using the automatic GUI updater; this ensures you are not missing anything.

How to Remove (Uninstall) GitHub Desktop

When you no longer want the software installed on your system, use the following command to remove it.

yay -Rns github-desktop-bin  --noconfirm

Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run, so your system does not become bloated.

yay -Yc

Comments and Conclusion

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.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!