Ubuntu Windows/VirtualBox

Discussion in 'Linux Beginners' started by RequiredForSchool, Mar 18, 2024.

  1. RequiredForSchool

    RequiredForSchool New Member

    What is the difference between Ubuntu on the windows app store and simply using a Ubuntu installation in VirtualBox? I'm not understanding why windows would offer an app for Ubuntu when there are so many alternatives.
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    you can enable WSL2 (windows subsystem for linux) and run ubuntu directly from within windows..
    you can also run graphical applications, whose windows you can move around your desktop, same as the windows apps, they're not restricted to being in the virtualbox linux applications desktop gui window.
    this is what the ubuntu app on the microsoft store is for.

    why would microsoft do this? sales.. to keep the main operating system on a computer as windows..
    if what i work on mostly is linux servers, and i need an everyday use computer/laptop to manage them.. i can use windows and putty...
    or dual boot windows and linux, or just switch completely to linux..
    for testing.. without having to have more physical servers.. or pay for cloud vps's.. i can run virtualbox linux servers on a windows box.. or on a linux box.. or run linux directly within windows... the only reason i'd have to pay out for a windows license is if i specifically need to be able to run some piece of windows software.. and even then i may be able to do that on linux using wine..

    so the easier microsoft can make it to run linux instances directly within windows... the less incentive there is for me to ditch windows completely.
     
    ahrasis, Taleman and pyte like this.
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is you question related to this thread? Maybe you should have started a new thread.
    What is VS?
    If VS is only available on Ubuntu, why do you need Windows to run it?
    What OS is that?
    Are you using Windows subsystem for Linux, VirtualBox on Ubuntu or something else?
    If you need help because something crashes, you should reveal what you are doing, on which OS and how you did the installation of which OS and version.
     
    ahrasis likes this.
  4. g58211702

    g58211702 New Member

    Resource Usage and Performance:
    • WSL (Windows Store Ubuntu): WSL allows you to run a full Linux environment directly on Windows without the overhead of a virtual machine. It uses a compatibility layer between Linux and Windows, making it much more lightweight. Resources like CPU, RAM, and disk space are used more efficiently because it doesn't emulate hardware like a traditional VM would. You’re essentially running Ubuntu alongside Windows.
    • VirtualBox Ubuntu: Running Ubuntu in VirtualBox requires virtualizing the hardware (CPU, memory, storage) for the Linux guest OS, which consumes more system resources. This can lead to slower performance, especially if your machine has limited resources, since Windows and VirtualBox both demand significant power.
    2. Integration with Windows:
    • WSL: WSL is designed for tight integration with Windows. You can access Linux tools and files from within Windows directly, and vice versa. For example, you can easily switch between using Bash (Linux terminal) and PowerShell or Command Prompt. This makes it convenient for developers who need to work with both systems in a seamless manner, like using Linux command-line tools with Windows-based software.
    • VirtualBox: VirtualBox creates a separate virtual machine that is isolated from the Windows system, meaning files, tools, and system commands are not as easily shared between the two. To share files, you would need to set up shared folders or network connections between the guest (Ubuntu) and host (Windows). Read more,
    3. Ease of Installation and Setup:
    • WSL: Installing Ubuntu from the Windows Store is very straightforward. It requires just a couple of clicks, and you can run Ubuntu within minutes. WSL is also easier to manage since it doesn't require setting up a separate VM or dealing with virtual hardware configurations.
    • VirtualBox: Setting up Ubuntu in VirtualBox involves downloading the ISO, creating a virtual machine, allocating resources, and configuring settings like networking and storage. It’s a more involved process, especially for users unfamiliar with virtual machines.
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That very much looks like text generated by an AI-bot. If you post such stuff here, you should attribute it to the generator.
    It may be it was completely unnecessary to post that on old thread that probably was solved already.
    The other contribution by @g58211702 looks like similar not so valuable contribution.
     
    ahrasis likes this.
  6. g58211702

    g58211702 New Member

    Thanks for the valuable information sir
     
  7. remkoh

    remkoh Active Member HowtoForge Supporter

    That last reply just about proves it ;)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    I've closed that account now.
     
    ahrasis likes this.

Share This Page