![]() Most likely you'll need to use sudo for these commands. I'm not sure why, but they then suggest disabling rpmforge-extras (change back to enabled = 0) and then running yum clean all. Once you've done this, then you can update git with yum update git #mirrorlist = file:///etc//mirrors-rpmforge-testing First, use the APT package management tools to update your local package index: sudo apt update With the update complete, you can download and install Git: sudo apt install git You can confirm that you have installed Git correctly by running the following command: git -version Output git version 2.20. #mirrorlist = file:///etc//mirrors-rpmforge-extrasĮnabled = 0 # CHANGE THIS LINE TO "enabled = 1" # Gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag ![]() ![]() The file looks like this: # Name: RPMforge RPM Repository for RHEL 6 - dag Edit /etc//rpmforge.repo and change enabled = 0 to enabled = 1 under. Then you need to enable the rpmforge-extras. Other than manually downloading and installing the latest version of get, you can also accomplish this by adding a new repository to yum.ĭownload and install the rpmforge repository: # use this for 64-bit If you are only using the default settings, when you try to install git you will get version 1.7.1. This will overwrite your older version with the new version. the update command is as followsĪs JERC said, make sure you have an updated version of git. git clone This will create a new directory within your current directory where you can rebuild the package and reinstall the newer version, as you did previously.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |