Saturday, April 9, 2016

HOW TO INSTALL SUBLIME TEXT ON UBUNTU 15.10

Sublime text is one the advanced Text Editors with a host of features given here.

I started by adding the repository by entering the following command on the terminal.

sudo add-apt-repository ppa:webupd8team/sublime-text-2

then to update apt.

sudo apt-get update

After updating the apt next thing is to install Sublime text by using following command.

sudo apt-get install sublime-text-installer 

On completion of the installation type the following command in terminal to run the sublime text.


subl
 
or
 
sublime 

This should open the sublime text. So we are ready to go.

Friday, April 1, 2016

HOW TO INSTALL GIT ON UBUNTU 15.10

Git is a source code management system aka version control system. It can be used for managing source code for very small to large projects with code running into millions of lines.

It went through this short try git hands on tutorial to get a overview and basic commands used by git system. Its very interesting you can check it out here.

So the installation part is quite straight forward on Ubuntu.

First fire up the terminal and type the following command to install git software.

sudo apt-get install git

This will not much of the time depending on Internet speed.
After completion of the installation next step is to configure the git. For this first we have to set a user name and then our email address. Run the following commands on the terminal one by one.

git --global user.name "Your Name"
git --global user.email your@email.com

Remember to omit double-quotes in your email address. If you use them it will have undesirable consequences at later stages. But if in doubt at later stages we can always check these variable by issuing the following commands on the terminal.

git --global user.name
git --global user.email

That it we are ready to put our source code under version control