How would you install ripgrep-all?

The program is not in the Fedora repositories, but can be compiled by running (I used Docker; about the @development-tools package; start by enabling the ‘free’ RPM repo):

$ dnf install @development-tools pandoc poppler-utils ffmpeg ripgrep cargo

then continue following the compiling instructions:

$ cargo install --locked ripgrep_all
$ rga --version

add to the binary to $PATH:

export PATH=$PATH:/root/.cargo/bin

Are there alternative methods? ripgrep-all seems highly desirable since the program can search through various office and compressed formats.

This approach (build it locally) seems just fine, but if you would like to go to the next step, you could consider packaging it for the distro. There is a #rust Special Interest Group, which hasn’t been very active lately but some folks may be interested in helping…

1 Like