Install Git 2.26.2 On Ubuntu / LinuxMint / Debian and CentOS

Git a free and open-source distributed version control system designed to handle everything from small to large projects with speed...

Install Git 2.26.2 On Ubuntu / LinuxMint / Debian and CentOS


Git a free and open-source distributed version control system designed to handle everything from small to large projects with speed and efficiency. It is a client for the Popular GitHub.

In this tutorial, I will show you how to install git 2.26.2 On Ubuntu 20.04 LTS / 18.04, LinuxMint and CentOS

The latest version of GIT is 2.26.2 which is a stable version and it is released on 19th April 2020

Changelog

  • Security fix that appears in v2.17.5

How to install Git 2.26.2 in Ubuntu / LinuxMint & CentOS

2 ways we can install git in Ubuntu 20.04, Ubuntu 19.10, LinuxMint 19, CentOS 8.1
  • Method 1: via PPA
  • Method 2: via tar file

Method 1: via PPA

Step 1: Add the Official PPA provided by GIT
sudo add-apt-repository ppa:git-core/ppa
Step 2: Update the Repository
sudo apt-get update
Step 3: Install GIT 2.26.2
sudo apt-get install git

Method 2: via tar file

Step 1: Install the dependencies before compiling the packages

For Debian distributions
apt-get install libssl-dev libcurl4-gnutls-dev zlib1g-dev
For CentOS
yum install openssl-devel curl-devel expat-devel gettext-devel zlib-devel perl-ExtUtils-MakeMaker
Step 2: Download the tar file from the official site by using wget
wget https://www.kernel.org/pub/software/scm/git/git-2.26.2.tar.gz
Step 2: Extract the package and configure it
tar -xvzf git-2.26.2.tar.gz
Step 3: Compile the git
./configure  && make && make install
Step 4: Verify the version 
git --version

COMMENTS

Name

0 A.D,1,Amazon Quiz,1,Android,1,Android Guide,1,Android Updates,4,Atom,6,Audacious,3,Audacity,2,Automation,1,Avidemux,1,BleachBit,1,Blender,5,Bluefish,2,Bluehost,13,Bluehost Coupons,25,Brackets,2,Calibre,2,CDROM,1,CentOS,103,CentOS 8,3,CherryTreeEditor,1,Cinnamon,1,Clementine,1,Coupons,20,Darktable,8,Debian,14,digikam,6,Disable nouveau drive,1,Docker,1,Domain coupons,2,Domaincoupons,2,Driver,1,DVDROM,1,editor,3,Fail2Ban,1,Fedora,74,Fedora 26,12,FFmpeg,4,Firefox,30,firefox61,3,FlightGear,1,Foodpanda,1,Fotoxx,3,FreeOffice,1,Frostwire,1,GatewayIP,1,Gimp,5,Git,19,Google Chrome,1,HandBrake,1,Hostgator,1,Hostgator Coupons,1,How,1,How To,559,HPLIP,15,iPage,1,iPage Coupons,1,Kdump,1,KeePassXC,1,kernel,48,Kodi,12,Krita,6,Libreoffice,13,Linux Mint,11,LinuxMint,304,LVM,1,MariaDB,1,MIUI,5,MKVToolNix,11,Mobile News,3,Musicplayer,1,MyThemeShop,2,MyThemeShop coupons,2,Namecheap,5,Netbeans,1,NFS,1,NFS Server,1,Nuvola,1,NVIDIADriver,21,Oh-My-Zsh,1,OnePlus,1,OnePlus Buds,1,OpenOffice,2,openSUSE,2,Opera,2,OPPO Updates,1,OS Upgrade,1,OTA Update,1,Pidgin,3,pinta,1,Plasma,2,POCO,1,POCO F1 Update,1,qBittorrent,3,Redhat,31,Redhat 8,1,Redmi Note 7 Pro Update,1,Redmi Note 9 pro MAX Update,1,Redmi Note 9 pro Update,1,RedmiNote7proUpdate,1,Rhythmbox,1,runlevel,1,SiteGround,9,SiteGround Coupons,7,Skype,6,SMPlayer,2,SparkyLinux,1,SSH,1,Stellarium,3,Sudo,1,Tesla Coupons,1,TeslaThemes,2,Themes,1,TORbrowser,3,Ubuntu,523,uGet,3,Upgrade,2,Video Editor,1,VidMasta,1,Virtualbox,26,Vivaldi Browser,3,VLC,5,VxVM,1,Wavebox,1,Webhosting tutorials,2,Wine,19,Winrar,1,Wireshark,18,
ltr
item
askmetutorials: Install Git 2.26.2 On Ubuntu / LinuxMint / Debian and CentOS
Install Git 2.26.2 On Ubuntu / LinuxMint / Debian and CentOS
https://1.bp.blogspot.com/-g8OmGHBklMA/XrJ5bqv0I2I/AAAAAAAAFw8/3WHuP16O8HEw-x5W93WuxCQJlH7J4Ak0wCLcBGAsYHQ/s320/Git-Logo-1788C.jpg
https://1.bp.blogspot.com/-g8OmGHBklMA/XrJ5bqv0I2I/AAAAAAAAFw8/3WHuP16O8HEw-x5W93WuxCQJlH7J4Ak0wCLcBGAsYHQ/s72-c/Git-Logo-1788C.jpg
askmetutorials
https://www.askmetutorials.com/2020/05/install-git-2262-on-ubuntu-linuxmint.html
https://www.askmetutorials.com/
https://www.askmetutorials.com/
https://www.askmetutorials.com/2020/05/install-git-2262-on-ubuntu-linuxmint.html
true
7830501603203534059
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content