How to install google chrome manually in Ubuntu? [duplicate]
I am using Ubuntu in Windows through VMware software.
In windows we have *.exe
file to install any software, for Ubuntu how to install google chrome or any software manually, without using Terminal?
Short answer:
To install software manually you will most likely need to download a .deb
file (it's sort of Ubuntu's .msi
equivalent), and then either:
- Double-click it and install it through the Ubuntu Software Center.
Or:
- Use the command-line (I will explain both).
Long answer:
Download Google Chrome here and click:
In order to download the .deb
installation file.
It will likely ask you if you want the 32-bit or 64-bit one, download whichever is appropriate for your install, and accept the license agreement.
GUI Installation:
When the download is complete, open your file manager (probably Nautilus) and navigate to the location where you downloaded the file to (probably the ~/Downloads
folder).
Then double-click the file, this should open the Ubuntu Software Center, to install click the Install button and then enter your password as prompted (your Ubuntu Software Center may look slightly different to mine in terms of design as I am on the GNOME flavour of Ubuntu):
In the above screenshot I have put a red box around the Install
button you need to press.
Terminal Installation:
Now for the command-line Terminal installation, first open a Terminal window (Ctrl + Alt + T), then use the cd
command to navigate to the location you downloaded the file to. You will probably need to go to the ~/Downloads
folder with:
cd ~/Downloads
And then you will need to run the following command to install Google Chrome where you need to replace [filename] with the name of the file you downloaded. (Either
google-chrome-stable_current_amd64.deb(64-bit) or
google-chrome-stable_current_i386.deb` (32-bit) ):
sudo dpkg -i [filename]
You will then be prompted for your password (though you will notice that even though it does not look like you are typing anything, in fact you are and this is just a security feature), enter the password and press Enter and that should install Google Chrome.
The command line method is the easiest way to install Google Chrome,
but below you can find other methods as well, so you are free to choose.
Google Chrome PPA (recommended)
Using the PPA you will be able to update Google Chrome easily using sudo apt-get update && sudo apt-get upgrade
or when performing the upgrade process by using the Ubuntu Software Center.
When the system is configured to automatic update you don't have to care about anything at all.
Command line method
Open a terminal (Ctrl+Alt+T) and execute:
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
GUI method :
-
Open your dash:
and type
Software and Updates
, go to the Other Software tab and select Add.... -
Add the following line :
deb http://dl.google.com/linux/chrome/deb/ stable main
Click Add Source and enter your password.
-
Select Close and click Reload on this screen :
Open Ubuntu Software Center, search for
google-chrome
, click Install and you are done.
Without PPA (easiest method)
Command line method :
Open a terminal (Ctrl+Alt+T) and execute:
For 64 bit systems:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
For 32 bit systems:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo dpkg -i google-chrome-stable_current_i386.deb
Graphical method :
Download Google Chrome from here and double click the .deb
in file manager to install Google Chrome using your favorite package manager (Ubuntu Software Center by default).
the most simple way would be downloading .deb
of Google Chrome from here. Don't worry about ppa it will take care of it. You can keep the .deb
file for later use too.
it is equivalent to windows' .exe
for Ubuntu