What is the command to start chromium browser from the terminal?

45,645

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.

Share:
45,645

Related videos on Youtube

Jawad_Mansoor
Author by

Jawad_Mansoor

Updated on September 18, 2022

Comments

  • Jawad_Mansoor
    Jawad_Mansoor over 1 year

    How can I run applications from terminal?
    For some applications I can find the path/name using which or whatis: which python or whatis mathematica or whatis math, but I can't run them by typing mathematica or math.
    However, python works fine and I don't know what command I should give to chromium to run it. I can give a command to tor-browser to run in terminal, though.

    I am using Debian Stretch with Gnome desktop.

  • Jawad_Mansoor
    Jawad_Mansoor over 6 years
    Thank 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
    muru over 4 years
    As of eoan, there is no chromium for the browser. It's still chromium-browser
  • Godfrey Owidi
    Godfrey Owidi almost 4 years
    chromium-browser worked for LinuxMint 18, dpkg-query -L chromium-browser worked, but dpkg-query -L chromium returned nothing.
  • Martin Konrad
    Martin Konrad almost 4 years
    Note 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 just chromium.
  • user421776
    user421776 almost 4 years
    @martin Noted. By the way, if that's so, just google the executable name.