Where are packages installed from Ubuntu terminal stored in windows
Solution 1:
Even though you can find these files in the Windows filesystem if you’re using WSL 1, you must not modify the WSL filesystem tree from Windows.
You can access these files from your Ubuntu WSL terminal. To delete the file, use the following command:
rm ~/.opam/config
If you want to access the filesystem using Windows Explorer, you can use the following syntax:
\\wsl$
Only WSL instances that are currently running will appear. If the one you want doesn’t appear, launch it from Start Menu and refresh the Explorer view (eg. using F5).