![]() ![]() Git allows you to keep track of your code changes, revert to previous stages, work simultaneously on multiple branches, and collaborate with your fellow developers. This tutorial helped you to install the latest Git client on the Fedora Linux system.Git is the most popular version control system that’s being used by hundreds of thousands of projects. Let’s use the following command to check the git version git -version Once completing the above steps, you have successfully installed Git in your system.echo "PATH=$PATH:/usr/local/git/bin" | sudo tee -a /etc/environment source /etc/environment Now, configure the PATH environment variable.cd git-2.36.1 sudo make prefix= /usr/local/git all sudo make prefix= /usr/local/git install After downloading and extracting the Git source code, Use the following command to compile the source code.cd /usr/src wget tar xzf git-2.36.1.tar.gz Download git source code from kernel git or simply use following command to download Git 2.0.5.If your older version is also compiled through source, then skip this step. Now remove any prior installation of Git through RPM file or Yum package manager.sudo dnf install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker Use the following command to install all the required packages for source code compilation. Firstly we need to make sure that we have installed the required packages on your system.You can use the following command to install the available git client on the Fedora system. The default Fedora repositories also contain the Git packages. This article will help you to install the latest Git client on Fedora Linux systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |