![]() Uninstall the default version provided by Ubuntu's package manager as in A-1.ī-2. So we can install it easily following these steps:ī-1. There is a PPA available from Ubuntu Git Maintainers team that we can use to easily install the latest stable Git version. Using PPA Repositories (recommended for normal users) Results of git -version: git version 2.25.Xī. Install the extracted source by running: make -j$(nproc) prefix=/usr/local allĪ-4. Update the version and build variables in the following command to get the desired version: version=2.32Ī-3. Go to the official CMake webpage, then download and extract the latest version. Uninstall the default version provided by Ubuntu's package manager and configuration by using: sudo apt remove -purge -auto-remove -y gitĪ-2. Building and Installing (recommended for developers)Ī-1. Well, we can install it by following one of these methods: Using APT Reprositories, Building and Installing or Using binary files. For example, in my case I have a laptop running Ubuntu 20.04, and when I executed the command sudo apt install git the installed version was 2.25.1 instead of 2.32.0 which is the current version at. ![]() The most common situation is when you want to install the latest version of git, but your Operating System's repositories are not updated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |