The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/

Rust

Jump to: navigation, search


Details about the Rust programming language in OpenSUSE

For Software Developers

There are two primary ways to use Rust for development on OpenSUSE. You can either install the Rust packages from zypper, or you can use rustup. For the majority of developers, rustup is the preferred and most flexible option.

rustup

rustup is the Rust languages tool for managing your local Rust environment. It allows multiple parallel versions of rust to be installed, updated and maintained, as well as providing a large number of extra tools helpful to developers.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

For more details you can see the extended rustup documentation

zypper

You can install the latest Rust from zypper with:

zypper in cargo rust

Note that unlike rustup, you can only have a single version of Rust installed with zypper.

Packaging Software Written in Rust

See the detailed guide: Packaging Rust Software

Packaging the Rust Compiler

See the detailed guide: Packaging Rustlang