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.



  • 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 '16 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 '16 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 '18 at 4:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.