Skip to content

How do I install ripgrep on Linux if I don't have root permissions? #2477

Answered by BurntSushi
luo4lu asked this question in Q&A
Discussion options

You must be logged in to vote

The very beginning of the installation instructions in the README answer this:

Archives of precompiled binaries for ripgrep are available for Windows, macOS and Linux. Linux and Windows binaries are static executables. Users of platforms not explicitly mentioned below are advised to download one of these archives.

It doesn't specifically call out that you don't need root for this, but it's just downloading some files. You shouldn't need root for that. So for example, to download and use ripgrep without root using pre-compiled binaries (this should work on any x86-64 Linux):

$ curl -LO 'https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-mus…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2476 on March 24, 2023 11:55.