Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Atuin on Rocky Linux 8 #934

Open
asitemade4u opened this issue May 3, 2023 · 5 comments
Open

Unable to install Atuin on Rocky Linux 8 #934

asitemade4u opened this issue May 3, 2023 · 5 comments

Comments

@asitemade4u
Copy link

asitemade4u commented May 3, 2023

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

@YummyOreo
Copy link
Contributor

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

@asitemade4u
Copy link
Author

asitemade4u commented May 5, 2023

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

@YummyOreo
Copy link
Contributor

YummyOreo commented May 5, 2023

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

Edit: you need cargo version above 1.64: see changelog

@asitemade4u
Copy link
Author

1.62.1

@asitemade4u
Copy link
Author

asitemade4u commented May 5, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants