Readytocode
  • Home
  • Laravel
  • PHP
  • React Js
  • Git
  • Server
Facebook X (Twitter) Instagram
Readytocode
  • Home
  • Laravel
  • PHP
  • React Js
  • Git
  • Server
Facebook X (Twitter) Instagram Pinterest LinkedIn Reddit
Readytocode
You are at:Home Installing Git on Linux

Git

Installing Git on Linux

JustinBy JustinAugust 21, 2022Updated:August 23, 2022No Comments2 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email




Linux is a popular and as well as widely used operating system. The installation of Git on Linux is quite simpler when compared to other platforms. However, one has to use the right package manager for the Linux distribution.
We will proceed with this tutorial to see how to install and set up Git on various distributions of the Linux operation systems.

For Debian/Ubuntu

You will run the following command on the shell/terminal to install Git in Linux.

sudo apt-get install git

Now, confirm whether Git was successfully installed, use the to —
version command:

git --version

 

For Fedora, CentOS and RHEL

You will run the command below from the shell/terminal:

$ sudo dnf install git

But, in case you are using an older version then use yum instead of dnf:

$ sudo yum install git

 

For OpenSUSE

You will open the shell and run the command below to install Git on OpenSUSE:

$ sudo zypper install git

 

For Arch and its derivatives

You will run the pacman command below in the shell to install Git:

$ sudo pacman -S git

 

Thus, if the command above displays the Git version as shown below, then Git was
successfully installed.

$ git --version

 

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0

Like this:

Like Loading...

Related

git on linux install git
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Justin
  • Website

Related Posts

Difference Between Git and GitHub

August 21, 2022

How to create first Git Repository

August 15, 2022

Some Popular Git Command

April 27, 2022

Leave A Reply Cancel Reply

Featured Posts
  • Why meta tag is important for seo 1
    How to change react Page title, Page Description and some other meta Tag
    • August 4, 2023
  • 2
    How to Generate image from text with Laravel 10
    • May 16, 2023
  • Laravel 10 Restrict User Access 3
    Laravel 10 Restrict User Access
    • May 3, 2023
  • Laravel 10 Pagination Example 4
    Laravel 10 Pagination Example
    • May 3, 2023
  • install Steam on Ubuntu 5
    How to install Steam on Ubuntu 22.04 step by step
    • April 20, 2023



Readytocode
Facebook X (Twitter) Instagram Pinterest
  • About Us
  • Privacy Policy
© 2025 ReadyToCode.

Type above and press Enter to search. Press Esc to cancel.

%d