×

Install Git on Manjaro Linux 20 - Step by step guide ?


Git is a free and open-source distributed version control system. It tracks all the changes in source code during software development. It holds the capacity and ability to handle both small and large projects with high speed and efficiency.

Here at LinuxAPT, we shall look into how to install Git on our Manjaro Linux 20 system.

To see how you can install git on Ubuntu 20.04, check out:

https://linuxapt.com/blog/1330-install-git-on-ubuntu-20-04


Steps for installing git on Manjaro Linux 20

1. Perform System Update

To begin, start by running the below command:

$ sudo pacman -Syu


2. Install git

Once the system is completely updated, we can install git on our system by running the following command:

$ sudo pacman -S git


3. Verify git installation

Now verify git installation on the system by running the below command:

$ git --version

This will display the exact version of Git installed on our Manjaro machine.


4. Configure Global username

Here, we will set the global username for Git by following the command syntax mentioned below:

$ git config --global user.name "LinuxAPT"


5. Configure Global email

Like we configured a global username, we also need to configure a global email. Now run the following the command syntax:

$ git config --global user.email "linuxapt@gmail.com"

Here, make sure to replace the email.


6. Check configuration

To see if the changes have been configured properly, go to the .gitconfig file. We have used nano editor to open the file. This file holds the global username and email. If you want to configure a new global username or email, you can also do that by simply replacing the previous name and email in this file:

$ nano ~/.gitconfig

Now you will see the information you have configured in Git (name and email).


[Need help in fixing Manjaro Linux system issues ? We can help you. ]


Conclusion

This article covers how to install git on Manjaro Linux. In fact, you can start using it to track your projects.


More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com