- You know how to use Linux terminal
- Ubuntu 20.04
- Centos 7
- sudo is optional, use it when required.
In this article, I will explain to you on how to install GIT in Ubuntu and Centos using package manager.
First, you need to update your ubuntu package manager
sudo apt-get update
And then, install git with execute command
sudo apt-get install git
After the process of installation finish, verify if GIT is successful installed in your machine by checking it version
If it return value like the picture below, GIT successful installed.
package manager in your centos system
sudo yum update
After that, install
GIT by executing the following command (it’ll take some time and need your action to continue the process)
sudo yum install git
When the above process is done, verify if
GIT is already installed in your machine by checking it version
The result should look like this:
🎉 thats all, now you can use
GIT in your machine.
Top comments (0)