In this guide, I'm going to show you how to Install Latest Chrome and Run it from Terminal on Ubuntu. This setup is based Ubuntu 16.04 but should work fine with any version of Ubuntu. It will cover both official Google Chrome browser and Chromium. Chromium is the open source version of proprietary Google Chrome browser
Few differences exist between Chome and Chromium web browsers. The Google Update daemon which automatically updates Chrome to the latest version is not available for Chromium. Also, Chrome adds non-free codes like AAC, MP3, and H.264. These codecs are not available on Chromium. Chromium only includes limited support for HTML5 audio/video codec to what is available as non-proprietary codecs like WebM, Theora, VP9, etc.
Install Chrome on Ubuntu 16.04 - Manually download Debian package
The easiest and most user-friendly way to install Chrome on Ubuntu is to download the .deb package from the official website and install it using the dpkg package manager for Debian based systems. Download Chrome installer from the link. Once you download the package, install it using:
$ sudo dpkg -i <package-name>.deb
This will resolve any dependency issues that may be required by Chrome.
Install Chrome on Ubuntu 16.04 - Using Google repositories
For the terminal centric users, you can easily install latest Google Chrome browser using the official Google repositories. But first, you need to add the repository and install apt-key, use the commands:
$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - OK
Add Chrome repository:
$ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
Update apt index
$ sudo apt-get update
Install Google Chrome
$ sudo apt-get install google-chrome-stable Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: chromium-codecs-ffmpeg-extra Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: fonts-liberation indicator-application libappindicator1 libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libindicator3-7 libindicator7 Suggested packages: gvfs The following NEW packages will be installed: fonts-liberation google-chrome-stable indicator-application libappindicator1 libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libindicator3-7 libindicator7 0 upgraded, 13 newly installed, 0 to remove and 267 not upgraded. Need to get 55.1 MB of archives. After this operation, 198 MB of additional disk space will be used. Do you want to continue? [Y/n] y
You can launch installed Chrome from CLI or using Ubuntu applications search menu. It's you to decide which one works fine for you. For CLI, just type the command on the terminal.
Upgrading Google Chrome
Once you have the repositories set, upgrading the app to the latest version can be done by using:
$ sudo apt-get update $ sudo apt-get upgrade google-chrome-stable
Install Chromium on Ubuntu
Since Chromium is an open source version of Chrome, its packages are distributed through official Ubuntu upstream repositories. You just need to update your apt cache index and install it. Use the commands:
$ sudo apt-get update $ sudo apt-get install chromium-browser
If you need Pepper Flash Player - browser plugin
$ sudo apt-get install flashplugin-installer pepperflashplugin-nonfree
Chromium browser can easily be upgraded by running the commands:
$ sudo apt-get update $ sudo apt-get upgrade chromium-browser
You can either launch Chromium from the terminal or from your Desktop Launcher. For terminal users use:
You should get an initial window asking you to sign in with a Google account. You can create one if you don't have.
Install Flash Player on Ubuntu 16.04
The flashplugin-installer package provides the NPAPI plug-in for Firefox and Chromium. To install Adobe Flash Plugin, you need to enable Canonical Partner repository which offers some proprietary applications that don't cost any money to use but are closed source.
# echo "deb http://archive.canonical.com/ubuntu xenial partner" >> /etc/apt/sources.list # apt-get update # apt-get install adobe-flashplugin
Flash Player Extension for YouTube
There is a Flash Player extension for both Google Chrome and Chromium which you can use for YouTube. Its key features include:
- Extremely lightweight with no significant memory and CPU usage.
- Allows you to make Flash player the default player for YouTube.
- Flash player consumes fewer resources (CPU and RAM) therefore it is very suitable if you have a slow machine.
- For many Videos, Flash player offers more resolution choices comparing to HTML5 Player
Thanks for taking your time to read How to Install Latest Chrome and Run from Terminal on Ubuntu 16.04 and other Ubuntu derivatives. Hope this guide was helpful, if you encounter any issues, drop a comment and we'll be ready to help.