root@debian:~# apt-get install -y libssl-dev pkg-config Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libdpkg-perl libfile-fcntllock-perl libssl-doc libssl1.1 Suggested packages: debian-keyring The following NEW packages will be installed: libdpkg-perl libfile-fcntllock-perl libssl-dev libssl-doc pkg-config The following packages will be upgraded: libssl1.1 1 upgraded, 5 newly installed, 0 to remove and 366 not upgraded. Need to get 5,817 kB of archives. After this operation, 14.5 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian stretch/main amd64 libssl1.1 amd64 1.1.0l-1~deb9u1 [1,358 kB] Get:2 http://deb.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18.25 [1,287 kB] Get:3 http://deb.debian.org/debian stretch/main amd64 libfile-fcntllock-perl amd64 0.22-3+b2 [35.3 kB] Get:4 http://deb.debian.org/debian stretch/main amd64 libssl-dev amd64 1.1.0l-1~deb9u1 [1,594 kB] Get:5 http://deb.debian.org/debian stretch/main amd64 libssl-doc all 1.1.0l-1~deb9u1 [1,480 kB] Get:6 http://deb.debian.org/debian stretch/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB] Fetched 5,817 kB in 0s (13.8 MB/s) Preconfiguring packages ... (Reading database ... 139291 files and directories currently installed.) Preparing to unpack .../0-libssl1.1_1.1.0l-1~deb9u1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.0l-1~deb9u1) over (1.1.0f-3+deb9u2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../1-libdpkg-perl_1.18.25_all.deb ... Unpacking libdpkg-perl (1.18.25) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../2-libfile-fcntllock-perl_0.22-3+b2_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3+b2) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../3-libssl-dev_1.1.0l-1~deb9u1_amd64.deb ... Unpacking libssl-dev:amd64 (1.1.0l-1~deb9u1) ... Selecting previously unselected package libssl-doc. Preparing to unpack .../4-libssl-doc_1.1.0l-1~deb9u1_all.deb ... Unpacking libssl-doc (1.1.0l-1~deb9u1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../5-pkg-config_0.29-4+b1_amd64.deb ... Unpacking pkg-config (0.29-4+b1) ... Setting up libdpkg-perl (1.18.25) ... Setting up libfile-fcntllock-perl (0.22-3+b2) ... Setting up pkg-config (0.29-4+b1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libssl1.1:amd64 (1.1.0l-1~deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libssl-doc (1.1.0l-1~deb9u1) ... Setting up libssl-dev:amd64 (1.1.0l-1~deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... root@debian:~# wget -O - https://sh.rustup.rs | sh --2020-06-04 14:36:17-- https://sh.rustup.rs/ Resolving sh.rustup.rs (sh.rustup.rs)... 52.85.104.126, 52.85.104.5, 52.85.104.103, ... Connecting to sh.rustup.rs (sh.rustup.rs)|52.85.104.126|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 11325 (11K) [application/x-sh] Saving to: ‘STDOUT’ - 100%[=========================================================>] 11.06K --.-KB/s in 0.001s 2020-06-04 14:36:17 (9.98 MB/s) - written to stdout [11325/11325] info: downloading installer --2020-06-04 14:36:17-- https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init Resolving static.rust-lang.org (static.rust-lang.org)... 13.224.239.110, 13.224.239.128, 13.224.239.34, ... Connecting to static.rust-lang.org (static.rust-lang.org)|13.224.239.110|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 12245112 (12M) [binary/octet-stream] Saving to: ‘/tmp/tmp.NjkrVT3eTT/rustup-init’ /tmp/tmp.NjkrVT3eTT/rustup-init 100%[=========================================================>] 11.68M 20.9MB/s in 0.6s 2020-06-04 14:36:18 (20.9 MB/s) - ‘/tmp/tmp.NjkrVT3eTT/rustup-init’ saved [12245112/12245112] Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. It will add the cargo, rustc, rustup and other commands to Cargo's bin directory, located at: /root/.cargo/bin This can be modified with the CARGO_HOME environment variable. Rustup metadata and toolchains will be installed into the Rustup home directory, located at: /root/.rustup This can be modified with the RUSTUP_HOME environment variable. This path will then be added to your PATH environment variable by modifying the profile file located at: /root/.profile You can uninstall at any time with rustup self uninstall and these changes will be reverted. Current installation options: default host triple: x86_64-unknown-linux-gnu default toolchain: stable profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation 3) Cancel installation >1 info: profile set to 'default' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' info: latest update on 2020-05-07, rust version 1.43.1 (8d69840ab 2020-05-04) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' info: downloading component 'rustc' 60.0 MiB / 60.0 MiB (100 %) 24.0 MiB/s in 2s ETA: 0s info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' 12.1 MiB / 12.1 MiB (100 %) 6.2 MiB/s in 2s ETA: 0s info: installing component 'rust-std' 17.5 MiB / 17.5 MiB (100 %) 9.8 MiB/s in 1s ETA: 0s info: installing component 'rustc' 60.0 MiB / 60.0 MiB (100 %) 7.8 MiB/s in 8s ETA: 0s info: installing component 'rustfmt' info: default toolchain set to 'stable' stable installed - rustc 1.43.1 (8d69840ab 2020-05-04) Rust is installed now. Great! To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH environment variable. Next time you log in this will be done automatically. To configure your current shell run source $HOME/.cargo/env root@debian:~# source $HOME/.cargo/env root@debian:~# # The build command itself root@debian:~# cargo install coreos-installer Updating crates.io index Downloaded coreos-installer v0.2.1 Downloaded 1 crate (61.9 KB) in 15.96s Installing coreos-installer v0.2.1 Downloaded error-chain v0.12.2 Downloaded reqwest v0.10.6 Downloaded regex v1.3.9 Downloaded serde_json v1.0.53 Downloaded sha2 v0.8.2 Downloaded progress-streams v1.1.0 Downloaded flate2 v1.0.14 Downloaded serde v1.0.111 Downloaded clap v2.33.1 Downloaded cpio v0.2.0 Downloaded pipe v0.3.0 Downloaded byte-unit v3.1.3 Downloaded xz2 v0.1.6 Downloaded libc v0.2.71 Downloaded url v2.1.1 Downloaded openssl v0.10.29 Downloaded nix v0.17.0 Downloaded walkdir v2.3.1 Downloaded tempfile v3.1.0 Downloaded hex v0.4.2 Downloaded bincode v1.2.1 Downloaded ansi_term v0.11.0 Downloaded foreign-types v0.3.2 Downloaded crossbeam-channel v0.4.2 Downloaded memchr v2.3.3 Downloaded lazy_static v1.4.0 Downloaded serde_urlencoded v0.6.1 Downloaded http-body v0.3.1 Downloaded hyper v0.13.6 Downloaded ryu v1.0.5 Downloaded http v0.2.1 Downloaded textwrap v0.11.0 Downloaded pin-project-lite v0.1.6 Downloaded hyper-tls v0.4.1 Downloaded bytes v0.5.4 Downloaded regex-syntax v0.6.18 Downloaded version_check v0.9.2 Downloaded aho-corasick v0.7.10 Downloaded tokio-tls v0.3.1 Downloaded mime_guess v2.0.3 Downloaded tokio v0.2.21 Downloaded itoa v0.4.5 Downloaded lzma-sys v0.1.16 Downloaded strsim v0.8.0 Downloaded percent-encoding v2.1.0 Downloaded native-tls v0.2.4 Downloaded mime v0.3.16 Downloaded vec_map v0.8.2 Downloaded cfg-if v0.1.10 Downloaded thread_local v1.0.1 Downloaded openssl-sys v0.9.57 Downloaded base64 v0.12.1 Downloaded unicode-width v0.1.7 Downloaded encoding_rs v0.8.23 Downloaded fake-simd v0.1.2 Downloaded opaque-debug v0.2.3 Downloaded idna v0.2.0 Downloaded atty v0.2.14 Downloaded crc32fast v1.2.0 Downloaded bitflags v1.2.1 Downloaded void v1.0.2 Downloaded miniz_oxide v0.3.6 Downloaded digest v0.8.1 Downloaded block-buffer v0.7.3 Downloaded serde_derive v1.0.111 Downloaded log v0.4.8 Downloaded futures-util v0.3.5 Downloaded futures-core v0.3.5 Downloaded matches v0.1.8 Downloaded syn v1.0.30 Downloaded adler32 v1.0.4 Downloaded futures-channel v0.3.5 Downloaded want v0.3.0 Downloaded h2 v0.2.5 Downloaded crossbeam-utils v0.7.2 Downloaded foreign-types-shared v0.1.1 Downloaded unicode-bidi v0.3.4 Downloaded openssl-probe v0.1.2 Downloaded remove_dir_all v0.5.2 Downloaded generic-array v0.12.3 Downloaded dtoa v0.4.5 Downloaded mio v0.6.22 Downloaded slab v0.4.2 Downloaded tower-service v0.3.0 Downloaded maybe-uninit v2.0.0 Downloaded byteorder v1.3.4 Downloaded cc v1.0.54 Downloaded pkg-config v0.3.17 Downloaded fnv v1.0.7 Downloaded quote v1.0.6 Downloaded proc-macro2 v1.0.18 Downloaded socket2 v0.3.12 Downloaded time v0.1.43 Downloaded block-padding v0.1.5 Downloaded num_cpus v1.13.0 Downloaded byte-tools v0.3.1 Downloaded unicase v2.6.0 Downloaded same-file v1.0.6 Downloaded rand v0.7.3 Downloaded iovec v0.1.4 Downloaded unicode-normalization v0.1.12 Downloaded autocfg v1.0.0 Downloaded httparse v1.3.4 Downloaded unicode-xid v0.2.0 Downloaded pin-utils v0.1.0 Downloaded net2 v0.2.34 Downloaded indexmap v1.4.0 Downloaded rand_chacha v0.2.2 Downloaded rand_core v0.5.1 Downloaded futures-sink v0.3.5 Downloaded getrandom v0.1.14 Downloaded typenum v1.12.0 Downloaded try-lock v0.2.2 Downloaded tokio-util v0.3.1 Downloaded futures-task v0.3.5 Downloaded futures-io v0.3.5 Downloaded smallvec v1.4.0 Downloaded ppv-lite86 v0.2.8 Downloaded once_cell v1.4.0 Downloaded pin-project v0.4.19 Downloaded pin-project-internal v0.4.19 Compiling libc v0.2.71 Compiling cfg-if v0.1.10 Compiling autocfg v1.0.0 Compiling proc-macro2 v1.0.18 Compiling unicode-xid v0.2.0 Compiling lazy_static v1.4.0 Compiling cc v1.0.54 Compiling syn v1.0.30 Compiling pkg-config v0.3.17 Compiling memchr v2.3.3 Compiling log v0.4.8 Compiling version_check v0.9.2 Compiling futures-core v0.3.5 Compiling fnv v1.0.7 Compiling bytes v0.5.4 Compiling bitflags v1.2.1 Compiling slab v0.4.2 Compiling itoa v0.4.5 Compiling pin-project-lite v0.1.6 Compiling foreign-types-shared v0.1.1 Compiling openssl v0.10.29 Compiling typenum v1.12.0 Compiling once_cell v1.4.0 Compiling serde v1.0.111 Compiling getrandom v0.1.14 Compiling native-tls v0.2.4 Compiling futures-io v0.3.5 Compiling pin-utils v0.1.0 Compiling futures-sink v0.3.5 Compiling matches v0.1.8 Compiling byteorder v1.3.4 Compiling smallvec v1.4.0 Compiling httparse v1.3.4 Compiling openssl-probe v0.1.2 Compiling try-lock v0.2.2 Compiling maybe-uninit v2.0.0 Compiling ryu v1.0.5 Compiling crc32fast v1.2.0 Compiling tower-service v0.3.0 Compiling percent-encoding v2.1.0 Compiling byte-tools v0.3.1 Compiling encoding_rs v0.8.23 Compiling ppv-lite86 v0.2.8 Compiling adler32 v1.0.4 Compiling mime v0.3.16 Compiling nix v0.17.0 Compiling dtoa v0.4.5 Compiling unicode-width v0.1.7 Compiling same-file v1.0.6 Compiling regex-syntax v0.6.18 Compiling fake-simd v0.1.2 Compiling void v1.0.2 Compiling ansi_term v0.11.0 Compiling strsim v0.8.0 Compiling opaque-debug v0.2.3 Compiling remove_dir_all v0.5.2 Compiling vec_map v0.8.2 Compiling base64 v0.12.1 Compiling progress-streams v1.1.0 Compiling hex v0.4.2 Compiling cpio v0.2.0 Compiling byte-unit v3.1.3 Compiling thread_local v1.0.1 Compiling indexmap v1.4.0 Compiling crossbeam-utils v0.7.2 Compiling futures-channel v0.3.5 Compiling unicase v2.6.0 Compiling error-chain v0.12.2 Compiling http v0.2.1 Compiling foreign-types v0.3.2 Compiling futures-task v0.3.5 Compiling unicode-bidi v0.3.4 Compiling unicode-normalization v0.1.12 Compiling openssl-sys v0.9.57 Compiling lzma-sys v0.1.16 Compiling block-padding v0.1.5 Compiling miniz_oxide v0.3.6 Compiling textwrap v0.11.0 Compiling walkdir v2.3.1 Compiling idna v0.2.0 Compiling http-body v0.3.1 Compiling quote v1.0.6 Compiling aho-corasick v0.7.10 Compiling want v0.3.0 Compiling iovec v0.1.4 Compiling net2 v0.2.34 Compiling num_cpus v1.13.0 Compiling socket2 v0.3.12 Compiling time v0.1.43 Compiling atty v0.2.14 Compiling url v2.1.1 Compiling generic-array v0.12.3 Compiling flate2 v1.0.14 Compiling crossbeam-channel v0.4.2 Compiling mio v0.6.22 Compiling regex v1.3.9 Compiling rand_core v0.5.1 Compiling clap v2.33.1 Compiling mime_guess v2.0.3 Compiling digest v0.8.1 Compiling block-buffer v0.7.3 Compiling pipe v0.3.0 Compiling tokio v0.2.21 Compiling xz2 v0.1.6 Compiling rand_chacha v0.2.2 Compiling sha2 v0.8.2 Compiling tokio-util v0.3.1 Compiling rand v0.7.3 Compiling tokio-tls v0.3.1 Compiling tempfile v3.1.0 Compiling pin-project-internal v0.4.19 Compiling serde_derive v1.0.111 Compiling pin-project v0.4.19 Compiling futures-util v0.3.5 Compiling h2 v0.2.5 Compiling hyper v0.13.6 Compiling hyper-tls v0.4.1 Compiling serde_urlencoded v0.6.1 Compiling serde_json v1.0.53 Compiling bincode v1.2.1 Compiling reqwest v0.10.6 Compiling coreos-installer v0.2.1 Finished release [optimized] target(s) in 5m 58s Installing /root/.cargo/bin/coreos-installer Installed package `coreos-installer v0.2.1` (executable `coreos-installer`)