two types of Linux CLI are installed. How to remove?

Page 2 of 2 FirstFirst 12

  1. gil
    Posts : 193
    Microsoft Windows 10 Pro 64-bit 10586 Multiprocessor Free
    Thread Starter
       #11

    swarfega said:
    You might have to uninstall all the bash's and redo it from scratch.
    uinstalling ubuntu and removing WSL is easy. but if enabling wsl and installing ubuntu, i get to square one.

    so do I need to remove them and just avoid typing bash in CMD?
    when I want ubuntu bash, just launch ubuntu CLI?
      My Computer


  2. gil
    Posts : 193
    Microsoft Windows 10 Pro 64-bit 10586 Multiprocessor Free
    Thread Starter
       #12

    jimbo45 said:
    Hi there

    I keep a few VM's for this -- so I can try all sorts of things out -- you can actually run some GUI programs with a bit of fiddling around --you do need to install an X-Server on the Windows system though --still not possible to get a full GUI Linux desktop yet though.

    I think also in WSL2 there's facilities to install Linux distros other than those in the store.

    Using VM's for WSL is far easier than trying to untangle distros / bash / wsl. Just keep a Fresh VM -- copy this and then test what you want -- when finished just delete --next test copy the fresh VM re-enable WSL and "do your stuff".

    If using VMWare though when booting a copied VM check the I MOVED it box rather than the I Copied it box at first boot otherwise you'll get activation problems. If you say I copied it a new machine UUID is created which Windows activation treats as a new machine. (VBOX probably has some similar feature to keep the same UUID for a VM.

    Cheers
    jimbo
    latest windows 10 has 'sandbox' feature, might try that before committing to anything.
      My Computer


  3. Posts : 7,254
    Windows 10 Pro 64-bit
       #13

    gil said:
    uinstalling ubuntu and removing WSL is easy. but if enabling wsl and installing ubuntu, i get to square one.

    so do I need to remove them and just avoid typing bash in CMD?
    when I want ubuntu bash, just launch ubuntu CLI?
    No you wont because installing Ubuntu from the store is a contained app like say Spotify is. You will only have the one instance.
      My Computers


  4. Posts : 5,048
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #14

    swarfega said:
    The reason why you have two versions is because you've installed it via add/remove features and also typed bash in cmd. The later step is no longer needed. All you need to do is install Windows Subsystem for Linux then install your nix of choice from the store. Typing the bash command is no longer required.
    So I'm not far off then?

      My Computer


  5. gil
    Posts : 193
    Microsoft Windows 10 Pro 64-bit 10586 Multiprocessor Free
    Thread Starter
       #15

    Compumind said:
    So I'm not far off then?

    Not far off and thanks for the help.

    I didn't require to backup the entire system.
    Removing Ubuntu and WSL is effortless and safe to do so.

    As long as I don't type 'bash' in CMD, then I'm good.
    I cannot confirm I don't have two types of bash since I didn't type 'bash' :)

    But I did remove WSL and Ubuntu and reinstalled them back (after a restart), and just launched Ubuntu.

    I also set the properties file of the new Win10 Terminal to open Ubuntu.
    A quick 'sudo apt update' and I'm good to go.

    Thanks everyone.
      My Computer


  6. Posts : 7,254
    Windows 10 Pro 64-bit
       #16

    Glad you're sorted.
      My Computers


  7. Posts : 5,048
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #17

    Got it!

    Thanks for the reply.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:17.
Find Us




Windows 10 Forums