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

Does not install on Ubuntu #1127

Open
mabushey opened this issue Aug 27, 2020 · 1 comment
Open

Does not install on Ubuntu #1127

mabushey opened this issue Aug 27, 2020 · 1 comment

Comments

@mabushey
Copy link

I have Rust installed the correct way via the OS:

$ dpkg -l | grep rust                                                                                                                                                                                                                 127 ↵ master 
ii  libstd-rust-1.43:amd64                                      1.43.0+dfsg1+llvm-1~exp1ubuntu1~20.04.1 amd64        Rust standard libraries
ii  libstd-rust-dev:amd64                                       1.43.0+dfsg1+llvm-1~exp1ubuntu1~20.04.1 amd64        Rust standard libraries - development files
ii  p11-kit-modules:amd64                                       0.23.20-1build1                         amd64        p11-glue proxy and trust modules
ii  rust-gdb                                                    1.43.0+dfsg1+llvm-1~exp1ubuntu1~20.04.1 all          Rust debugger (gdb)
ii  rustc                                                       1.43.0+dfsg1+llvm-1~exp1ubuntu1~20.04.1 amd64        Rust systems programming language

The docs infer I need to run rustc. I would be happy to that in a docker container, but I'm not trashing my OS... Is there any way to install this the Debian [correct] way on Ubuntu? I'm happy to copy the plugin into ~/.vim_runtime/my_plugins If I can figure out how to compile it.

@danieldjewell
Copy link

I'm 99% sure that this is because of:

From 2.1, racer needs **nightly rust**

And installing rust via apt/apt-get/dpkg doesn't get you nightly.

As long as you're on one of the most common Architecture/OS combos (Linux / x86_64, for example), https://rustup.rs will happily install nightly. Read the book here: https://rust-lang.github.io/rustup/ If you are on something else (aarch64, for example, your experience will likely vary....)

AFAIK, Rust kinda eschews distro package managers in favor of rustup... unlike other projects like MariaDB or MongoDB where you can add their repo to apt and install actual packages.

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