{"id":12155,"date":"2021-05-07T19:08:22","date_gmt":"2021-05-07T19:08:22","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=12155"},"modified":"2021-05-07T19:08:22","modified_gmt":"2021-05-07T19:08:22","slug":"rust-installation-on-linux","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=12155","title":{"rendered":"Rust Installation on Linux"},"content":{"rendered":"<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ curl --proto '=https' --tlsv1.2 -sSf https:\/\/sh.rustup.rs | sh\r\ninfo: downloading installer\r\n\r\nWelcome to Rust!\r\n\r\nThis will download and install the official compiler for the Rust\r\nprogramming language, and its package manager, Cargo.\r\n\r\nRustup metadata and toolchains will be installed into the Rustup\r\nhome directory, located at:\r\n\r\n  \/home\/andreas\/.rustup\r\n\r\nThis can be modified with the RUSTUP_HOME environment variable.\r\n\r\nThe Cargo home directory located at:\r\n\r\n  \/home\/andreas\/.cargo\r\n\r\nThis can be modified with the CARGO_HOME environment variable.\r\n\r\nThe cargo, rustc, rustup and other commands will be added to\r\nCargo's bin directory, located at:\r\n\r\n  \/home\/andreas\/.cargo\/bin\r\n\r\nThis path will then be added to your PATH environment variable by\r\nmodifying the profile files located at:\r\n\r\n  \/home\/andreas\/.profile\r\n  \/home\/andreas\/.bashrc\r\n\r\nYou can uninstall at any time with rustup self uninstall and\r\nthese changes will be reverted.\r\n\r\nCurrent installation options:\r\n\r\n\r\n   default host triple: x86_64-unknown-linux-gnu\r\n     default toolchain: stable (default)\r\n               profile: default\r\n  modify PATH variable: yes\r\n\r\n1) Proceed with installation (default)\r\n2) Customize installation\r\n3) Cancel installation\r\n&gt;1\r\n\r\ninfo: profile set to 'default'\r\ninfo: default host triple is x86_64-unknown-linux-gnu\r\ninfo: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'\r\ninfo: latest update on 2021-05-06, rust version 1.52.0 (88f19c6da 2021-05-03)\r\ninfo: downloading component 'cargo'\r\ninfo: downloading component 'clippy'\r\ninfo: downloading component 'rust-docs'\r\n 15.3 MiB \/  15.3 MiB (100 %)   8.3 MiB\/s in  2s ETA:  0s\r\ninfo: downloading component 'rust-std'\r\n 24.1 MiB \/  24.1 MiB (100 %)  10.4 MiB\/s in  2s ETA:  0s\r\ninfo: downloading component 'rustc'\r\n 48.7 MiB \/  48.7 MiB (100 %)   9.9 MiB\/s in  5s ETA:  0s\r\ninfo: downloading component 'rustfmt'\r\ninfo: installing component 'cargo'\r\ninfo: using up to 500.0 MiB of RAM to unpack components\r\n  6.0 MiB \/   6.0 MiB (100 %) 726.4 KiB\/s in  7s ETA:  0s\r\ninfo: installing component 'clippy'\r\ninfo: installing component 'rust-docs'\r\n 15.3 MiB \/  15.3 MiB (100 %)   1.8 MiB\/s in  7s ETA:  0s\r\ninfo: installing component 'rust-std'\r\n 24.1 MiB \/  24.1 MiB (100 %)   2.0 MiB\/s in 20s ETA:  0s\r\ninfo: installing component 'rustc'\r\n 48.7 MiB \/  48.7 MiB (100 %) 718.4 KiB\/s in 59s ETA:  0s\r\ninfo: installing component 'rustfmt'\r\n  3.6 MiB \/   3.6 MiB (100 %)   3.6 MiB\/s in  1s ETA:  0s\r\ninfo: default toolchain set to 'stable-x86_64-unknown-linux-gnu'\r\n\r\n  stable-x86_64-unknown-linux-gnu installed - rustc 1.52.0 (88f19c6da 2021-05-03)\r\n\r\n\r\nRust is installed now. Great!\r\n\r\nTo get started you may need to restart your current shell.\r\nThis would reload your PATH environment variable to include\r\nCargo's bin directory ($HOME\/.cargo\/bin).\r\n\r\nTo configure your current shell, run:\r\nsource $HOME\/.cargo\/env\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$ curl &#8211;proto &#8216;=https&#8217; &#8211;tlsv1.2 -sSf https:\/\/sh.rustup.rs | sh info: downloading installer Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. Rustup metadata and toolchains will be installed into the Rustup home directory, located at: \/home\/andreas\/.rustup This can be modified with the RUSTUP_HOME [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12155","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12155"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12155\/revisions"}],"predecessor-version":[{"id":12156,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12155\/revisions\/12156"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}