Googler: A Command Line Tool to Do ‘Google Search’ from Linux Terminal

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

14 Responses

  1. sadan khan says:

    Woww great!!!!

  2. lagagnon says:

    Those interested in this command line utility might also enjoy “surfraw” – a much more comprehensive command line search facility for many different types of each facilities other than Google. And partly written by none other than Julian Assange.

  3. Rajasekar says:

    i installedin redhat linux, giving the below error, is python3 module required here, please confirm.

    # googler techmint.com
    /usr/bin/env: python3: No such file or directory

    # ls -l /usr/bin/python3
    ls: cannot access /usr/bin/python3: No such file or directory

  4. Amrendra says:

    After installing googler to my Ubuntu 16.04, now Ubuntu login stuck in loop.

    Please help me out with this

    • Richard Smith says:

      `googler` has nothing to do with Ubuntu login. You can, however, remove it using `Ctrl Alt F1` and `sudo apt purge googler`.

    • Aaron Kili says:

      @Amrendra

      Try the following steps:

      1. At login screen, press Ctrl+Alt+F1 get a virtual console.
      2. Login with your username and password
      3. Run the command below to rename the hidden file, .Xauthority in your home directory.
      mv .Xauthority .Xauthority.bak
      4. Then switch back to the login screen using Ctrl+Alt+F7.

      I hope this will help, if it doesn’t try to get back.

  5. s_dahl says:

    I liked Googler but have not used it in a while. The one problem I had was opening search results in either w3m or elinks. This CLI rookie would appreciate any suggestions

    • Richard Smith says:

      The man page has some info on this in the ENVIRONMENT section. The usage is:

      `BROWSER=w3m googler -n 3 -d google`

    • Aaron Kili says:

      @s_dahl

      Set the BROWSER environment variable as follows:
      export BROWSER=w3m
      or
      export BROWSER=elinks

      Alternatively, you can set it permanently in the .bash_profile(user-specific configuration) or /etc/profile(for system wide configuration) file
      After that run the command below for the changes to take effect:
      source .bash_profile
      or
      source /etc/profile

  6. Jason Tefaora says:

    Awesome utility! Thank you!

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 202,035
  2. 9,267
  3. 38,621

Are you subscribed?