How To Install googler on Fedora 34

googler is Access google search, google site search, google news from the terminal

Introduction

In this tutorial we learn how to install googler on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install googler.

Install googler on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install googler

Install googler on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove googler

googler Package Contents on Fedora 34

/usr/bin/googler
/usr/share/bash-completion/completions/googler-completion.bash
/usr/share/doc/googler
/usr/share/doc/googler/CHANGELOG
/usr/share/doc/googler/README.md
/usr/share/fish/vendor_functions.d
/usr/share/fish/vendor_functions.d/googler.fish
/usr/share/licenses/googler
/usr/share/licenses/googler/LICENSE
/usr/share/man/man1/googler.1.gz
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_googler

References

Summary

In this tutorial we learn how to install googler on Fedora 34 using yum and dnf.