i want to update the path for the conda command, which was first installed in /root/anaconda3/bin/conda
but i deleted the directory and reinstalled to home/me/anaconda3/bin/conda
.
but whenever i execute the conda command i get error bash: /root/anaconda3/bin/conda: No such file or directory
, so how do i point the conda command to /home/me/anaconda3/bin/conda
?
Asked
Active
Viewed 44 times
0

krypton
- 131
-
https://unix.stackexchange.com/questions/5609/how-do-i-clear-bashs-cache-of-paths-to-executables – steeldriver May 17 '19 at 18:07
-
thank you , it worked, but can you tell me is it possible to change the path of executables? – krypton May 17 '19 at 18:10
-
So How to correctly add a path to PATH? – steeldriver May 17 '19 at 18:28
1 Answers
0
Are you sure the final executable has 'x' (execute access) in the permission set?
Are you sure all intervening directories have at least 'x' (search access) in their permission set?
Either one could cause this issue.

mdpc
- 6,834
-
thanks for your reply, my issue was actually the package was hashed and by removing it i got it to work. – krypton May 17 '19 at 19:13