How To Install googler on AlmaLinux 8

In this tutorial we learn how to install googler in AlmaLinux 8. googler is Access google search, google site search, google news from the terminal

Introduction

In this tutorial we learn how to install googler on AlmaLinux 8.

What is googler

googler is a power tool to access Google (Web & News) websites and Google Site Search website from the command-line. It shows the title, URL and abstract for each result, which can be directly opened in a browser from the terminal. Results are fetched in pages (with page navigation). Supports sequential searches in a single googler instance. googler was initially written to cater to headless servers without X. You can integrate it with a text-based browser. However, it has grown into a very handy and flexible utility that delivers much more. For example, fetch any number of results or start anywhere, limit search by any duration, define aliases to google search any number of websites, switch domains easily… all of this in a very clean interface without ads or stray URLs. The shell completion scripts make sure you don’t need to remember any options. googler isn’t affiliated to Google in any way.

We can use yum or dnf to install googler on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install googler.

Install googler on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install googler using dnf by running the following command:

sudo dnf -y install googler

Install googler on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install googler using yum by running the following command:

sudo yum -y install googler

How To Uninstall googler on AlmaLinux 8

To uninstall only the googler package we can use the following command:

sudo dnf remove googler

References

Summary

In this tutorial we learn how to install googler on AlmaLinux 8 using yum and dnf.