I wish to work on Linux, but the only machine l have at my disposal is my brother’s windows laptop when it’s free. Can I create a virtual Linux system using QEMU ?

  • Auster ( Auster@thebrainbin.org ) 
    link
    fedilink
    arrow-up
    9
    ·
    4 months ago

    You can, but I’d suggest instead, at least at first, VirtualBox. Tinkering with QEMU can be a steep learning curve, so VirtualBox being more UI-oriented could make things simpler.

      • Auster ( Auster@thebrainbin.org ) 
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        I usually use QEMU for Android, so I don’t have any tutorials I could recommend, at most having their docs at hand.

        Also no Android tutorial either as I go by muscle memory on Android due setup changing between Android distros, their versions, and versions of QEMU, and me using Android offline so always the same installer.

        But as apparently QEMU is one of the better VM tools around, there should be plenty of tutorials too. If you go for major distros, with their hardware compatibility being more or less the same afaik, QEMU setup tutorials should be overarching too.

        And if the tutorials you find don’t fully or properly cover your chosen distro, since you seem to be willing to tinker, you could do like I did with Android and pick some random tutorial as a start point and figure out what changes from there.

  • Denys Nykula ( nykula@piefed.social ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 months ago

    What GNU/Linux applications do you want to use? If you want desktop free software such as Firefox, LibreOffice, LMMS, Inkscape or Kdenlive, you can install many of them directly on Windows, it will run faster than a virtual machine. If you want to learn the command line, such as bash, curl, vim, imagemagick and ffmpeg, or program in C or C++ using the GNU toolchain, try WSL, from which you can access your Windows files under /mnt/c, /mnt/d etc. A standalone virtual machine makes sense when you want to play with a desktop environment such as KDE or GNOME, or a tiny compositor such as Sway, or a rare desktop app that isn’t cross-platform. But it’s more pleasant to run them on hardware directly, having installed Debian or Fedora on a USB SSD.

      • Denys Nykula ( nykula@piefed.social ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 months ago

        WSL is the name of the tool, it installs an Ubuntu virtual machine that integrates with Windows in a way that you don’t have to care about disk sizes, shared folders or remote access. It gives you an Ubuntu bash window after a few minutes of automatic downloading. Under WSL, I do run both vim and ffmpeg OK. You can install most packages you want like on a full Ubuntu installation.

  • It absolutely can, but I don’t know if it’s the easiest way to try it out.

    You might find creating a playable Linux USB and booting from that helpful, as you can try out Linux without the overhead of a VM.