Questions tagged [rust]

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

Rust is a curly-brace, block-structured expression language. It visually resembles the C language family, but differs significantly in syntactic and semantic details. Its design is oriented toward concerns of “programming in the large”, that is, of creating and maintaining boundaries – both abstract and operational – that preserve large-system integrity, availability and concurrency.

It supports a mixture of imperative procedural, concurrent actor, object-oriented and pure functional styles. Rust also supports generic programming and metaprogramming, in both static and dynamic styles.

Source:The Rust Programming Language

20 questions
30
votes
4 answers

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?
poolie
  • 9,161
  • 4
  • 38
  • 62
7
votes
2 answers

.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="$HOME/.cargo/bin:$PATH" I'm using Xfce 4.12 as my…
3
votes
1 answer

How do I access Rust documentation?

I installed Rust from the rustlang.org website. I tried to look at the Book: rustup doc --book This results in an "Access to the file was denied" error in Firefox. I assumed this was a snap issue, and asked in their forum. Got crickets. So, I'm…
ikmac
  • 1,353
  • 3
  • 12
  • 18
2
votes
1 answer

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 things: After running make install (or sudo make…
Ian
  • 675
  • 1
  • 5
  • 26
2
votes
1 answer

What is /proc/85/root/tty & why am I seeing it written to every 1 second?

I'm watching which files / directories are being written to on my Ubuntu 22.04.1 LTS installation (kernel v. 5.15.0-52-generic). Suddenly I'm seeing writes to /proc/85/root/tty every 1 second. I know this may be some specific process (such as…
raddevus
  • 1,728
  • 1
  • 13
  • 23
1
vote
0 answers

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-2016-08-01 cargo install --git…
A. N. Other
  • 197
  • 3
  • 9
1
vote
1 answer

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.rs -sSf | sh info: downloading installer Welcome…
vanillascotch
  • 1,282
  • 2
  • 12
  • 13
1
vote
1 answer

How to build Spot (native Spotify client) on Ubuntu 22.04?

Please help me compile and install Spot, a native Spotify client for GNOME, on Ubuntu 22.04. Instructions Here are the instructions from the application's GitHub page: Requires Rust (stable), GTK4, and a couple other things. Also requires…
Enterprise
  • 12,002
  • 11
  • 60
  • 105
1
vote
1 answer

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

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 available in Ubuntu? Is it available under some other…
Archisman Panigrahi
  • 25,210
  • 17
  • 90
  • 185
1
vote
1 answer

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 dpkg-buildpackage: info: source package…
Archisman Panigrahi
  • 25,210
  • 17
  • 90
  • 185
1
vote
2 answers

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.0 ... Compiling toml v0.4.10 Compiling…
CapelliC
  • 257
  • 1
  • 2
  • 10
1
vote
1 answer

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
uptoyou
  • 867
  • 1
  • 8
  • 23
0
votes
0 answers

moshudp crosscompilation

I have a board with MIPS cpu of mips64el and buildRoot with toolchain. When I try compile a moshudp program by rust from buildRoot I get follow error $ source $BUILD_ROOT_PATH/buildroot/output/host/environment_setup $ cargo build --target…
Vitaly
  • 1
  • 1
0
votes
0 answers

Multiple errors after failed installation

I am using Ubuntu via WSL. I was trying to install Rust using this command (taken from the official website): curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Unfortunately, it seems that the installation had failed due to lack of…
Ohad
  • 101
  • 2
0
votes
0 answers

Cross Compilation is RUST

I am doing cross compilation on my laptop for raspberry pi. Target triplet on my laptop x86_64-linux-gnu Target triplet on my raspberry pi is arm-linux-gnueabihf I am using UBUNTU 20.04 .cargo/confi.toml…
Ankit Kumar
  • 121
  • 6
1
2