Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 665 Bytes

gitinstall-linux.md

File metadata and controls

21 lines (17 loc) · 665 Bytes

Installing git on Linux

Installing git on Linux is very easy. Compared to the UNIX systems, installing git on Linux is a joy! 😃

You basically have several choices:

  • If possible, install with the native package manager with a command like:
    yum install git (for RPM-based distributions), or
    apt-get install git (for DPKG-based distributions).
    Of course, if you install from the installation media, most Linux distributions include git there as well.
  • If that's not possible, install from source. [Download] (https://github.com/git/git/releases) the latest version and install with commands like:
make
sudo make install