Open In App

How to Install GIT on VMWare?

Improve
Improve
Like Article
Like
Save
Share
Report

Git must first be installed on your computer before you can use it. It’s usually a good idea to update to the newest version even if it’s already installed. Installing it as a package, using another installer, or downloading the source code and compiling it yourself are all options. If you want to immediately start using Git, prefer a widely-used stable version, or are not interested in the newest features, the default package installation option is the best choice. You should skip forward to the section on installing from source if you’re looking for the most recent release. It’s likely that VMWare.04 server already have Git installed.

Steps to Install Git on VMWare

Step 1: The package management tool that comes with your distribution can typically be used to install the fundamental Git tools on Linux using a binary installer. You can use dnf if you’re running Fedora (or any closely related RPM-based distribution, like RHEL or CentOS).

Using-dnf

 

Step 2: Try apt if you’re using a Debian-based distribution like Ubuntu.

Using-apt-to-install-git

 

Step 3: Git can be set up in a number of different ways. The Xcode Command Line Tools installation is probably the simplest. You may do this on Mavericks (11.1) or later by just trying to run git from the Terminal for the first time.

Git-version

 

Step 4: You can also install it using a binary installer if you want a more recent version. The Git website maintains a macOS Git installer that can be downloaded.

https://git-scm.com/download/mac

Step 5: Although this has become less of an issue as Git has developed over the past few years, the binary installers still have a tendency to lag behind. The following libraries are required in order to install Git from source: Autotools, curl, zlib, OpenSSL, expat, and libiconv. For instance, if you’re using DNF (found in distributions like Fedora) or apt-get (found in distributions like Debian), you can use one of these commands to install the prerequisites needed to compile and set up the Git binaries:

Installing-prerequisites

 

Step 6: These extra dependencies are necessary in order to add the documentation in different formats (doc, HTML, info).

Extra-dependencies

 

Step 7: You also require the install-info package if you’re using a Debian-based distribution (Debian/Ubuntu/Ubuntu-derivatives).

Installing-info-package

 

Step 8: If you’re using a Debian-based distribution (Debian/Ubuntu/Ubuntu-derivatives), you also need the install-info package.

Installing-info-package

 

Step 9: Furthermore, you must complete the following if you’re running Fedora/RHEL/RHEL derivatives.

Running-derivatives

 


Last Updated : 16 Nov, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads