atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Unable to install Atuin on Rocky Linux 8

Open asitemade4u opened this issue 1 year ago • 5 comments

Hi, And the best to you because Atuin is amazing and very very useful... I am using it all the time from my Manjaro based desktop.

But our servers have Rocky Linux 8 as OSes (Rocky is a clone of Red Hat) and despite my efforts I was unable to install Atuin on them and use it when we ssh our servers. Of course I tried to compile it from source:

  1. I installed rust (1.62) + cargo (1.62) as they are not installed by default on Rocky
  2. I then followed your instructions but they failed at the last step. Here is the error message:
error: found a virtual manifest at `/root/atuin/Cargo.toml` instead of a package manifest

Please help, Stephen

asitemade4u avatar May 03 '23 21:05 asitemade4u

you need to cd into atuin again so it would be root/atuin/atuin/

YummyOreo avatar May 05 '23 00:05 YummyOreo

Thank you for your response @YummyOreo .

However, when I go one directory down and execute cargo install --path . I get this new error message:

error: failed to parse manifest at `/root/atuin/atuin/Cargo.toml`
Caused by:
  feature `workspace-inheritance` is required
  The package requires the Cargo feature called `workspace-inheritance`, but that feature is not stabilized in this version of Cargo (1.62.1).
  Consider trying a newer version of Cargo (this may require the nightly release).
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#workspace-inheritance for more information about the status of this feature

asitemade4u avatar May 05 '23 01:05 asitemade4u

what's your cargo version. you may need to update to 1.69

Edit: you need cargo version above 1.64: see changelog

YummyOreo avatar May 05 '23 01:05 YummyOreo

1.62.1

asitemade4u avatar May 05 '23 02:05 asitemade4u

OK, it worked. For others who might face the same Rust/Cargo version issues, here is the link to the article that allowed me to install the latest versions: https://vitux.com/how-to-install-rust-compiler-and-toolchain-on-rocky-linux-8/

Thank you for your help!

asitemade4u avatar May 05 '23 02:05 asitemade4u