Googler – Google Search from your Linux Terminal

Googler is a powerful tool to perform Google search from the command-line. Let's check its installation and usage.

-Advertisement-

What if you are on your Linux terminal, executing some commands, and you need to google something without leaving the terminal? Is it possible to perform the internet search right from your terminal?

With Linux, everything is possible. You can google from the Linux terminal and enjoy the lovely terminal dark background. What more, you can even send the results from your terminal directly to your browser.

To make this possible, we shall use Googler. This genius command-line tool to google anything right from your Linux terminal window. Not just that, you can search Google News, and search for any specific website too.

If you are a terminal geek who loves to do everything with commands, then definitely this article is for you.

Pre-requisite

-Advertisement-

Before installing the Googler tool on your Linux, you need to make sure that the current installed Python version is 3.5 or later. Use the following command to check your current installed Python version on Ubuntu.

python3 --version

Check Python Package Version
Check Python Package Version

As you can see in our case, the Python version is 3.6, so you can move forward. If you have Python with version less than the recommended one, all you need to do is to upgrade Python to meet the installation requirements.

Installing Googler

-Advertisement-

Step 1. To install the tool:

  • On Fedora:
dnf install googler
  • On Debian:
apt-get install googler
  • On openSUSE:
zypper in googler
  • On FreeBSD:
-Advertisement-
pkg install googler
  • On Ubuntu:
apt install googler

Install Googler Package
Install Googler Package

Step 2. Check the current Googler’s version to make sure that it is installed successfully.

googler --version

Check The Googler Installed Version
Version Check

Step 3. Check if there is a new Googler version by letting the tool upgrade itself using the following command.

sudo googler -u

Let Googler To Upgrade Itself
Upgrade

Step 4. Check the Googler’s new version.

googler --version

New Googler Version
New Googler Version

Googler Usage Examples

Step 1. You can have a look at the Googler “help” option to know more about how to use it.

googler --help

Check The Googler Help Option
Check The Googler Help Option

Step 2. Now let’s assume you need to search a specific website. For example, let’s search for all the Ubuntu articles on the “fosslinux” website.

googler -w fosslinux.com ubuntu

Search Website For Certain Results
Search Website For Certain Results

Step 3. Assume you need to get only a certain number of results with a specific time. For example, search the “fosslinux” website for all the Ubuntu articles in the last two months and display only the first three articles.

googler -n 3 -t m2 -w fosslinux.com ubuntu

Get The First 3 Results In The Past 2 Months
Get The First 3 Results In The Past 2 Months

Step 4. To search Google directly:

googler ubuntu

Search Google For Specific Keyword
Search Google For Specific Keyword

That’s all about Google search within the Linux Terminal.

-Advertisement-
Hend Adel
Hi! I'm Hend Adel, a freelancer technical geek with successful experience in Database, Linux and many other IT fields. I help to build solutions to suit business needs and creating streamlined processes. I love Linux and I'm here to share my skills via FOSS Linux! Thanks for reading my article.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,639FansLike
362FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

Top 20 Git Commands with Practical Examples

If you are here reading this post, there is a high probability that you have heard or interacted with Github, and you now want to learn Git. Before we continue with showing you some of the cool Git commands, let's understand the difference between Git and GitHub.

Top 10 New Features in Linux Kernel 5.7

Linus Torvalds has announced the release of Linux Kernel 5.7 after seven weeks of development. The release announcement comes as a piece of exciting news as it brings a host of new features for the hardware manufacturers as well as the developers.

How to install CMake on Ubuntu

CMake is a cross-platform free and open-source software tool designed to build, test, and package the software. CMake uses a simple platform and compiler-independent configuration files to control the software compilation process.

How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

MUST READ

Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

Ubuntu 19.10 (Eoan Ermine) Beta Installation and Overview

It may be early, but I've been looking forward to the release of Ubuntu 19.10 for some time now. As an impatient person, and promised readers in the FOSSLinux article announcing the release of Eoan Ermine that we would provide you a review of Ubuntu 19.10 Eoan Ermine - Beta.  So, here it goes.

13 ways to use the copy command in Linux (with examples)

Being a Linux user, copying files and directories is one of the everyday tasks that you have to carry out. It can be copying a file to make a backup or copy it to another partition, directory, or external storage drive.

10 top reasons to switch to Manjaro Linux

Manjaro is Linux distro based on Arch-Linux which follows a rolling release model. Is this distro good for you? Let's find out the main reasons for using Manjaro.

CopyQ – Advanced clipboard manager for Linux

We have all had that moment when we copied a text, but we first needed another one, and in the process, lost the first one. If you're lucky, you can get it back quickly with a bit of work.