Giter Site home page Giter Site logo

Comments (6)

SRGOM avatar SRGOM commented on July 19, 2024 1

Thanks, I think this should do...

from wsl-distribution-switcher.

SRGOM avatar SRGOM commented on July 19, 2024 1

@thebitstick I haven't. I was excited for a very brief bit when I learnt of the "-Xint" option that allows it to work partially (still broken for actual use because of internal path issues but the hanging issue doesn't occur). However, it was too slow to be of any use on my projects.

from wsl-distribution-switcher.

thebitstick avatar thebitstick commented on July 19, 2024

You could put a folder named opt in your home folder and then symlink it to /opt.
Then just make the symlink whenever you install a new distro.
Switching between distros should keep the symlink.

from wsl-distribution-switcher.

RoliSoft avatar RoliSoft commented on July 19, 2024

@SRGOM Pretty much what @thebitstick said. You could add the ln line to your hook script.

from wsl-distribution-switcher.

thebitstick avatar thebitstick commented on July 19, 2024

sudo ln -s opt /opt && sudo chmod 755 /opt

from wsl-distribution-switcher.

thebitstick avatar thebitstick commented on July 19, 2024

Also @SRGOM, how did you get Java to work in WSL? Doesn't work for me.

from wsl-distribution-switcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.