Closed jbrains closed 5 years ago
OK. This seems related: https://github.com/rust-osdev/bootimage/issues/12
I don't know rust
yet. If I've only installed cargo
, then can I update the rust
compiler? How do I?
Thank you.
Hi @jbrains! The best way to compile Amp is via Rust's most recent stable release. Rust manages versions through rustup
; you can find installation instructions here. If you're using a version of Rust provided by your package manager (apt-get
if you're Ubuntu/Debian-based), it's likely old. Uninstall that and use rustup
as linked above, instead. 🙂
Hey - I'm also on Pop! OS here (which I love). You should be able to install amp, once you have a recent Rust (using rustup
as mentioned above) with the line:
cargo install --git https://github.com/jmacdonald/amp
If it fails building a package then, you may need to install a few ubuntu packages. I think I had to install a few dependencies, like the developer headers for libssl (which is mentioned in the blog post you link to)
Thanks, @jonathandturner! I tried the cargo install
, but I guess I don't have a recent-enough version of Rust. I'm not looking to learn too much Rust (yet), so I can try installing for the next 20 minutes and see what happens. Between your suggestion and @jmacdonald's advice, I might be able to get amp
running.
Thank you both.
Yay! I installed amp
, although not without some microdrama. I've written about that:
https://jb.rainsberger.ca/permalink/installing-amp-a-text-editor
Thank you both for your help. I look forward to trying amp
.
I don't know what I'm doing; please be gentle.
I followed the instructions at https://linoxide.com/tools/amp-text-editor-linux-terminal/ for Ubuntu 16.04, even though I'm running Pop!_OS, which is "essentially" Ubuntu 18.04.
No issues with the prerequisite steps.
libssl-dev
andcargo
appear to have installed without incident. Following is the output from my second attempt.I am in your hands. Thank you.