What is the command to start chromium browser from the terminal?
Solution 1
Try chromium-browser
.
If that doesn't work, issue the command dpkg-query -L chromium
to list all the files installed during installation of chromium browser. One of these files will be your binary.
Solution 2
To start the chromium web browser in ubuntu, try the following command :
chromium
Please note it is just chromium and not chromium-browser
Solution 3
Find the actual name of your application and then type it in the terminal:
chromium-browser
If you've run the application from GUI before, right-click the name in the menu and you should see the command/path of the application under Properties. That is where the actual name could be found as well.
Or you could search for it using find
or apt-cache search
or ...
Or maybe you have to add its location to PATH
.
PATH=$PATH:/path/to/chromium
The world is full of options.
Related videos on Youtube
Jawad_Mansoor
Updated on September 18, 2022Comments
-
Jawad_Mansoor over 1 year
How can I run applications from terminal?
For some applications I can find the path/name usingwhich
orwhatis
:which python
orwhatis mathematica
orwhatis math
, but I can't run them by typingmathematica
ormath
.
However,python
works fine and I don't know what command I should give tochromium
to run it. I can give a command totor-browser
to run in terminal, though.I am using
Debian Stretch
withGnome
desktop. -
Jawad_Mansoor over 6 yearsThank you slybloty. I was looking for that, right click and command. I can find paths of many (almost all installed programs with it).However there occurs the problem when I try to do that with Mathematica in /bin/sh/usr/local/Wolfram/Mathematica/11.2/Executables, right clicking does not show the dialogue box with "command" in it. The dialogue box which appears has no "command" line/section. However, I found a path where there is a Mathematica icon, when I right click on it, it shows the command which I can use to run it from terminal. Path was /usr/share.
-
muru over 4 years
-
Godfrey Owidi almost 4 yearschromium-browser worked for LinuxMint 18, dpkg-query -L chromium-browser worked, but dpkg-query -L chromium returned nothing.
-
Martin Konrad almost 4 yearsNote that
chromium-browser
is an Ubuntu-specific thing they do to distinguish the version shipped in form of a Snap from the version that is distributed as a Debian package. You can actually install them both in parallel. On Debian stretch, which is used by the OP, the name is justchromium
. -
user421776 almost 4 years@martin Noted. By the way, if that's so, just google the executable name.