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

Page 2 of 2 FirstFirst 12

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

    swarfega said: View Post
    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 ComputerSystem Spec


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

    jimbo45 said: View Post
    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 ComputerSystem Spec

  3.    #13

    gil said: View Post
    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 ComputersSystem Spec

  4. Compumind's Avatar
    Posts : 1,101
    Windows 10 Pro x64, Various Linux Builds, Internet Security Specialty.
       #14

    swarfega said: View Post
    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 ComputerSystem Spec


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

    Compumind said: View Post
    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 ComputerSystem Spec

  6.    #16

    Glad you're sorted.
      My ComputersSystem Spec


  7. Compumind's Avatar
    Posts : 1,101
    Windows 10 Pro x64, Various Linux Builds, Internet Security Specialty.
       #17

    Got it!

    Thanks for the reply.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Hello Everyone, I already have Win 10 on this Laptop but thought I might give Linux a shot on an older laptop, just to try it out. Turns out it's not my cup of tea. Is there some way I can prep the older laptop by formatting the drive or deleting...
How to Add or Remove Linux in Navigation Pane of File Explorer in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your...
Hello all, I recently re-installed Windows 10 on my laptop, and just after, I installed Linux Mint (https://www.linuxmint.com/). Then, I had Grub 2.02beta2 to start either LM or Win, it works, but ...... if on Windows, I choose extend sleep mode...
Right. I bought this laptop, the spec is decent and the price was cheap. I realized it was so cheap because it didn't have a windows OS installed on it. I thought "That's fine, you're decent when it comes to computers. Just buy windows 10 and...
Performance & Maintenance Add or Remove File Types for Search Index in Windows 10 in Tutorials
How to Add or Remove File Types for Search Index in Windows 10 By default, Windows will use the index when searching to give you faster search results. The search index only includes your selected locations. These locations can be filtered for...
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 23:35.
Find Us