Entering edit mode
4.6 years ago
n.tear
▴
80
When using linux the usual location for downloading and installing packages locally is /usr/local
Windows Subsystem for Linux does not have this folder.
What is an appropriate equivalent folder that I should use when using WSL?
Folders I am considering are: /mnt/c/Users/Natha/AppData/Local or /home/nattyht perhaps these are both incorrect folders to use...?
I am using the ubuntu subsytem downloaded from the microsoft store.
For reference I am looking to download and install the package 'htslib' (http://www.htslib.org/download/) for use with 'Majiq' (https://majiq.biociphers.org/)
Many thanks in advance,
Nathan
That is odd. You should have a
/usr/local
folder in your ubuntu install. If not you can create one.Sorry I think I found the /usr/local folder.
Have you checked to see if the folder is there? What does
ls -l /usr/local
show?is this the correct location?
Yes.
/usr/local
does not have to be the location where packages are installed. You will need to make sure the directory where the package is installed is in$PATH
, if you install it somewhere else.Don't use any location under
/mnt
since those are windows partitions mounted on linux side.