Questions tagged [windows-subsystem-for-linux]

Use this tag for questions relating to Windows Subsystem for Linux, the compatibility layer developed by Canonical and Microsoft to run Ubuntu programs natively in newer versions of Windows.

0
votes
0answers
86 views

Copy files from Windows 10 folder to Ubuntu app [duplicate]

I am using my Windows Ubuntu app to run some files. How do I access the files in my Windows folder or copy the files from the Windows to the Linux home folder?
0
votes
0answers
331 views

npm on WSL: Unable to correct problems, you have held broken packages [duplicate]

I'm using Ubuntu on Windows 10, and was working with Node.js earlier today. It was my first time using node, so I had just installed it (it's installed on the subsystem). All npm commands worked fine ...
0
votes
1answer
81 views

hash doesn't show me a list of Bash commands

I read in the O'reilly Bash book (third edition, 2005) what I understood as that if I'll execute hash I'll see a "hash table" with a list of all possible Bash commands plus all commands common to most ...
0
votes
0answers
66 views

Azure function: Avoid typing 'sudo' for 'func'

I'm new on WSL Ubuntu 18.04 and just successfully installed Azure Function. How to run 'func' in my terminal without doing sudo? Right now, without sudo I will run into this error: ❯ func ...
1
vote
1answer
390 views

How can I access my google drive or external hard from windows bash?

I want to download on my google drive or an external hard but when I run ls /mnt/ the bash does not show me the external hard. Also when I go to my g drive which is my google drive I can not yee the ...
1
vote
1answer
99 views

I paste a code in WSL but I get only part of it

I use Ubuntu 16.04 (xenial) via WSL. I copy this code #!/bin/bash read -p "Have you created db credentials already?" yn case $yn in [Yy]* ) break;; [Nn]* ) exit;; esac When I paste it in ...
5
votes
3answers
1k views

How do I fix apt-get and apt-update/upgrade after my computer shut down during an installation?

I was running sudo apt update ; sudo apt upgrade -y and midway through the installation my computer ran out of battery and shut down abruptly. Side note - I'm using the Windows Subsystem for Linux on ...
-1
votes
1answer
421 views

Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service

when i try to upgrade its come an i dont know how to resolve this shashank@shashank-H110M-S2:~$ sudo apt install apt [sudo] password for shashank: Reading package lists... Done Building dependency ...
0
votes
0answers
128 views

I've been trying to install freeradius 3. I keep getting dependency errors of not installable dependencies

I've been trying to install freeradius 3. I keep getting dependency errors. I get the error as: The following packages have unmet dependencies: freeradius : Depends: libpython2.7 (>= 2.7) ...
0
votes
2answers
77 views

Why does Ubuntu split up my file path? [duplicate]

I had a small question concerning something in Ubuntu. I noticed that whenever I cd to a two-word place, Ubuntu seems to go there. However, when I mention the file path to this place, Ubuntu splits up ...
0
votes
0answers
91 views

Where is my ubuntu folder? [duplicate]

I have been trying to install Linux for a small project, however, I use Windows as my primary software on my computer. So, naturally, I searched up some tutorials, and have downloaded Linux/Ubuntu 16....
0
votes
1answer
174 views

Synchronize packages between multiple wsl installations

I have Ubuntu WSL installed on two different Windows 10 accounts. I want to have the same packages installed in Acct-2 as I have in Acct-1. Is there an easy way? I have a complex way.
0
votes
0answers
36 views

freeradius-postgresql post installation script keeps failing

I've been trying to install freeradius-postgresql on my windows subsystem for linux (with ubuntu distro) I keep getting this error installed freeradius-postgresql package post-installation script ...
0
votes
0answers
583 views

Want to enable 'expose docker daemon on tcp//localhost:2375 without tls' on docker toolbox on wls

I have Windows 10 home so I am not able to install docker for windows version. Upon downloading and installing docker toolbox on windows and installing docker on wls bash by running the following ...
0
votes
1answer
482 views

Bash closes on launch. Might be due to switching development modes [closed]

When trying to launch 'Ubuntu' or 'bash' the window opens and immediately closes. The reason might have been that I switched to different Insider Edition of Windows 10 or developer mode, and forgot ...
2
votes
0answers
93 views

Change /home using Ubuntu on Windows [duplicate]

I started using Ubuntu on windows 10 and I've noticed that the default path /home/<user_created_during_installation> is located in C:\Users\User\AppData\Local\Packages\CanonicalGroupLimited....
0
votes
0answers
157 views

I have the latest version of libc6 but apparently python requires a higher version

error message when I try to run python on the bash oh the windows subsystem for linux python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by python) my ubuntu version: ...
1
vote
1answer
159 views

./zshrc is corrupted; crashing when opens my WSL bash

I'm on WSL. I went to zsh from bash and based on this advises here I added source ~/.bashrc at the beginning of my ~/.zshrc file in order to be able to use nvm, node, npm commands in zsh. But now when ...
0
votes
1answer
830 views

Where is the Trash folder in Ubuntu/Windows (WSL)?

I am using Ubuntu in Win10, but I can not find the trash folder, even when I use the command mv ~/.Trash/foo ~/ mv: cannot stat '/home/man/.Trash/foo': No such file or directory My question is that ...
1
vote
0answers
339 views

Error when launching Ubuntu for the first time on Windows10

When I launched Ubuntu for the first time, I got an error that said 0x8000000d an illegal state change was requested I have already enabled the Windows Subsystem for Linux. How do I resolve this ...
0
votes
1answer
203 views

Turn off WSL Ubuntu echo when typing commands

With Windows Subsystem for Linux Ubuntu 18.04, when I type a command like echo hi, I see the following in my window: user@DESKTOP-WHATEVER:~$ echo hi echo hi hi When I would like it to look like ...
0
votes
1answer
1k views

Ctrl+Alt+T not working to open Terminal in WSL [closed]

I downloaded Ubuntu 18.04 a few days ago from the Microsoft App Store. I'm trying to carry out an exercise which requires me opening the Terminal. I was instructed to use Ctrl+Alt+T, but this doesn'...
1
vote
0answers
301 views

WSL Ubuntu : apt-get error “unable to make backup link”

I have recently installed the Ubuntu Bash WSL in Win10 (version 1703). When running an apt-get upgrade I get the following error during the installation of Perl (sorry for the formatting): Preparing ...
1
vote
0answers
250 views

Running gnome-software on Windows

I have Ubuntu installed in Windows 10 (using WSL) and I have installed an X-server VcXsrv. I'm trying to run the Gnome software center. I run gnome-software from the terminal. The window appears but ...
1
vote
0answers
68 views

Looking for a tabbed SSH solution for Linux(Ubuntu) combining PuTTY/KiTTY, WinSCP and VcXsrv

When i used WinSSHTerminal , it a very good tool for Window machine to connect multipal server in session. Please check https://www.youtube.com/watch?v=7zX7Uv--2Js Could you suggestion me same ...
0
votes
0answers
230 views

Different Ubuntu versions in Microsoft store

Is there any difference between Ubuntu and Ubuntu LTS available in Microsoft Store to Windows Subsystem for Linux (WSL) developers in developer mode of windows 10 ?
0
votes
1answer
175 views

Why the space usage of Ubuntu Windows Subsystem of Linux is lower than the Microsoft Store Download package?

On my PC the disk usage of C:\Users\DD\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs is only 93MB, but the download package is more than 240MB when I ...
2
votes
1answer
59 views

Is it possible to avoid setting path manually for python package executables?

I installed python 3 and pip3 into in Windows System for Linux shell that uses Ubuntu, but it appears I have to find and specify site-packages or $HOME/.local/bin directory manually if I want to run ...
1
vote
0answers
264 views

Can't Configure Bash-Shell to Run OpenFOAM (working enviroment)

I've Been trying to download and install OpenFOAM-v1806 for windows 10 using Ubuntu. I am currently using this guide to help me https://www.openfoam.com/download/install-windows-10.php and am stuck at ...
2
votes
1answer
252 views

Accessing Python interpreter in Windows Subsytem for Linux, error in sshd_config?

I'm running into an issue with following a tutorial on How to configure a remote interpreter through WSL for PyCharm. My specific issue comes during the prerequisite part of this tutorial. I get up ...
2
votes
0answers
498 views

How can I see Chinese characters in the Windows Subsystem for Linux terminal?

I installed Ubuntu 18.04 via Windows Subsystem for Linux using these official instructions. I'm trying to get the Ubuntu terminal to show Chinese characters, like this: ronald@LAPTOP-FLRIMKMQ:~$ 你你 ...
2
votes
1answer
251 views

Using Snap on Ubuntu for Windows 10 Error

Whenever I try to do almost anything involving snap on the windows 10 session of Ubuntu, I get this: sudo snap install htop error: cannot communicate with server: Post http://localhost/v2/snaps: ...
2
votes
1answer
285 views

Pulseaudio using WSL E: [(null)] pulsecore/pid.c: Daemon already running

I'm fairly new on Linux, I've been playing with WSL on Windows 10 using Ubuntu, and I've managed to learn how to open GUI programs and I could take it one step further by using this tutorial which ...
0
votes
1answer
89 views

How do I go to a specific folder/drive in the shell on Ubuntu on Windows? [duplicate]

I am trying to contribute in open projects . But the procedure given for installing the projects in local machine is for Ubuntu and I am using Windows. Also I tried Ubuntu shell But in that I could ...
7
votes
2answers
7k views

Running “sudo apt-get update” returns connection errors

After installing Ubuntu 18.04 from the Windows store I open Bash and want to run sudo apt-get update, but this returns the following errors: Err:1 http://security.ubuntu.com/ubuntu bionic-security ...
0
votes
0answers
53 views

How to change password using Windows version of Ubuntu? [duplicate]

I've downloaded Ubuntu on Windows but skipped the part where you set a password after installing. While trying to execute sudo commands, it kept on asking me for a password, which blank, space, the ...
1
vote
1answer
7k views

“Unable to locate package” error in Ubuntu 18.04 on Windows 10 [duplicate]

I activated the Bash shell on Windows 10 (with the new update on Windows 10 which offers a Linux Bash shell). The installation was a success, but I can't install anything... When I ran, for example ...
0
votes
1answer
898 views

WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving …” errors

RESOLVED: I reached out to my job's IT and I got win10 1803 update. That solved all my issues including one I didn't mention: gradle wrapper script couldn't connect to daemon through 127.0.0.1 with "...
0
votes
1answer
655 views

How to change directory

When I try to change my working directory to C:\Users\Michell Payano\Desktop\Data Analytics Tools, the result is -bash: cd: too many arguments. I want to know what is wrong.
12
votes
2answers
3k views

Cannot “cd” or change directory using bash script in WSL [duplicate]

I installed Ubuntu bash on my windows machine, so I can test linux scripts away from work. I created a very simple script with basic "hello world" and a change directory (cd), but when executing it ...
0
votes
0answers
475 views

X11 installation for WSL + Linuxbrew

I'm running Ubuntu 16.04 on Windows 10 WSL along with Linuxbrew for package management and Vcxsrv as a Windows X-server. With mesa-utils, I can run xeyes and see the application in Windows. I am ...
2
votes
0answers
527 views

gedit cannot open display on ubuntu with Windows Subsystem

I'm completely new to ubuntu and am trying to get a text editor to open in a gui window. I'm on ubuntu 18.04 using the windows subsystem of Windows 10. When I call gedit, I get the following: arobiso@...
0
votes
0answers
191 views

Accessing network path using C# from Ubuntu

We have developed an application in C#. Net to connect Windows network path and check one directory availability. When we are running the application from Windows OS, its working fine. But when ...
3
votes
1answer
87 views

What do I do when APT (or another process in a terminal) seemingly stalls on an empty line?

As an Ubuntu newbie, I'm always lost with what to do when this happens... The progress appears to be stalled, but there's nothing on the current line to show me what might be happening that could ...
1
vote
0answers
347 views

Cannot update Ubuntu 16.04 on WSL

I cannot update ubuntu 16.04 on the WSL (sudo apt update). I have tried pinging the servers, I'm getting a response but cannot update the repositories. root@DESKTOP-VFH426K:~# apt update Ign:1 http://...
3
votes
2answers
4k views

How to launch Ubuntu in Windows Subsystem for Linux in Windows 10 S?

I found the Ubuntu app button in Microsoft App Store and attached it. There were limited instructions: I had Microsoft Windows help with their side. Ubuntu did not boot up as option. Windows 10 S ...
1
vote
1answer
405 views

How to install libavcodec with Apt for Cygwin?

I am having some trouble with installing new packages using cygwin's apt version of apt-get. The issue is, when I run the commands below, I receive Coder@Coder-WIN10 ~ $ apt-cyg update --2018-08-21 ...
1
vote
0answers
159 views

Password change doesn't persist after restart

I recently set up WSL on my computer, I used the same password I use for windows to sudo in the Ubuntu terminal. I was able to sudo after it was first installed, but when I turned my system back on ...
1
vote
0answers
54 views

Postgresql command line utility dosen't start on WSL

I'm using Windows subsystem for Linux with Ubuntu 18.04; I'm trying to use postgresql on my machine, I've taken care of the relevant installations. But when I enter the command: sudo -u postgres ...
0
votes
0answers
315 views

How to display a python animation in bash terminal

Gonna start this off by saying I have no idea what I'm doing. We have Linux set up at our university and I'm trying to get a similar thing set up on my personal (Windows 10) device and unsurprisingly, ...