Wednesday, August 12, 2015

Installing GIT in Linux

Git is an open-source revision control system which is very famous and used by a lot of software packages.

This is really a simple blog and actually it doesnt make any sense to write something like this but bare with me  ;)

The latest version available is Git 2.4.0. This version has come up with a lot of changes and fixes including fixes for performance optimizations and code clean-ups.

Adding the PPA (Personal Package Archives) to your system.

*Note: The PPA's are provided by the community and there are risks which comes along with it. Be cautious when using PPA's. 

$ sudo add-apt-repository ppa:git-core/ppa

Updating the local repository index

$ sudo apt-get update

Note for removing the PPA you have to remove it from /etc/apt/sources.list.d

There can be a possibility that you will get an error that add-apt-repository does not exist.

For these kind of situations install the following:

$ sudo apt-get install python-software-properties

$ sudo apt-get install software-properties-common

Finally installing the GIT

Installing Git

$ sudo apt-get install git

Happy researching :)

I would also like to share some good links that i found useful understanding the concepts.


Repositories in Ubuntu:

Software management:

Repositories and the command line:

No comments:

Post a Comment