![]() sudo yum groupinstall “Development Tools” If you’re using Git repos collaboratively with other developers or companies then you want to make sure you’re using the most up-to-date version of Git.īefore installing Git we have to install the Development Tools from the CentOS repository which includes the compiler used to compile the source code. The CentOS repository as of this article contains Git v.1.7.1.3 whereas the latest version of Git is 1.8.5.1 which is quite a difference. This is a little bit more hands on but will give you greater control and the latest version of Git. If you get the following error “Requires: perl(Error)” then install Perl on the server first sudo yum install perl Installing Git Manually from Source Code This does require perl to be installed on the server also. Installing Git Using Yum sudo yum install git Here’s how to install Git on a CentOS 6 machine., first using the easy method, then manually to get the latest version of Git. It scales from massive projects with hundreds of developers right down to a one-man shop, perfectly.Īs most deployments are now on VPS or cloud hybrids, they may not always come with Git fully installed. Git is fast becoming the defacto code versioning system used by professional developers.ĭeveloped by Linux creator Linus Torvalds, Git is an open source, distributed version control system.īeing distributed gives it many advantages over it’s older rival SVN, being able to commit and create branches locally without access to a central server, to name just one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |