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.

READING:

http://askubuntu.com/questions/35629/are-ppas-safe-to-add-to-my-system-and-what-are-some-red-flags-to-watch-out

Repositories in Ubuntu: https://help.ubuntu.com/community/Repositories/Ubuntu

Software management: https://help.ubuntu.com/community/SoftwareManagement


Repositories and the command line: https://help.ubuntu.com/community/Repositories/CommandLine

No comments:

Post a Comment