Questions tagged [rust]

Rust is a general purpose, curly-brace, block-structured expression, compiled programming language developed by Mozilla Research.

Filter by
Sorted by
Tagged with
0
votes
0answers
172 views

cant use "cargo, rustup and rustc" even after installing rust-lang

So I installed rust in my WSL (Ubuntu) as the official site says, by doing curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh I see the commands exist (cargo, rustc, rustup) in ~/.cargo/...
1
vote
1answer
71 views

How to install debcargo in Ubuntu? It is in the Debian repositories, but not in Ubuntu [duplicate]

debcargo is a Debian package for packaging rust apps in .deb format. It is available in Debian Buster and above, but I could not find the package in Ubuntu 20.04 and 20.10. Why is the package not ...
1
vote
1answer
260 views

How to build this Rust program in Launchpad? It fails to build

I am trying to build popsicle in Launchpad (I cloned the repository from GitHub, and am trying to build it using this package recipe), and it fails to build. Here is the relevant part of the buildlog ...
0
votes
2answers
337 views

how to install mysqlclient lib as required by diesel

Compiling diesel_cli on Ubuntu 16.04, I'm unable to find which package I should install to get rid if the message ~$ cargo install diesel_cli Updating crates.io index Installing diesel_cli v1.4....
6
votes
2answers
2k views

.profile not working on xfce4

I just installed Rust by curl https://sh.rustup.rs -sSf | sh and rebooted my system. But I cannot access cargo, rustc.. on my terminal. My .profile file contains the following line export PATH="$...
0
votes
1answer
2k views

Install Cargo/Rust on Ubuntu 18.04 Amazon AMI to use Cargo Packages (Exa)

I wanted to install and use Exa on AWS Ubuntu 18.04 Image. Exa is a cargo package, how do I install Rust and Cargo to install Exa? How do I use cargo packages on Ubuntu 18.04? I ran into the error ...
0
votes
0answers
85 views

Perf does not annotate .c files called by Rust

I am using perf to profile a rust application which calls some .c files. I want to annotate the .c functions. However in the perf report i can find only rust code annotated. I have compiled the ...
1
vote
1answer
3k views

How to install libxcb-randr 1.12 on Ubuntu 16.04?

Ubuntu 16.04 (16.04.4) ppa contains only 1.11. But for Rust program compilation i need 1.12 version. How to deal with it ? P.s. 17.04 contains xcb v.1.12
0
votes
1answer
175 views

Why does Ubuntu 18.04 come with rustc 1.18? [closed]

I'm aware of the fact that Ubuntu 18.04 isn't released yet and things can change. However, all versions < 18.04 provide rustc 1.21 whereas 18.04 comes with 1.18 which already is quite old (recent ...
1
vote
0answers
108 views

Issue with installing rusti (Rust interactive shell)

I am trying to install Rusti (the Rust programming language interactive shell) from https://github.com/murarth/rusti But after this command, (as suggested in the GitHub page) rustup run nightly-...
1
vote
1answer
641 views

Rust installation issue in ubuntu-gnome 16.04.2

I am having trouble installing Rust on my ubuntu-gnome 16.04.2. I followed the basic installation mentioned on the Rust website. I am attaching the command output for perusal $ curl https://sh.rustup....
2
votes
1answer
2k views

Does running make clean after make install affect the installed program?

Upon cloning, building, and installing rust from their github repository I've found it takes up ~2.8 GB on my system. I've got relatively limited space on my machine (100GB), so I was wondering two ...
30
votes
4answers
22k views

Where are the Rust (aka rust-lang) packages for Ubuntu?

I'd like to play with the Rust language on Ubuntu, but there don't seem to be any packages. Did I miss it or is there some problem?