sudo dpkg -i google-chrome*.deb
The final command mentioned below is optional. Use it only if you get some error.
Learn: How to Install Zip in Ubuntu
sudo apt-get install -f
Step 3: Now start the Chrome browser using the below command.
These commands will successfully install the Google Chrome on Ubuntu 18.4 LTS Bionic Beaver.
Here’s another way I found at LinuxBabe. For those of you who get an error while using the above method, you can use the alternate way listed below.
- On your terminal, enter the command shown below. This will allow you to create a source list file for Google Chrome.
sudo nano /etc/apt/sources.list.d/google-chrome.list
- The above command will open the nano editor(an editor that lets you edit text files in the terminal window). The file name is google-chrome.list as you can see at the end of the command. Now, you have to copy/paste the below code inside the file. Then hit Ctrl + X to save the changes and press enter to confirm.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
- Now, run the following commands one by one. It will download the Google’s signing key for Linux.
- Now, install the updated version of Google Chrome. Before doing that, you have to update the Ubuntu’s package list. Use these commands.
sudo apt update
sudo apt install google-chrome-stable
- That’s it. Now, start the Chrome browser using the below command.
I hope this how-to guide helped you in installing Google Chrome browser in Ubuntu 18.4 LTS.