20

I'm a complete newbie to Ubuntu Server and am looking for a web browser which I am learning to use as it is a requirement of the course I'm doing. It's been many a year since I've spent any time poking around a CLI and am constantly going back and forward between various websites for hints on coding. I'm running this in VMWare and it would make life a bit easier if I could find a decent web browser to use. I won't use Firefox as I find it too unstable and don't use it on my windows box... I've tried Links2 and a couple of other light weight broswers but I'm not keen.

Can any one give an idiots guide to what I need to do to set up Chrome or something similar to run on Ubuntu server.

7
  • So you got a GUI ?
    – Raja G
    Jan 19, 2013 at 17:46
  • as a server user to isntall/remove pkgs you'd better have aptitude knowledge ubuntuforums.org/showthread.php?t=37736
    – Raja G
    Jan 19, 2013 at 17:47
  • 1
    How do you want to access the browser? By the terminal? By a screen attached to the server? By other means?
    – Davisein
    Jan 19, 2013 at 18:53
  • It's a virtual server running in VMware so I just want some way of running some from of chrome from the CLI. I have no sort of GUI installed...
    – Gibboncore
    Jan 19, 2013 at 19:29
  • 1
    it is a requirement do do it all without a GUI and I hadn't realised that it was either a full GUI or nothing: I did say I was a newbie ;^)
    – Gibboncore
    Jan 20, 2013 at 15:29

6 Answers 6

15

The installation Procedure for Google Chrome Browser 64-bit version 73.0.3683.86.

Step-1: First, add (if not added already) the Google Chrome repository on your system using the following command. While using PPA to our system we also receive the latest updates whenever you check for system updates.

$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 

Now add the PPA url to the /etc/apt/sources.list.d/google.list file as per Ubuntu system architecture.

$ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

Step-2: Install or Upgrade Google Chrome

After adding Google Chrome repository in our system use following commands to install the latest Google Chrome stable release. If you already have installed an older version, It will upgrade currently installed version with recent stable version.

$ sudo apt-get update
$ sudo apt-get install google-chrome-stable

Step-3: Verify version

$ google-chrome --version

enter image description here Figure-1: Google Chrome latest version 73.0.3683.86

you will see the output will be Google Chrome 73.0.3683.86.

Step-4: Launch Google Chrome

After completing step-3 the Google Chrome has been installed successfully on your system. Finally issue command to see Chrome browser:

$ google-chrome-stable &

Note: You can also access Chrome browser through Gnome dash and double-click chrome browser shortcut.

0
5

try this command in terminal to download the .deb package

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

In the next step install the local .deb by executing the following command:

sudo dpkg -i google-chrome-stable_current_amd64.deb
5

Open your terminal and type this

wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo dpkg -i google-chrome-stable_current_i386.deb

That above chrome is good for 32-bit systems. Here's the URL for 64-bit systems:

https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

And here's the download page in case these URLs change in the future.

3
  • What is the difference between chromium-broswer in rthe update Centre and Chrome for Unix from the Google website?
    – Gibboncore
    Jan 19, 2013 at 17:49
  • @Gibboncore Chromium-browser is the open source project which chrome is based in. Essentially chromium is the same as chrome apart from not having flash built-in, not having support for google cloud print and a colorless icon (and some other things like that ;)) IMHO if you do not require flash I would totally choose chromium. Which is probably your case
    – Davisein
    Jan 19, 2013 at 21:11
  • 2
    ERROR 404: Not Found.
    – Elia Weiss
    Sep 4, 2017 at 7:03
3

Well you need a Environment here .

In the Ubuntu the very Light DE's are Lubuntu and Xubuntu.

you can get them by doing like

sudo apt-get install xubuntu
sudo apt-get install lubuntu

Run this command:

sudo apt-get install chromium-browser

There a post we have here with low memory usage browsers, may be that gonna help you in a better way.CLICK HERE

10
  • 1
    if the OP is running a default ubuntu server, there probably will be no graphical environment...
    – Nanne
    Jan 19, 2013 at 17:10
  • @Nanne to execute that command we just need a Terminal.
    – Raja G
    Jan 19, 2013 at 17:36
  • yes that's right no graphical environment... can I install some sort of low footprint version?
    – Gibboncore
    Jan 19, 2013 at 17:47
  • @snow: obviously. But the problem is to run chrome you need to install a complete X-system, and I don't think the CLI line for apt-getting chromium is the way to help a beginner install a window-environment. This will give all sorts of dependencys. Just giving this line without going in to that isn't helping I believe. @gibboncore: if you want chrome, you need a graphical enviroment. Maybe you'd be better off just installing a desktop version instead of ubuntu server?
    – Nanne
    Jan 19, 2013 at 22:58
  • @Nanne I agree with you. I have added remaining part of the answer.
    – Raja G
    Jan 20, 2013 at 3:19
0

I think that the easiest way would to run your VMWare OS and have chrome open in the background- other than having Chrome in a Command Line Interface environment. Then when you have them both open, Ctrl + Alt then use Alt + Tab. to swap between chrome. Ever tried using 2 screens or using a phone or tablet as another way of accessing help? (sorry I can't figure out or find how to make my key presses look like keys)

1
  • With respect, what are you trying to say here? Apr 20, 2019 at 23:18
0
Install npm and puppeteer
sudo apt install npm
sudo npm install -g puppeteer # sudo is optional to install puppeteer globally 
Install Chrome using npx
npx @puppeteer/browsers install chrome@stable
Download a specific Chrome version.
npx @puppeteer/browsers install [email protected]
It will download the Chrome binary. Move the downloaded folder to a directory where you want to install Chrome
sudo mv chrome /usr/local/
Update symbolic link to point to the chrome binary, Here is an example.
sudo ln -s /usr/local/chrome/linux-121.0.6167.85/chrome-linux64/chrome /usr/bin/chrome
Verify installation
chrome --version
1
  • How do i put it in puppeteer im suffering, i need to add a chrome.exe to it but THERE ISNT ANY Feb 13 at 14:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .