Compilation-related error on Ubuntu 24.04 LTS
Author: PeonyThePeonCreated Apr 2, 2026Updated Apr 2, 2026
Labelsbug
Describe the bug The current README says (essentially) that to compile ripgrep-all from source, the following steps are required:
$ apt install build-essential pandoc poppler-utils ffmpeg ripgrep cargo
$ rustc --version # Must be v1.75.0 or newer
$ cargo install --locked ripgrep_all
$ rga --version # this should work nowUnfortunately, this fails at the third step.
To Reproduce
$ sudo apt install build-essential pandoc poppler-utils ffmpeg ripgrep cargo
[sudo] password for peon:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.10ubuntu1).
pandoc is already the newest version (3.1.3+ds-2).
poppler-utils is already the newest version (24.02.0-1ubuntu9.8).
ffmpeg is already the newest version (7:6.1.1-3ubuntu5).
ripgrep is already the newest version (14.1.0-1).
cargo is already the newest version (1.75.0+dfsg0ubuntu1-0ubuntu7.1).
0 to upgrade, 0 to newly install, 0 to remove and 21 not to upgrade.
$ rustc --version
rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)
$ cargo install --locked ripgrep_all
Updating crates.io index
Downloaded ripgrep_all v0.10.10
error: failed to download replaced source registry `crates-io`
Caused by:
failed to parse manifest at `/home/peon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep_all-0.10.10/Cargo.toml`
Caused by:
feature `edition2024` is required
The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.75.0).
Consider trying a more recent nightly release.
See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.Operating System and Version
Ubuntu 24.04.4 LTS
Output of rga --version
$ rga --version
Command 'rga' not found, did you mean:
command 'rg' from snap ripgrep (12.1.0)
command 'rg' from deb ripgrep (14.0.3-1)
command 'rgs' from deb rgpio-tools (0.2.0.0-0ubuntu2)
command 'sga' from deb sga (0.10.15-7build1)
command 'ra' from deb argus-client (1:3.0.8.2-6.2ubuntu1)
See 'snap info <snapname>' for additional versions.```Source: phiresky/ripgrep-all