Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Tag: windows-subsystem-for-linux
how to avoid enviroment variable from resetting in WSL terminal after restart?
environment variable set (in zsh shell) in WSL disappears after restarting the terminal. I have used to set environment variable. how should I avoid env variable from resetting after restart. Answer I added environment variable in .zshrc file after reading comment of @Biswapriyo. like this- export variable_name=variable_value and now it works. I think, at every startup, scripts in .zshrc file
Windows sublinux – get windows path where linux was called
is it possible to get the directory path from Windows where for example “debian” was executed? For example I open my projects with Visual Code and execute the NodsJs/npm projects from Windows WSL Debian. So it would be nice if “debian” is called from inside the Visual Code console that my linux subsystem auomatically joins the Windows directory from where
Installing g++ on windows subsystem for linux
A while back I activated Windows Subsystem for Linux on my machine but didn’t use it much. Now I have an idea what I could use it for and that is why I’m trying to install gcc/++ 7 on my WSL and keep running into problems. My idea was to download it and compile it by hand following this guide
Bash on Ubuntu on Windows: Signal handler does not work
I try to run a simple program (code below), that should receive and handle the SIGUSR1 signal. It works well on “real” Linux, but if I run it on WSL after sending SIGUSR1 it prints User defined signal 1 and terminates. AFAIK this means that SIGUSR1 wasn’t handled by program and default handler was called. How can I make signal
Weird recursive directory structure
Somehow, my system (Ubuntu WSL layer on Windows; so treat as exactly Ubuntu) went a bit crazy. For a directory (a git repo if it matters) /path/to/foo, running ls shows the git files ORIG_HEAD, index, and index.lock in there. I tried to debug this by going cd .git, but an ls there showed me my same list of files as
Bash on Ubuntu on Windows, Run Linux Commands to Install a Windows Program
I am new to Linux, but I am having a lot of trouble installing an R package that does not have windows binaries. I would rather not install a full Linux install and move everything. Judging by Windows Interoperability it seems like this should be possible. I want to do any one of the options from the GNU R package
Using Windows Subsystem for Linux (WSL) from Sublime Text
I wanted to use gcc, g++ and make from Sublime Text to be able to compile C and C++ code to Linux runnables on Windows. I couldn’t run bash.exe from Sublime Text, as many other users on Stack Overflow. Answer You have to copy the C:WindowsSystem32bash.exe file to the C:WindowsSysWOW64 directory. Required because of the WoW64 file system redirection (Thanks Martin!)
Valgrind does not work with WSL?
When I installed WSL for my computer I was very excited to have a more natively supported Linux system rather than using VirtualBox. However I get this error when I try to run it. Is there a reason why? I am happy to give more information as required. Answer It’s definitely possible I’ve encountered some problems installing it directly with