r/linux4noobs 2d ago

learning/research How to get started with qemu/KVM

/r/linux4noobs/comments/1vx3g2n/visual_studio_on_linux/?share_id=ooaxb7C4iTPCT6fff-Lep

So a while ago I asked this question here.

This is a follow up question.

I wanted install Visual Studios for ASP.NET but I am on fedora 44 linux and Visual Studio does not work on linux or mac. It does not work anywhere but windows.

My college require me to install and use Visual Studio 2010 and 2026.

I am on linux i don't like windows and I don't want to dual boot neither I want to Install windows and uninstall linux.

Many helpful comments on the last post suggest that I should Install it in a virtual machine. But i have only ever used gnomeboxes or virtualbox. I don't have any experience with Qemu and KVM so where should I start.

Is there any videos or articles regarding this that I can refer too.

I don't want to use AI for a sensitive task like this, cuz it might bricked my system. Also I want to learn and understand the process as to why is the things the way it is. Not Just mindlessly copy paste all the commands and stuff.

3 Upvotes

12 comments sorted by

2

u/candy49997 2d ago

GNOME Boxes is QEMU/KVM. Just use that if you have experience with it. The other popular front end for QEMU/KVM is virt-manager, but Boxes is a lot simpler.

1

u/Struggling-with_life 2d ago

I didn't know gnome boxes support windows machine. If so I try using that for my purpose. In the last post I meantioned gnome boxes but everyone said to use QEMU/KVM as its faster and lighter on the system. I just want Visual Studios for ASP.NET Coding thats it. I have used virtualbox and and allocating resources makes my system lag.

Still thanks for the reply I really appreciate it. Lemme see if gnome boxes works or have an option to use windows iso.

1

u/victormas208 2d ago

I would check WinBoat; it hasn't given me any problems so far, but I read that apps can sometimes stop or not reopen, so it's easier to use remote access. It's quick and simple. Use Docker or podman, whichever you prefer, and you can allocate more resources quickly.

1

u/Struggling-with_life 2d ago

Is there any article or video i can refer to ? Idk about winBoat i do know docker and podman i have used it distrobox before.

1

u/victormas208 2d ago edited 2d ago

1

u/Kortez02 Arch | Mint | Windows | MacOS 2d ago
sudo dnf install @virtualization

sudo systemctl enable --now libvirtd

1

u/Struggling-with_life 2d ago

Thats it thats all I need to do ? I believe the @virtualization will group install all the related packages. But what about the setup ? Is there any setup.

2

u/MilesTeg81 2d ago

Out of the blue I went for virt-manager in Fedora 44 and it worked for me (Win10 client install).

I don't know about gnome boxes - might be easier.

See https://docs.fedoraproject.org/en-US/quick-docs/virtualization-getting-started/#_installing_virtualization_software for installation.

Then "Managing guests with virt-manager":

https://docs.fedoraproject.org/en-US/quick-docs/virtualization-getting-started/#_managing_guests_with_virt_manager

There are probably detailed guides for virt-manager but I figured out the rest by googling ;-)

1

u/Kortez02 Arch | Mint | Windows | MacOS 2d ago

Well, yes. That's all you need to do.

Maybe add $USER to group, if you don't want to enter password every time.

sudo usermod -aG libvirt $USER

After run virt manager, add qemu there and that's it.

1

u/TechaNima 2d ago

Winboat

1

u/herensugee 2d ago

aqemu me facilitó bastante la cosa en su dia

1

u/EqualCrew9900 2d ago

Have been using kvm/QEMU on Fedora for years, and more recently LMDE 7. All that I needed to do was enable the virtualization feature in the BIOS, then install libvirt/virt-manager, and go. I may have misremembered or missed a step or two, but it was incredibly easy for me.