At first make sure you have python version 3.3 or later using this command-
python3 --version
If not, upgrade it.
All we have to do is run the following commands-
cd /tmp
git clone https://github.com/jarun/googler.git
cd googler
sudo make install
cd auto-completion/bash/
sudo cp googler-completion.bash /etc/bash_completion.d/
Googler is installed.
Type this command in terminal to search -
googler <search topic>
News Search: If you want to search News, start googler with the N optional argument:
googler -N
The subsequent omniprompt will fetch results from Google News.
Site Search: If you want to search pages from a specific site, run googler with w {domain} argument:
googler -w itsfoss.com
The subsequent omniprompt with fetch results only from It’s FOSS blog!
Manual Page: Run the following command for Googler manual page equipped with various examples:
man googler
Google country/domain specific search:
googler -c in "hello world"
The above example command will open search results from Google’s Indian domain (in for India).
Its done...!
Comments
Post a Comment