Install Rust Programming Language In Linux

How To Install Rust Programming Language In Linux

4 Responses

  1. Alex-PK says:

    You don’t need to create the project directory manually and run rustc directly. The recommended way is to use cargo:

    cd ~/my_rust_projects

    cargo new hello_world

    cd hello_world

    cargo run

  2. Terence Golightly says:

    Hi Ostechnix,

    This unfortunately does not work for me. I’m running omv with a pve kernel bash shell 4.4.12(1)
    $ uname -vm
    #1 SMP PVE 4.15.18-52 (Thu, 05 Dec 2019 10:14:17 +0100) x86_64

    $ which curl

    $ which sh

    $ echo $PATH

    $ curl -sSf | sh
    -bash: $: command not found
    I tried placing the quotes around the url n/c
    tried quoting the whole string url to sh same result.
    Havn’t tried to install rustc using apt. Just thought there might be some input you can provide me with.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.