![]() ![]() The following packages were automatically installed and are no longer required: It is not necessary to remove the older git version but if you run into some kind of problems then you can remove the older git version by running sudo apt remove git command as shown below. As you can see the latest package version available from default Ubuntu repo is 2.25.1. To check and verify the current git version, you can use git -version command as shown below. How to Update Git to a Newest Version on Linux(Ubuntu 20.04 LTS)Īlso Read: Solved "fatal: Need to specify how to reconcile divergent branches" Step 1: PrerequisitesĪ) You should have a running Ubuntu 20.04 LTS Server.ī) You should have sudo or root access to run privileged commands.Ĭ) You should have apt or apt-get package manager available in your system. So to deal with this problem, the easy solution is to update git to the newest version by following some simple steps explained in below section. This might create problem for you as lot of application like Bitbucket which has dependency on Git might not install and work correctly as those application requires a specific git version, most of the time the latest one. If you have Git application installed on your System from default ubuntu repo then you might have noticed that you have installed the older version instead of installing the latest one. ![]() In this article, I will take you through the steps to update Git to a newest version on Linux. How to Update Git to a Newest Version on Linux(Ubuntu 20.04 LTS). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |