environment variables - Working in separate prefix in Linux -


i'm downloading on open source linux tool , trying build it.

the build guide says need work in separate prefix avoid corrupting system. have created my_prefix dir , written setup-env file in it, follows : setup-env

    project=~/my_prefix     export path=$project/install/bin:$path     export ld_library_path=$project/install/lib:$path     export pkg_config_path=$project/install/lib/pkgconfig:$pkg_config_path     export ac_local_flags="-i $project/install/share/aclocal $aclocal_flag" 

after source setup-env

now whenever install new tool using, sudo apt-get install, should go new install dir, getting updated in /usr/bin only.

any idea reason?


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -