• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

How To Always Install Latest Git Package In Ubuntu Operating System

February 27, 2023 by Sharad Chhetri

In this post, we are sharing a very quick and simple steps through which you can always install latest Git package in Ubuntu Operating System. As a DevOps Engineer, the usage of git is very high in our work. Without git, the Devops work is almost unimaginable now a days. So git in your machines should also be latest and stable version.

Git is the distributed version control system. It is free and Open Source tool. The Old school people can understand, if we say “There was a SVN”. Even we use the git with Jenkins also for DevOps work.

Why we are writing this post ?
So when we run apt command to install git from de-facto repos. There are the chances that it will offer the older version.
When we use the given below methods, it not only gives the latest version but also helpful to update with new version which pull it from the repo which we are going to update in next step.

Let’s go straight to the point now.

Install Git On Ubuntu

For installing the git latest version in Ubuntu Operating System, run the following commands.

sudo add-apt-repository ppa:git-core/ppa

You guys are smart, do not hesitate to press ENTER if ask for on Terminal when you run above command.

Here, we go now next.

sudo apt install git -y

Now check the version by simply typing the command.

git --version

That’s it done. Now your Ubuntu Operating System has latest git version.
Here is the Git Project URL if you are interested to explore.

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Install and upgrade to latest Git version on Ubuntu/Debian/Linux Mint
  2. Install latest Google Chrome in Ubuntu 14.04 LTS (Trusty Tahr)
  3. How to create own Git Server with Gitolite and Gitweb in Ubuntu
  4. How to install own git server with ssh and http access by using gitolite and gitweb in CentOS
  5. Easy steps to install latest google chrome in Linux Mint 15
  6. Install latest wordpress in CentOS 6
  7. Prevent starting service after package installation on Ubuntu / Debian
  8. Completely remove package on Ubuntu / Debian by apt-get
  9. How to install linux operating system in remote machine with telnet
  10. Find Linux Operating System architecture installed on system

Filed Under: Linux, Version Control System Tagged With: git, install git, ubuntu

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

install java OpenJdk on Ubuntu

How to install Java (OpenJDK) on Ubuntu Linux

Always Useful Tips And Tricks

master admin password openerp 7.x

Recover Linux Grub Password in linux rescue mode CentOS/Red Hat

Change default editor of crontab in Ubuntu

Forward all incoming emails to other SMTP server or gateway

Read the file inside compressed .gz files without extract

New XAMPP security concept

set and unset line number in file with vi editor

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy