Skip to content

[Linux] Use Google Search Engine Via Terminal

Last Updated on 2021-08-29 by Clay

Introduction

Long time ago, I have seen people directly use the terminal to search somethings using google search. I think this is a cool thing.

Just about a month or two ago, I tried to install various desktop environments on my Debian.

Finally, a sad thing happened. My desktop environment crashed. Fortunately, I can still use another laptop to connect to it, and the data is still there. It is a great fortune in misfortune.

At that time, I was too lazy to work, and suddenly a thought came into my heart: How about playing and using the terminal to surf the Internet?

There is now this documented article.


Use "googler" package to search

The faster and most convenient way I found is to download a package called googler. If I remember correctly, this term seems to be often used to refer to those who work at Google.

So far, I have only confirmed that it can run on the Debian system. Maybe I need to test it on other systems?

The installation method is very simple, first download from the following URL: Download Googler 1.4.2 for Ubuntu 18.04 (64-bit).

A file called googler_4.2-1_ubuntu18.04.amd64.deb will be downloaded. Open the terminal to install:

sudo dpkg -i googler_4.2-1_ubuntu18.04.amd64.deb


After the installation is over, suppose we want to search for the weather, then enter in the terminal:

googler weather

Output

You can successfully search in the terminal! Is if fairly easy? At the end of the article, attach the developer's GitHub. I heard that in addition to using such a package that others have developed, it seems that many people write scripts by themselves... I really want to study it if I have time.


References


References

Tags:

Leave a Reply