Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
4 answers
15k views

How to solve "Please make sure libcudnn_cnn_infer.so.8 is in your library path!" (WSL Ubuntu)

When I try to run a PyTorch program, it fails: Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory Please make sure ...
mulish max's user avatar
40 votes
1 answer
156k views

Where is WSL located on my computer?

I am new to Windows and have installed WSL2 based on the instructions provided here. It works fine, but I cannot locate where it has been installed on my computer. The output for pwd is home/nkp68. ...
Krutik's user avatar
  • 511
0 votes
1 answer
456 views

I found a file path, but I can not open it [duplicate]

I am using ubuntu terminal on my windows 10. I cloned a project, and I have been working on it inside VSC for a week now. I finally closed the program, and when I open it again I could not find my ...
AMSAlsultan's user avatar
0 votes
1 answer
17k views

Unable to find the Windows "Desktop" folder from within WSL [closed]

I recently downloaded Ubuntu on my HP Envy x360 laptop. I have worked with Ubuntu before. I am trying to navigate to my Windows Desktop folder in terminal, but I'm unable to find it. I type /mnt/c/...
Sterling Wright's user avatar
0 votes
1 answer
887 views

How to make an environment variable (cern root) permanently?

I am pretty new with Ubuntu as the Windows subsystem. I've been trying to run the ROOT data analysis framework (change its path to make it available permanently) but for some reason is not working as ...
Josselyn Velasquez's user avatar
0 votes
0 answers
2k views

How to add to /etc/environment?

I use a mac at work, which has /etc/paths to add paths, with the syntax: /usr/foo /usr/bar Using wsl with ubuntu-18.04-ls, I wanted to add "/home/linuxbrew/.linuxbrew/bin" to etc/environment, ...
user avatar
1 vote
1 answer
2k views

How to add a directory to PATH in Linux ? I am using Windows Subsystem for Linux - Ubuntu [duplicate]

I am new at Linux and I am facing a problem. I am trying to add the bin directory to the PATH in the Linux executing the command below: $ export PATH="/opt/gcc-arm/bin:$PATH" However, when I try to ...
Geisterfahrer's user avatar
-1 votes
1 answer
3k views

Command not found error after trying to install mgltools on WSL

I am working on Ubuntu windows application. I want to use a tool and I have downloaded the file and install it is in /usr/local/bin. I want to access the tool from anywhere and for that I have write ...
Rhea's user avatar
  • 571
22 votes
3 answers
50k views

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

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 ...
Alex's user avatar
  • 457
4 votes
2 answers
5k views

How to get the real path of a sh file that is being sourced

I added this line into my ~/.bashrc . /mnt/c/Users/enzo/drive/projects/dotfiles/init.sh And and inside of init.sh I am trying to get the path of init.sh but I am not able to. I tried this so far: ...
Enzo's user avatar
  • 143
0 votes
0 answers
390 views

NCL Path setting Ubuntu

I am having a problem trying to convert a file using the ncl_convert2nc command. Every time I do, I get this message: fatal:NclGRIB2: Invalid Product Definition Template. fatal:Could not open (./...
user3550783's user avatar