Closed FunctionDJ closed 1 year ago
Uninstall cargo from apt:
sudo apt remove cargo
and try installing cargo with rustup:
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
This should install the latest rust toolchain and allow you to build ripdrag. Let me know if this fixes it, so I can update the instructions for ubuntu. Thanks
@nik012003 installation worked and i can run ripdrag, but i get the following output, not sure if those warnings are significant:
$ ripdrag
(ripdrag:31522): Gtk-WARNING **: 15:37:01.447: Unknown key gtk-modules in /home/function/.config/gtk-4.0/settings.ini
(ripdrag:31522): Gtk-WARNING **: 15:37:01.762: GtkGizmo 0x5573b24f1cb0 (slider) reported min width -2, but sizes must be >= 0
(ripdrag:31522): Gtk-WARNING **: 15:37:01.762: GtkGizmo 0x5573b24e1c00 (slider) reported min height -2, but sizes must be >= 0
^C
When you update the instructions, could you please also add how to undo the installation? Thanks a lot :)
The gtk-warnings shouldn't matter, unfortunately there are still a few things to iron out with new gtk versions.
The new instruction will be the ones I posted in the previous comment, so there's nothing to undo here.
If you still wanna remove everything, you can:
uninstall ripdrag: cargo uninstall ripdrag
remove the toolchain: rustup self uninstall
Thanks a lot!
Full error upon running
cargo install ripgrep
(non-sudo):