Environment management
As environment configuration, it is intened the binary path, library path configuration, plus environment variable saved in the machine state.
Binary path modification
The execution path is essential to permit the system to find the executables in the disks.
echo $PATH
To modify it run:
export PATH="/home/$USER/new/bin/location:$PATH"
Library path modification
As per the execution path, the library location path can be identified and modified at occurrence. To see where the machine is looking for a library:
echo $LD_LIBRARY_PATH
while for the execution path check:
echo $PATH
To add a custom path run for a new library location run:
export LD_LIBRARY_PATH="/path/to/newlibrary:$LD_LIBRARY_PATH"