How To Install googler on CentOS 8
Introduction
In this tutorial we learn how to install googler
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install googler.
Install googler on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the googler
package we can use the following command:
sudo dnf remove googler
googler Package Contents on CentOS 8
/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 CentOS 8 using yum and dnf.