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?