LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 20.04: after installing ripgrep I get "Command 'ripgrep' not found, did you mean: ..." (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-20-04-after-installing-ripgrep-i-get-command-ripgrep-not-found-did-you-mean-4175705852/)

hish2021 01-04-2022 10:10 PM

Ubuntu 20.04: after installing ripgrep I get "Command 'ripgrep' not found, did you mean: ..."
 
I'm on Ubuntu 20.04 and installed ripgrep with sudo apt install ripgrep after running sudo apt update without errors.

Code:

~ $ apt policy ripgrep
ripgrep:
  Installed: 11.0.2-1build1
  Candidate: 11.0.2-1build1
  Version table:
 *** 11.0.2-1build1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
  ~ $

But
ripgrep --version and ripgrep --help give me

Code:

Command 'ripgrep' not found, did you mean:

  command 'zipgrep' from deb unzip (6.0-25ubuntu1)
  command 'sipgrep' from deb sipgrep (2.1.0-2build1)

Try: sudo apt install <deb name>

And
Code:

  ~ $ man ripgrep
No manual entry for ripgrep
  ~ $ info ripgrep
info: No menu item 'ripgrep' in node '(dir)Top'
  ~ $

Any idea about what's wrong? (I tried searching LQ for "ripgrep" but got a database error.)

hish2021 01-04-2022 10:15 PM

The command is rg!


All times are GMT -5. The time now is 04:25 PM.