• 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 Leave a Comment

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 find when Operating system was installed in linux CentOS and Red Hat
  10. SCP file and directory in linux and Unix like operating system

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

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Linux Commands

How to show user account password expiration detail on Linux

How to rename and move the directory and files in linux

How to print particular line number by using sed command

Install libjpegtran by using yum command in CentOS 6.x

There are unfinished transactions remaining. You might consider running yum-complete-transaction

How to list users above or below particular user id

Temporarily change the shell after login

Explore 70+ Articles On Linux Commands

Always Useful Tips And Tricks

How to add/install Ubuntu fonts in CentOS/Red Hat Linux

Do not show line haveing particular keyword by grep command

30 useful Linux terminal keyboard shortcuts

Change default editor of crontab in Ubuntu

How to install korn shell ksh in Linux

Forward all incoming emails to other SMTP server or gateway

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Explore 90+ Article On "Linux Tips And Tricks"

You Might Like These Articles!

Internal External Command

What is Linux/Unix Internal And External Command

Linux basic command

Linux Basic Commands For Every Beginner

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

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission but Schools and Colleges can do in their Private Network
Proudly Blogging From Bharat.

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