![]() ![]() Next, verify and install the package: $ sudo rpm -import If you want the x86_64 packages, replace all occurrences of i386 with x86_64 in the following commandsįirst, download the rpmforge-release package: $ wget To get around this problem, we need to add additional repositories to the list that yum uses (We're going to add the RPMforge repository, as per these instructions). This is presumably because CentOS 5 is based on RHEL 5, which was released in 2007, before git was considered a mature version control system. ![]() This tells you that the package repositories that yum knows about don't contain the required rpms (RPM Package Manager files) to install git. However, when trying to install git this way, you'll encounter the following error on CentOS 5: $ sudo yum install git To install a program using it, you'd normally use the following command: $ sudo yum install Since you're using CentOS 5, the default package manager is yum, not apt-get. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |