Closed r4dh4l closed 3 years ago
Hi,
to install https://github.com/johni0702/mumble-web I followed the instructions there and on https://github.com/Johni0702/mumble-web-proxy but got
mumble-web@vm-mumble:~/mumble-web-proxy$ cargo build --release -bash: cargo: command not found mumble-web@vm-mumble:~/mumble-web-proxy$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
I've installed rustup under root via curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh which ends up with Rust is installed now. Great!:
rustup
root
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Rust is installed now. Great!
root@vm-mumble:~# echo $PATH /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin root@vm-mumble:~#
I thought it would be a good idea to use an non-privileged user for mumble-web-proxy so I used the same user for mumble-web-proxy which I use for mumble-web.
mumble-web-proxy
mumble-web
Edit: If I install cargo via apt install cargo under root I can run cargo build --release under mumble-web but https://github.com/Johni0702/mumble-web-proxy#building indicates that this is not necessary:
cargo
apt install cargo
cargo build --release
Make sure you have Cargo (Rust's package manager) installed (e.g. via rustup), then run:
Which part did I miss?
Got it: rustup needs to be installed under user mumble-web (in my example), so not under root.
Hi,
to install https://github.com/johni0702/mumble-web I followed the instructions there and on https://github.com/Johni0702/mumble-web-proxy but got
I've installed
rustup
underroot
viacurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
which ends up withRust is installed now. Great!
:I thought it would be a good idea to use an non-privileged user for
mumble-web-proxy
so I used the same user formumble-web-proxy
which I use formumble-web
.Edit: If I install
cargo
viaapt install cargo
underroot
I can runcargo build --release
undermumble-web
but https://github.com/Johni0702/mumble-web-proxy#building indicates that this is not necessary:Which part did I miss?