How To Install QEMU and Virt-Manager | Linux KVM

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • This video goes over how to Install QEMU and Virt-Manager for debian based systems. This includes Ubuntu, Linux Mint, KDE Neon, etc.
    Here are the Steps to Install QEMU and Virt-Manager
    Check Compatibility:
    $ grep -o 'vmx\|svm' /proc/cpuinfo
    Note: if nothing comes back check BIOS to make sure Virtualization.
    1. Run the following Terminal Command:
    $ sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils libguestfs-tools genisoimage virtinst libosinfo-bin virt-manager
    2. Add your user to KVM Groups
    $ sudo adduser $USER libvirt
    $ sudo adduser $USER libvirt-qemu .
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech
  • Наука та технологія

КОМЕНТАРІ • 79

  • @asz5242
    @asz5242 5 років тому +3

    Thank you! I've been searching and trying commands from a lot of web pages and none worked. Thank you for sharing your knowledge!

  • @vishnunath1524
    @vishnunath1524 5 років тому +13

    Finally a simple QEMU tutorial, thanks I set up mine with no problems

  • @ArtManNL
    @ArtManNL 2 місяці тому +1

    The only guide that work for me with Linux Mint Virginia (21.3), all the other one's not! Thanks for your effort.

  • @olias58
    @olias58 2 роки тому +1

    I watched your current QUEMU video yesterday and I am stoked! AS a heavy Virtual Box user (agh, don't judge me) , I am ready and anxious to move onto QEMU. As always your content is the Shiznit!

  • @rosemarieosborn8625
    @rosemarieosborn8625 3 роки тому +3

    woohoo! this was so easy peasy! Thanks Chris! I enjoy your videos and have learned a lot in 2 and a half years I have been using Linux through you, I appreciate all you put out there to help us forever learners of linux!!

  • @Xeno_Bardock
    @Xeno_Bardock 5 років тому +16

    Tutorial on how to use Virglrenderer using Virt-Manager would be great. Virglrenderer allows you to use 3D graphics acceleration which means you can run Photoshop, Premiere, 3DS Max, etc. and some 3D games.

  • @ChrisTitusTech
    @ChrisTitusTech  5 років тому +6

    Part 2: Installing your First Virtual Machine will be out tomorrow at 8 AM, along with a Day 25 Update on the switch from Windows to Linux.

    • @eeyyaakk6801
      @eeyyaakk6801 5 років тому

      I get this:
      The following packages have unmet dependencies:
      libguestfs-tools : Depends: libguestfs0 (= 1:1.34.6-2) but it is not going to be installed
      Depends: libguestfs-perl (= 1:1.34.6-2) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      What do I do please?

  • @davidneves-d2k567
    @davidneves-d2k567 5 років тому +1

    Thank you for sharing your knowledge!

  • @TheAbcd159
    @TheAbcd159 4 роки тому

    thank you titus appreciated as always

  • @ZanyJIntPictures
    @ZanyJIntPictures Рік тому

    Great Videos Chris; your also very funny👍👍😁

  • @terracenter
    @terracenter 2 роки тому

    Excellent explanation . Excelente explicación. Saludos

  • @DrazenMarjanovic
    @DrazenMarjanovic 4 роки тому

    One more great video gj.

  • @alanwalker8834
    @alanwalker8834 3 роки тому

    Tks made the job a lot easier I downloaded the checker 1st made sure my system could manage it so i carried on with your vid My HP 6005 Triple Core it read 6 svm so it come out ok Tks again.

  • @holski77
    @holski77 5 років тому

    YOU ARE AWESOME AND YOU SHOULD FEEL AWESOME

  • @SonofChurchill
    @SonofChurchill 20 днів тому

    Thanks Chris I was following another tut got stuck on as no connection. Wanted a VM not connection to outside World.. Now followed yout tut step by step with add connection. Thanks.

  • @Jen-hs8ln
    @Jen-hs8ln 3 роки тому

    Thank you, very usiful

  • @dannyjensen4954
    @dannyjensen4954 3 роки тому

    great video thanks

  • @zameerpashablr
    @zameerpashablr Рік тому

    Please do more detailed videos about a given disk space.

  • @cornxenon
    @cornxenon 4 роки тому

    Thank you!

  • @teeg-wendezougmore6663
    @teeg-wendezougmore6663 2 роки тому +1

    Thanks for sharing!!. How can we handle hosts full-screen displaying with virt-manager?

  • @vladislavkaras491
    @vladislavkaras491 Рік тому

    Thanks for the video!
    One question! Why do we need to add current user to the libvirt and libvirt-qemu groups?

  • @MaGaO
    @MaGaO 3 роки тому +1

    Please note that closing the session and starting it again should be enough after adding $USER to libvirt and libvirt-qemu groups.
    Also, you may want to
    *sudo apt install --no-install-recommends qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils libguestfs-tools*
    if you want to avoid installing extra packages you won't actually be using. YMMV.

  • @erkipolomanresa1164
    @erkipolomanresa1164 5 років тому

    Thanks to share. With the new release of debian 10 (buster). virt-manager came with support LXC. Do you know how can I activate?

  • @chadburkins413
    @chadburkins413 3 роки тому

    What's the best community/forum location to ask questions about KVM and/or Virt-manager ?

  • @abdonajjar2981
    @abdonajjar2981 4 роки тому +1

  • @msmithsr01
    @msmithsr01 3 роки тому +1

    I can't seem to get this to work in Zorin OS 15, I keep getting "E: Package 'libvirt-clients' has no installation candidate" error message

  • @mnk4_all_caps
    @mnk4_all_caps 2 місяці тому

    ty

  • @user-rj5ll3zo2s
    @user-rj5ll3zo2s 4 роки тому

    شكرا جزيلا يا اختي الكريمة

  • @aditit577
    @aditit577 4 роки тому

    Hi. If I did this, would I be downloading the latest QEMU version?

  • @mattgrimaldi13
    @mattgrimaldi13 4 роки тому

    I am trying to pass my gpu(s) through on Oracle and Virtual machines. Not working so far. I have a Nvidia Titan Pascal and a 780tisc. x99 e5-2699 cpu. Any good advice or videos? Thanks.

  • @Weedug
    @Weedug 5 років тому

    thankyou

  • @bertnijhof5413
    @bertnijhof5413 5 років тому +2

    I use a QEMU/KVM host in a dual boot with Virtualbox host, both Ubuntu Mate. I run the virtual machines from a ZFS storage pool on a 2008 HP dc5850 upgraded with a Phenom II CPU. Some remarks:
    - Virtualbox has a better user interface.
    - Virtualbox is more robust.
    - QEMU/KVM is considerably faster with respect to disk IO (~25-40%).
    - Virtualbox is a little bit faster with the guest graphics drivers (~10%).
    - QEMU/KVM is very poor with respect to the CPU types supported.
    The last point is a deal breaker for me, even on the original PC, I can't get Windows activated on QEMU/KVM due to this CPU issue, while on Virtualbox it is activated normally and afterwards I can move it to my i5 laptop too without any problems. My Windows XP Vbox virtual machine has survived almost 10 years on at least 5 different desktops/laptops.

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому

      Noticed this exact thing as I make part 2 tonight. I actually ended up changing my CPU type just to get windows 10 - 1809 installed.

    • @bertnijhof5413
      @bertnijhof5413 5 років тому +1

      ​@@ChrisTitusTech Could you activate Windows? My PC has a Windows Vista Sticker and I could not get it activated in QEMU/KVM. My real CPU is a Phenom II X4 B97, but QEMU is selecting Opteron processors and that stopped any chance of getting Vista activated. Virtualbox just uses the name, characteristics and instruction sets of the host CPU and that is a far superior solution. The French (or Wallons) would call the QEMU solution: Bricolage.

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому

      @@bertnijhof5413 Great question, OEM licenses from stickers do not carry over to virtualization typically. Once Microsoft detects a hardware change (physical to virtual) it will not allow you to reactivate. Are you trying to activate Vista? I'd probably move to Windows 7 at this point as Vista is End of Life (EOL). Here is a Win 7 license from Amazon amzn.to/2rpHUM7

    • @bertnijhof5413
      @bertnijhof5413 5 років тому

      @@ChrisTitusTech I never had problems activating Windows in Virtualbox as long as I did it on the original PC. It worked on older PCs and currently it worked on my i5 laptop with its Windows 7 sticker and it worked on my AMD desktop with a Windows Vista sticker. On QEMU/KVM it did not work.

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому

      @@bertnijhof5413 You could always do the age-old tactic of phone activation... I haven't tried that in years though, and not sure if they still do it.

  • @AgnisRoz
    @AgnisRoz 3 роки тому

    I added my user to libvirt-qemu rebooted and my HOST OS (Mint) is now broken? Seems like some kind of recovery mode with no UI (which I can still start through startx), no audio, no graphics drivers. Shows some bunch of errors about AppArmor profiles, VM registration services and PCIe bus.

  • @mrunalibarde9127
    @mrunalibarde9127 3 роки тому

    Not able to connect WiFi with guest machines. I did checked vmm network settings they are fine.

  • @tudorhulban2817
    @tudorhulban2817 3 роки тому

    Is it possible to have the VM storage on a (Linux) RAM disk ?

  • @gamegamesoumic
    @gamegamesoumic 3 роки тому

    how do you connect usb devices (such as a phone) to the virtual os? I am using qemu kvm and I am stuck. Could you help me, or make a tutorial about it?

  • @zeshankhalid2228
    @zeshankhalid2228 3 роки тому

    sir , which distro you r using

  • @akdisrael
    @akdisrael Рік тому

    having a problem in my MX Linux about spice gtk error

  • @reclee8333
    @reclee8333 3 роки тому

    unable to complete install: cannot access storage file '/media/mike/savehere/machine/ubuntu.qcow2
    that's the error i'm getting when creating a new vm. do you know what can be done?

  • @mahdikermani6784
    @mahdikermani6784 4 роки тому

    It said unable to locate any package. What’s the problem??:(((

  • @ahmedelsayed3133
    @ahmedelsayed3133 4 роки тому

    I had to use this command to open it, otherwise it will not open at all
    /usr/bin/python2.7 /usr/share/virt-manager/virt-manager

  • @luirick
    @luirick 4 роки тому

    Hi, I have been using Puppy Linux for a while and wonder if it can run QEMU. Any experience to share?

    • @yfs9035
      @yfs9035 4 роки тому +1

      It depends on your hardware but nothing prevents you from trying!

    • @luirick
      @luirick 4 роки тому

      @@yfs9035 any directions to share??....like: where can I download a QEMU pup package installer from?

  • @thedcrypted
    @thedcrypted 4 роки тому

    What about spice?

  • @Yeetrmcj
    @Yeetrmcj Рік тому

    my linux just tells me that the check compatability command isnt found and ive tried all your ways and it keeps saying command not found

  • @jdmac44
    @jdmac44 4 роки тому

    is that sudo reboot? Or pseudo? lol

  • @DOOM11777
    @DOOM11777 3 роки тому

    What Linux os is this?

  • @linuxinstalled
    @linuxinstalled 5 років тому

    What distro are you running? I love the desktop

    • @nani8ot
      @nani8ot 5 років тому +4

      He is often saying that distribution doesnt care.
      He can using this Desktop anywhere.
      To answer your question, he is using Debian with KDE.
      Debian with other repositories.
      Only remember KDE, the Distro means nothing in case of appearence

    • @themedleb
      @themedleb 4 роки тому +2

      I can confirm everything @BachUhr said in his comment except: In this video he is using Gnome Desktop Environment with some extensions (not KDE).

  • @plica06
    @plica06 3 роки тому

    I know this feedback is kinda pointless at this stage but I have to say... I clicked on this video really wanting to know about QEMU but at the end I'm really confused about what this video was actually doing!

  • @ctrlnull5308
    @ctrlnull5308 5 років тому

    trying to use bridged networking for my win10 vm so i can use my restclient for running an .net framework api w/ vs17. however i am unable to connect. any tips?

    • @jerry3k
      @jerry3k 4 роки тому

      @@silvesterlangen164 Does that not work on versions below 18.0.4 due to netplan?

  • @abhabh6896
    @abhabh6896 3 роки тому

    4:06 am not useing gnome, still have this problem, do what you do. NO CONNECTION. I am infuriated. What am I doing wrong?! Why is this harder than installing a distro?

  • @OraEtLabora0
    @OraEtLabora0 4 роки тому

    1:43 why is this step necessary?
    i managed to get mine working without it.
    (20.04 LTS server and 18.04 LTS desktop with GUI)
    these do not mention it:
    help.ubuntu.com/community/KVM/Installation
    wiki.debian.org/KVM
    this1 does:
    linuxconfig.org/install-and-set-up-kvm-on-ubuntu-20-04-focal-fossa-linux

  • @marklong2060
    @marklong2060 2 роки тому

    I installed KVM/QEMU MacOS on my machine. Let's just say things did not go well (everything in Linux is painful). I modified the screen resolution (to the wrong values of course) using EFI/Clover/config.plist. When I tried to go back and reconfig the initial values the file wouldn't open inside of text edit (of course it wouldn't).
    So after searching for almost a day trying to find a solution to my problem I decided to erase the vm hard disk and reinstall MacOS. Well this didn't work either (of course not). Apparently the changes I made were written to the system files never to be altered again.
    Now I am simply disgusted and want to remove this flaming hot POS from my machine and recover the wasted disk space (100G on a 1T drive allocated to the VM because I was really expecting to use it). Naturally given the negative experience that I am already having with this process I am cautious not to compound my pain and dig an even deeper hole for myself.
    Could you be so kind as to point me in the right direction?

  • @abhaychaniyara6003
    @abhaychaniyara6003 4 роки тому

    hello sir can you please make a video on how to play apex legends on qemu/kvm virtual mechine with gpu passthrough it will very helpful for so many user .
    I hope you will make video on it.
    :)

  • @James-pf9mn
    @James-pf9mn 3 роки тому +2

    Omg thank you! Now I can run windows without feeling like my computer is getting raped.

    • @justinngu5371
      @justinngu5371 3 роки тому

      Hi bro do you encounter an error msg " Unable to init server: Could not connect: Connection refused" after trying on virt-manager ? Any way to solve this ?

  • @quantavious8959
    @quantavious8959 4 роки тому

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package qemu-kvm
    E: Unable to locate package libvirt-clients
    E: Unable to locate package libvirt-daemon-system
    E: Unable to locate package bridge-utils
    E: Unable to locate package libguestfs-tools
    E: Unable to locate package virtinst
    E: Unable to locate package libosinfo-bin
    E: Unable to locate package virt-manager
    root@kali:~# e
    thats what it said

    • @jclarens
      @jclarens 4 роки тому +1

      run sudo apt update

  • @bashisobsolete.pythonismyn6321
    @bashisobsolete.pythonismyn6321 5 років тому +1

    debian. started by Deborah and Ian. also known as debian and pronouced "debian".

  • @Caseyy04
    @Caseyy04 2 роки тому

    Something is wrong with the dude in the thumbnail...

  • @rubisdrake
    @rubisdrake 4 роки тому +2

    In all honesty, you should keep saying "DEE-bian", instead of "Deb-ian", if you really want to make me cringe more.

  • @NoneRain_
    @NoneRain_ 2 роки тому

    lol 5 minutes to show a command line.......

  • @therockstar17
    @therockstar17 3 роки тому

    “Deebian?” It’s “Debian” as in “deh-bee-in” as in Debra and Ian, the guy who created it and his wife. I’m an intermediate level Linux n00b but why do Linux n00bs always try to make tutorials?

  • @anonymousunitedph
    @anonymousunitedph Рік тому

    how to fix Unable to set XATTR trusted.libvirt.security.dac

  • @erkipolomanresa1164
    @erkipolomanresa1164 5 років тому

    Thanks to share. With the new release of debian 10 (buster). virt-manager came with support LXC. Do you know how can I activate?