Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

How can I add ~/.local/bin to my PATH?

$
0
0

I'm just trying to follow this tutorial and set up my environment. My system is WSL Ubuntu 18.04. Here is already an answer on my question, but I as an absolute novice in Linux/UNIX don't know which variant presented there more suitable for my goal.Do I need to add this string

export PATH="$PATH:/path/to/dir"

into my ~/.profile or ~/.bashrc file?

Or may I need to accomplish the second step from the answer?

cd /usr/binsudo ln -s /path/to/binary binary-name

And then run these commands?

source ~/.profile orsource ~/.bashrc

Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>