Table of Contents
In this article, i will show you how to install googler on RHEL/CentOS 7/8 in easy steps. If you are looking for a tool to perform google search from Linux Command Line then you can think about installing and using a tool called googler. This tool provides lot of different options which can be used to perform google search efficiently from the Linux terminal. To Know more about the googler features you can check Googler: Best Tool for Google Search from Linux(RHEL/CentOS 7/8) Command Line or Terminal.
How to Install Googler on RHEL/CentOS 7/8
Also Read: 10 Easy Steps to Install psacct or acct User Activity monitoring tool on RHEL/CentOS 7/8
Step 1: Prerequisites
a) You need to have a running RHEL/CentOS 7/8
System.
b) You should have yum
tool installed in your Server. You can check Top 22 YUM command examples in RedHat/CentOS 7 to know more about yum
command.
c) You need to have root
or sudo
access to run privileged commands. Please Check How to Add User to Sudoers to know more about providing sudo
access to the User.
Step 2: Update Your Server
Before going through the steps to install googler on RHEL/CentOS 7/8
, it is always recommended to first update your server using yum update -y
command as shown below. This will download and install all the latest released updates from yum repository. Installing any new packages might require updated dependencies hence it is very important to keep your server updated.
[root@localhost ~]# yum update -y --> Running transaction check ---> Package ansible.noarch 0:2.9.10-1.el7 will be updated ---> Package ansible.noarch 0:2.9.14-1.el7 will be an update ---> Package ca-certificates.noarch 0:2019.2.32-76.el7_7 will be updated ---> Package ca-certificates.noarch 0:2020.2.41-70.0.el7_8 will be an update ---> Package curl.x86_64 0:7.29.0-57.el7 will be updated ---> Package curl.x86_64 0:7.29.0-57.el7_8.1 will be an update ---> Package dbus.x86_64 1:1.10.24-13.el7_6 will be updated ---> Package dbus.x86_64 1:1.10.24-14.el7_8 will be an update ---> Package dbus-libs.x86_64 1:1.10.24-13.el7_6 will be updated ---> Package dbus-libs.x86_64 1:1.10.24-14.el7_8 will be an update ---> Package grub2.x86_64 1:2.02-0.81.el7.centos will be updated ---> Package grub2.x86_64 1:2.02-0.86.el7.centos will be an update ---> Package grub2-common.noarch 1:2.02-0.81.el7.centos will be updated ---> Package grub2-common.noarch 1:2.02-0.86.el7.centos will be an update ---> Package grub2-pc.x86_64 1:2.02-0.81.el7.centos will be updated
Step 3: Install Python3 on RHEL/CentOS 7/8
Googler has dependency on python3
so you need to first install python3 package on the Server using yum install python3 -y
command as specified below.
[root@localhost ~]# yum install python3 -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirrors.estointernet.in * epel: mirror.telkomuniversity.ac.id * extras: centos.mirrors.estointernet.in * rpmfusion-free-updates: mirrors.piconets.webwerks.in * updates: centos.mirrors.estointernet.in Resolving Dependencies --> Running transaction check ---> Package python3.x86_64 0:3.6.8-13.el7 will be installed --> Processing Dependency: python3-libs(x86-64) = 3.6.8-13.el7 for package: python3-3.6.8-13.el7.x86_64 --> Processing Dependency: python3-setuptools for package: python3-3.6.8-13.el7.x86_64 --> Processing Dependency: python3-pip for package: python3-3.6.8-13.el7.x86_64 --> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-13.el7.x86_64 --> Running transaction check ---> Package python3-libs.x86_64 0:3.6.8-13.el7 will be installed ---> Package python3-pip.noarch 0:9.0.3-7.el7_7 will be installed ---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================================== Installing: python3 x86_64 3.6.8-13.el7 base 69 k Installing for dependencies: python3-libs x86_64 3.6.8-13.el7 base 7.0 M python3-pip noarch 9.0.3-7.el7_7 updates 1.8 M python3-setuptools noarch 39.2.0-10.el7 base 629 k Transaction Summary ======================================================================================================================================================================== Install 1 Package (+3 Dependent packages) Total download size: 9.4 M Installed size: 48 M Downloading packages: (1/4): python3-3.6.8-13.el7.x86_64.rpm | 69 kB 00:00:00 (2/4): python3-setuptools-39.2.0-10.el7.noarch.rpm | 629 kB 00:00:01 (3/4): python3-libs-3.6.8-13.el7.x86_64.rpm | 7.0 MB 00:00:01 (4/4): python3-pip-9.0.3-7.el7_7.noarch.rpm | 1.8 MB 00:00:01 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 5.1 MB/s | 9.4 MB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : python3-setuptools-39.2.0-10.el7.noarch 1/4 Installing : python3-libs-3.6.8-13.el7.x86_64 2/4 Installing : python3-3.6.8-13.el7.x86_64 3/4 Installing : python3-pip-9.0.3-7.el7_7.noarch 4/4 Verifying : python3-pip-9.0.3-7.el7_7.noarch 1/4 Verifying : python3-3.6.8-13.el7.x86_64 2/4 Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/4 Verifying : python3-libs-3.6.8-13.el7.x86_64 4/4 Installed: python3.x86_64 0:3.6.8-13.el7 Dependency Installed: python3-libs.x86_64 0:3.6.8-13.el7 python3-pip.noarch 0:9.0.3-7.el7_7 python3-setuptools.noarch 0:39.2.0-10.el7 Complete!
NOTE:
EPEL
repository by using yum install epel-release -y
command if it is not installed and enabled already.Step 4: Install Googler on RHEL/CentOS 7/8
Once we have python3 installed on the Server, you can now install googler from below rpm
command. Since in this article I am using CentOS 7.7
Server so I will choose my rpm package accordingly from GITHUB link and install it using rpm -ivh <Googler_rpm_package>
command.
[root@localhost ~]# rpm -ivh https://github.com/jarun/googler/releases/download/v4.3.1/googler-4.3.1-1.el7.7.centos.x86_64.rpm Retrieving https://github.com/jarun/googler/releases/download/v4.3.1/googler-4.3.1-1.el7.7.centos.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:googler-4.3.1-1.el7 ################################# [100%]
Step 5: Verify Googler Package Installation
You can verify the installation by querying the googler package from RPMDB using rpm -qa | grep -i googler
command as shown below.
[root@localhost ~]# rpm -qa | grep -i googler googler-4.3.1-1.el7.x86_64
Step 6: Check googler version
If you want to check the googler version then you can use googler -v
command as shown below. As you can see from below output, current googler version is 4.3.1
.
[root@localhost ~]# googler -v 4.3.1
Step 7: Remove Googler Package from RHEL/CentOS 7/8
If you want to remove googler
package from RHEL/CentOS 7/8
then you need to use rpm -ev googler
command as shown below.
[root@localhost ~]# rpm -ev googler Preparing packages... googler-4.3.1-1.el7.x86_64
Popular Recommendations:-
11 Best Python OS Module Examples on Linux
How to Install PIP3 Utility on Linux(RHEL/CentOS 7/8){Easy Steps}
How to Properly Search PHP Modules Using YUM tool in Linux(RHEL/CentOS 7/8)
Solved: ModuleNotFoundError: No module named ‘requests’ in Python 3
How to Install and Configure Squid Proxy Server on RHEL/CentOS 7/8
5 Best Ways to Become root user or Superuser in Linux (RHEL/CentOS/Ubuntu)