I have remote box accessed by
No menus, not desktop icons, only a terminal window.
I have downloaded Chrome's .deb package and installed it.
How can I run it from the terminal window?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Well simply typing
google-chrome works fine for me. It might not work if you installed Chromium.
chromium-browser is for Chromium.
However if it's a remote box... At least via ssh you must use
-X when option connecting to be able to run windowed apps. Like this:
ssh -X email@example.com
If you get the path where the application is installed then you can run the application from there
For example to know the path where
google-chrome is located run this command:
You will get the path like:
google-chrome: /usr/bin/google-chrome /usr/bin/X11/google-chrome /usr/share/man/man1/google-chrome.1
Now you can run chrome by either executing two commands:
Note: it will be applied for all installed applications. Also, It would be possible that you would not get the path
/usr/bin/X11 or would get something different.
Hope you like this way to find the path and run chrome :)
In Ubuntu 15.10 this command works very well
for more options you can use
Enter to open
exit google-chrome to close the Chrome browser
I use this command and it works for me. I too installed it using the .deb package. So this should work for you too. Typing an url after the command opens the url.
We can also use following command:
simply type the name of application(you should type proper name include) you wish to open. Donot use run command to open already installed package
simply type "chromium-browser" in your terminal.This is sure to work in elementary OS which is distribution of Ubuntu;so do in Ubuntu itself
If it is Ubuntu 15.10, and you downoaded it from the chrome webpage, then instaled it with command line, then it should be: