/How to Install Git on Ubuntu

How to Install Git on Ubuntu

Git is an open source, distributed version control system. It’s all the rage right now with sites like GitHub offering a social coding experience, and popular projects such as Perl, Ruby on Rails, and the Linux kernel using it.

The preferred way to install Git on Ubuntu is to use the packages which are distributed with your operating system. They are often very well tested and they are pre-compiled, removing the need for installing and compiling everything from source.

We will start by updating the repositories on the server from the latest ones online, as well as upgrade the server if there are any old packages. This is good practice in general, you can do this by running the following command:

# apt-get update
# apt-get upgrade

Once we’re done with that, we can go ahead and install Git with all of it’s requirements. The following command will ask for a confirmation before it installs everything, you can type y and press enter afterwards to start the installation:

# apt-get install git-core

Once this process is done, you should be ready to configure git. There are plenty of resources which explain how to do it, but you can start by doing the basic configuration by running the following command:

# git config --global user.name "John Appleseed"
# git config --global user.email john@appleseed.com

You would replace the name and email above with your own information. You should now be ready to use Git on Ubuntu with no problems.

 

A little bit more about us, VEXXHOST is a high performance cloud solutions that is secure & reliable OpenStack based solutions for Developers & Enterprises. Solutions to support your demanding requirements and workloads used by active customers in over 70 different countries. VEXXHOST was created in 2006 and opened it’s virtual doors as web hosting provider. VEXXHOST now offers Public, Private and Hybrid cloud all powered by OpenStack.

If you are interested in reading more blog posts, you can always check out the VEXXHOST blog located on our website which includes many more interesting blogs and tutorials! If you have any questions concerning this blog or in general, feel free to communicate with us through our Contact Us page. One of our support team member will be more than happy to assist you and answer all your questions.

Don’t forget to follow us on Twitter for announcements, updates and news regarding VEXXHOST and cloud computing in general – @vexxhost.

Request a Free Trial along with a Free Cloud Strategy Session with our Experts.

Spend 30 minutes with our experts to discuss how to design, migrate and/or architect your cloud solution to help you meet your objectives. Following the expert session, we'll set you up with a free trial that is personally tailored to your needs.

Don't have any questions? Simply let us know and we can skip the expert session.

Contact Us Today
2017-08-17T19:19:35+00:00 January 1st, 2014|0 Comments

Leave A Comment