Here’s How Google Can Be Used From Linux Terminal

Linux, which has evolved into one of the most reliable secure, and worry-free operating systems. From smartphones to cars, supercomputers and home appliances, the Linux operating system is everywhere now. Most of the Linux users revolve around the command line from listing contents of a directory, changing file permissions, installing packages, etc. How to use the internet in Linux? However, there are many text-based web browsers for Linux command line in existence, we open Google search engine through these web browsers as it is the most popular search engine.

Can we open Google directly without using the command line text-based web browser? Yes, here is the way to use Google from Linux terminal.


  1. How to Use Google From Linux Terminal?

  2. How to Install Googler To Use Google Search From Command Line?

  3. Install the Git package:

  4. Commands To Install Googler:

  5. How to Use Googler?

  6. Meet the omnipromt:

  7. Google Search Using Googler:

  8. For news:

  9. You Can limit the number of search results:

  10. Search on a specific website:

  11. Man googler

How to Use Google From Linux Terminal?

By using Googler it is possible to use Google. Googler, which allows to use Google search in the Linux command line and is a power tool to Google (Web & News) and Google Site Search. It shows the title, URL and abstract for each result, which can be directly opened in a browser from the terminal.

google

The Googler command line utility, initially intended for Servers running GUI-less Linux distros, allows you to search Google and open the results using commands. However, you won’t be able to have rich graphics.

How to Install Googler To Use Google Search From Command Line?

Googler is currently not available on repositories of famous Linux distos like Ubuntu. However, you can install it from GitHub repository. googler requires Python 3.3 or later. Only the latest patch release of each minor version is supported.

linux-for-google

Install the Git package:

When you proceed with the commands below, it may ask you to install Git. Go ahead using the command mentioned:

sudo apt install git

Commands To Install Googler:

After installing Git, run these commands one by one:

cd /tmp

git clone https://github.com/jarun/googler.git

cd googler

sudo make installcd auto-completion/bash/

cd auto-completion/bash/

sudo cp googler-completion.bash /etc/bash_completion.d/

How to Use Googler?

Firstly, open Googler by using Linux command line and type

“googler”

googler

Meet the omnipromt:

Googler has a prompt named omniprompt like regular prompt in the Linux.