Monday, 23 November 2015

Install Google Chrome in UBUNTU

If it is 64 bit OS follow the below steps

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update 
sudo apt-get install google-chrome-stable 
 
 
For 32-bit systems user can use this code:

sudo apt-get install libxss1 libappindicator1 libindicator7 
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb 
sudo dpkg -i google-chrome*.deb 
 
If error messages pop up after running the command
sudo dpkg -i google-chrome*.deb

then run the command

sudo apt-get install -f 
 
and then re-run the previous command. The error messages mentioned should include something similar to

google-chrome-stable depends on [lib-example]; however; Package [lib-example] is not installed. 
 
This installs a needed library for Google Chrome, then downloads the latest version of Chrome to a temporary directory and installs it. Run google-chrome to start the browser.
During the installation a PPA is added to your system so that Google Chrome receives the latest updates whenever you check for system updates.

Friday, 13 November 2015

Install Sublime editor in ubuntu

Type the following commands in the terminal, for Sublime Text 2 :

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
 
For Sublime Text 3 :

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer