1

Where is the sources.list file in Windows 10 version 1607 (Anniversary Update)?

I can get it to it just fine from the cmd > bash > sudo nano /etc/apt/sources.list but I can't seem to find this file in Windows 10.

A search in the file explorer did not return any results.

1

1 Answer 1

4
C:\Users\%username%\AppData\Local\lxss\rootfs\etc\apt

Nevermind...

3
  • The lsxx folder is hidden, even if you enable hidden folders in Windows. So I had to type it out in the address bar to proceed.
    – Peter
    Aug 3, 2016 at 19:40
  • 1
    if it's a system folder then you also need to enable the displaying of system files and folders beside show hidden file
    – phuclv
    Aug 4, 2016 at 7:03
  • The location of the linux filesystem has changed in the last versions of WSL. If you have installed the Linux distributions from the Windows Store, the files are located now under %USERPROFILE%\AppData\Local\Packages\...\LocalState\rootfs\etc\apt. The ... part varies depending of the installed distribution.
    – Jaime
    Jul 29, 2018 at 4:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .