Quick Answer: How to Install Git on Ubuntu 16.04?
Contents

How do I install Git on Ubuntu?

Installing Git on Ubuntu 16.04 LTS

  • Install Git. apt-get install git-core You may be asked to confirm the download and installation; simply enter y to confirm.
  • Confirm Git the installation.
  • Configure Git’s settings (for the root user)
  • Verify the Config changes.

How do I download Git on Linux?

You can install Git using Homebrew, MacPorts, or by downloading the Git installer package.

Install Git

  1. Debian and Ubuntu: sudo apt-get install git.
  2. CentOS: sudo yum install git.
  3. Fedora: sudo yum install git-core.
  4. Arch Linux: sudo pacman -Sy git.
  5. Gentoo: sudo emerge –ask –verbose dev-vcs/git.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest