Is it possible to install Rust on Linux without admin privileges? -
version: 1.0.0 beta 5
i have gotten as far running install.sh script argument "--prefix=$home/local" (installing home directory)
and works fine, ldconfig (part of install.sh process) fails because of lack of root privileges, , rustc unable find libraries
rustc: error while loading shared libraries: librustc_driver-4e7c5e5c.so: cannot open shared object file: no such file or directory
if specify different prefix, need set ld_library_path
environment variable. colon-separated list (like path
) typically not set. you’ll want in shell config:
export ld_library_path="$ld_library_path:~/local/lib"
Comments
Post a Comment