If you get PATH Warning when install some stuffs on linux using terminal, follow the steps to resolve

sudo nano ~/.profile
You can use nano, vim, ...

export PATH=$PATH:/path_to_add
Add the path you get from PATH Warning and save & exit
source ~/.profile
Run source and you resolve the issue