How do you install kvm in Linux using apt-get command?
Here is a tutorial to learn how to install kvm using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install kvm -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of kvm if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install kvm -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
kubuntu debug installer x11 apps libkworkspace4 libdbusmenu qt2
texlive common libmono data tds2.0 cil libsmbclient libpolkit backend 1 0
libmono c5 1.0 cil lib32bz2 1.0 libplist1 liblash2 aspell en libjna java
python packagekit libxcb aux0 libedit2 php fpdf menu xdg libsm dev
libatk1.0 0 jsvc menu libpcsclite1 libtalloc2 libpackagekit qt 12 libical0
libjaxp1.3 java libwpd8c2a gconf2 common libswscale0 libcdio10
libgtk2.0 common libdb je java hdparm libmono npgsql2.0 cil dnsmasq base
libxfixes3 junit4 espeak libmono security2.0 cil libgsf 1 common
update notifier common libqca2 xfonts 75dpi byobu python pyorbit libmtp8
rpm2cpio xsltproc libgutenprint2 libxcb atom1 libg15daemon client1
libnb apisupport1 java xserver xorg video all python debian llvm
libmono wcf3.0 cil hicolor icon theme libxcomposite1 libice dev liboro java
libarchive1 xserver xorg video apm libmono peapi2.0 cil libavutil49
libntfs10 debootstrap libaiksaurus 1.2 data libappframework java libpth20
xserver xorg video ark libflite1 fakeroot kword data xserver xorg video ati
unattended upgrades libxrandr dev libmono system data1.0 cil libgmime 2.4 2
libv4l 0 libcupsppdc1 ttf dejavu extra liblcms1 libnb javaparser java
libhal storage1 libdb4.7 java libmono simd2.0 cil libmono system2.0 cil
libmono1.0 cil xfonts scalable libexpat1 dev libcdio paranoia0
libqt4 qt3support libiw dev libmono system ldap1.0 cil libwebkit 1.0 common
squashfs tools libxerces2 java libpolkit qt 1 0 libmono0 libcupsimage2
libiceutil33 gamin libgphoto2 port0 ltspfs aspell usbmuxd libsensors4
libxdamage dev lib32ncurses5 pkg config libgcj bc gcj 4.4 base libxxf86dga1
libxine1 x libcupscgi1 libcaca0 libmono getoptions1.0 cil libgudev 1.0 0
poppler utils libmono cscompmgd8.0 cil libsamplerate0 libmono data1.0 cil
libsnmp15 genisoimage xserver xorg video openchrome libkpathsea5
hunspell en us intel gpu tools xbase clients kpackagekit preview latex style
libmono sharpzip0.84 cil libmono sqlite2.0 cil lvm2 libmono ldap1.0 cil
librdf0 latex xft fonts libpthread stubs0 libcdparanoia0 libicu42
libavc1394 0 esound clients smbclient libjtidy java libbonobo2 common
libilmbase6 libcupsdriver1 libjzlib java libatk1.0 data libsgutils2 2
libprotobuf5 gnome mime data iso codes libmodplug0c2
libmono management2.0 cil python pycurl libicu4j java x11 utils
libboost system1.40.0 libmagickcore2 liburi perl libfreemarker java
libservlet2.4 java libdb4.7 java gcj xserver xorg video s3virge
libxml2 utils desktop file utils xserver xorg video v4l pulseaudio dnsutils
libspectre1 x11 xkb utils libcommons beanutils java libfluidsynth1
xserver xorg video mga obex data server libhtml parser perl
libparted0debian1 xserver xorg video chips libbeagle1 libmono corlib2.0 cil
libxfixes dev udisks libimobiledevice0 g++ 4.4 libboost signals1.40.0 junit
libqt4 test dhcp3 server libqt4 script libqt4 designer php5 icedtea netx
lxde icon theme libsdl mixer1.2 xserver xorg core libqt4 network
libmono system web mvc1.0 cil libqt4 dbus xserver xorg video mach64
libasm2 java libxxf86vm1 tftpd hpa libproxy0 libjpeg progs libjack0 xterm
libnspr4 dev default jdk doc libxcb render util0 dev
libboost program options1.40.0 libnm util1 llvm dev kdelibs5
libmono cairo2.0 cil xserver common libtagc0 libmono relaxng1.0 cil
libxcb xv0 libgl1 mesa dri python newt libbonobo2 0 libtdb1 libmagickwand2
libvte common phonon libsctp1 libgnomevfs2 common hpijs texlive pstricks
xserver xorg video trident libavfilter0 libgnomevfs2 extra
python software properties lbreakout2 data cups client lmms common
libnb platform devel java x11proto xinerama dev libgl1 mesa glx
xserver xorg video sis libdca0 libx86 1 screen libfont afm perl
x11proto render dev libspeex1 oxygen icon theme bc libxi dev
texlive extra utils m4 gconf2 at plasma scriptengine javascript java common
dosfstools ed libmono i18n west2.0 cil xauth texlive latex base librpmio0
librpm0 libxslt1.1 texlive fonts recommended javahelp2 pulseaudio module x11
libwbclient0 rpm common auth client config libgomp1 icedtea 6 jre cacao
python apt gcj 4.4 jre lib libpixman 1 dev libnspr4 0d libsqlite0 libslp1
groff base libfftw3 3 libdirectfb extra libswingx java libdotconf1.0
xserver xorg video siliconmotion libtimedate perl libmono microsoft7.0 cil
gdebi core default jre headless libmono system messaging2.0 cil
libavdevice52 libcairo2 libmono system web1.0 cil libstartup notification0
libass4 libjs prototype libapache2 mod php5 xserver xorg input vmmouse
libavahi glib1 subversion openvpn blacklist policykit 1 linux source 2.6.32
libmono accessibility1.0 cil libcommons logging java
libmono webbrowser0.5 cil libexiv2 6 libmono posix2.0 cil
mysql server core 5.1 jetty g++ mono runtime libvisual 0.4 0 libbsd0
libfontconfig1 dev apturl common libsensors applet plugin0
xserver xorg video savage librasqal2 libxmuu1 libcommons compress java
libcanberra0 openjdk 6 jre lib libthai data libnss3 dev xorg docs core
x11proto kb dev libswingworker java luatex x11proto randr dev libwavpack1
libqt4 opengl libsoup gnome2.4 1 caps texlive generic recommended
libmysqlclient16 libxinerama dev libcap2 bin xserver xorg video tdfx
libmono system runtime2.0 cil mono 2.0 devel libavcodec52 gcc 4.4
x11 session utils libgcj10 texlive latex recommended libc6 i386 kdesudo
jruby1.1 libfuse2 texlive font utils mono csharp shell libopagent1 liblzma1
libobparser21 libgamin0 libsnmp base lib32gcc1 libqt4 xmlpatterns
libpcrecpp0 libqt4 sql sqlite texlive latex recommended doc
libhtml tree perl libg15render1 update manager core libsvn1 libdatrie1
openjdk 6 jre headless xtrans dev fontconfig libatk1.0 dev ruby1.8
libakonadiprivate1 libportaudio2 libavahi common data vbetool latex beamer
libavahi core6 libcue1 libmenu cache1 libxcb event1 xserver xorg video intel
libmcrypt4 libsoprano4 samba common libgconf2 4 libffi5 libiec61883 0 xinput
libelf1 libforms1 texlive binaries lib32asound2 libxres1
xserver xorg input all libmailtools perl libmono i18n1.0 cil gettext
libqt4 help ant python qt4 time libmono oracle1.0 cil arj xbitmaps
libpango1.0 common x11proto input dev libnb platform11 java tipa
xmms2 plugin id3v2 libvirt0 ruby texlive latex base doc
libmono messaging2.0 cil libgp11 0 default jdk libmono rabbitmq2.0 cil
kde window manager libenca0 latex xcolor libjsch java libsvn java
cups common libclucene0ldbl rtkit xserver xorg video vmware libpulse browse0
launchpad integration libpixman 1 0 libjetty java doc libexempi3 libhpmud0
x11proto fixes dev libxaw7 koffice libs shared desktop ontologies python sip
mingw32 runtime libijs 0.35 xserver xorg video r128 libqt4 gui libcups2
libt1 5 gcc libgdu0 libxml commons resolver1.1 java libpkcs11 helper1
libcobertura java libgnome2 common libhal1 default jre libjs scriptaculous
xfonts base libmono winforms1.0 cil python xapian apt xapian index libxen3
hal lynx cur xserver xorg input evdev libmono db2 1.0 cil libdbusmenu glib1
ant optional libqtcore4 pulseaudio esound compat libxinerama1 binfmt support
libesd0 virtuoso nepomuk libmikmod2 libkdecorations4
libmono system data2.0 cil libgif4 xserver xorg video vesa openssh client
libcommons net java libresid builder0c2a libreadline5 libmono2.0 cil
phonon backend xine x11 xfs utils libmono system ldap2.0 cil libxft2
speech dispatcher libmono bytefx0.7.6.1 cil pciutils mysql client core 5.1
libmono data tds1.0 cil libenchant1c2a libgnomevfs2 0 x11proto xext dev
espeak data mono gac libnm glib2 texlive luatex libxt dev kdepimlibs data
alsa utils libmono sharpzip2.6 cil libcroco3 libmono getoptions2.0 cil
libboost thread1.40.0 tzdata java libmono data2.0 cil libevent 1.4 2
libxext dev python cairo libopenexr6 libgme0 icoutils libmono npgsql1.0 cil
libgsf 1 114 libgtop2 common libtheora0 libpoppler5 librarian0 freepats
libaa1 libmono ldap2.0 cil libmono messaging rabbitmq2.0 cil
libmono security1.0 cil libopenobex1 libspeexdsp1 x11 xserver utils
libiptcdata0 x11proto damage dev software properties kde lyx common wodim
libthai0 rsync python dbus powermgmt base manpages libidl0 libntfs 3g75
libneon27 gnutls ffmpeg xserver xorg video s3 nbd server
libmono peapi1.0 cil xserver xorg libao2 mono 2.0 gac libpostproc51
libkwineffects1 libdjvulibre21 pax libglib2.0 dev libwv2 4
texlive fonts recommended doc libxine1 console pgf zlib1g dev
libdevmapper event1.02.1 liblzo2 2 hddtemp libmono system1.0 cil libxmu6
xserver xorg video nv soprano daemon libvorbisfile3 pm utils libcairo2 dev
xfonts 100dpi libspeechd2 libqt4 sql esound common xserver xorg video voodoo
xserver xorg video fbdev xserver xorg input wacom monodoc base lxmenu data
xmms2 plugin alsa libqt4 svg libnb java3 java libservlet2.5 java xdg utils
libwildmidi0 libxrender1 openssl blacklist libmono sharpzip0.6 cil xinit
libradius1 libmono cscompmgd7.0 cil liborc 0.4 0 gstreamer0.10 pulseaudio
libraw1394 11 libespeak1 libfreetype6 dev libshout3 libgsm1
xserver xorg video nouveau libdv4 libdvdnav4 libhtml format perl fancontrol
libatasmart4 libservlet2.3 java libmono sqlite1.0 cil
libmono sharpzip2.84 cil libxau dev librpmbuild0 libxmmsclient6
debconf utils libphonon4 mingw32 binutils polkit kde 1 python gnupginterface
libfs6 libdvdread4 libmpdclient2 libqt4 xml libmono relaxng2.0 cil
install package stk xserver xorg video neomagic packagekit
libschroedinger 1.0 0 libiw30 libxss1 libtotem plparser17 libgs8
libavformat52 libmono microsoft build2.0 cil libhunspell 1.2 0 libslf4j java
libkephal4 libcommons daemon java libnfsidmap2 tcl8.4 libdc1394 22 libtiff4
libqt4 assistant libmono dev libkate1 gdebi kde libplasma3 libcdaudio1
python gobject libmimic0 xserver xorg input mouse libjasper1 libgtop2 7
xmms2 core ntfsprogs libswing layout java libvisual 0.4 plugins ttf dejavu
libxine1 misc plugins libgstreamer plugins base0.10 0 libcap ng0
libapparmor1 libusbmuxd1 texlive base libpciaccess0 libregexp java
libperl5.10 kdepimlibs5 libgnomeui common update manager kde xz utils
libmono cecil private cil libmono corlib1.0 cil libxxf86misc1
wwwconfig common libgnome keyring0 libdaemon0 psutils libsidplay2
kdelibs bin usbutils smartdimmer libxvmc1 python gdbm libc6 dev libqtgui4
liborbit2 libpackagekit glib2 12 libattica0 tk8.4 libmono microsoft8.0 cil
libg15 1 liblua5.1 0 avahi daemon libzeroc ice33 libmono system web2.0 cil
libxcomposite dev libtag1c2a libmono cairo1.0 cil brasero common
libsoundtouch1c2 libstk0c2a libavahi client3 libwnck common
libxcb render0 dev app install data libxrender dev xmms2 plugin vorbis
libxmmsclient glib1 libmpg123 0 libmad0 libmono accessibility2.0 cil
libpolkit agent 1 0 ant optional gcj xorg php5 ldap texlive doc base
texlive latex extra libpq5 python support libgpgme11 libart 2.0 2
librpcsecgss3 man db libstreams0 libid3tag0 libavahi compat libdnssd1
ca certificates java libqt4 webkit libraptor1 html2text libcdio cdda0
imagemagick texlive latex extra doc libhtml tagset perl lib32z1 radeontool
libhamcrest java xserver xorg video sisusb liblucene2 java libpango1.0 0
xmms2 plugin mad exiv2 libgvfscommon0 php5 mysql libmusicbrainz4c2a
libmono i18n west1.0 cil libxft dev texlive pictures libx11 dev liboil0.3
libmhash2 kdelibs5 data libaiksaurus 1.2 0c2a kdebase runtime openjdk 6 doc
hal info libqt3 mt lib32stdc++6 miscfiles libxdamage1
libmono bytefx0.7.6.2 cil x11proto composite dev linux libc dev
dictionaries common libcommons collections3 java patch manpages dev
libbeansbinding java samba common bin libcelt0 0 libgcj common openvpn
libdirac encoder0 libboost regex1.40.0 tap plugins libwww perl
libqt4 sql mysql xserver xorg video tseng netcat traditional fuse utils
xserver xorg video radeon libxcb render0 php5 cli libruby1.8
libmono system messaging1.0 cil info dvd+rw tools libexif12 libgtk2.0 bin
libqt4 scripttools lib32v4l 0 libglu1 mesa libdjvulibre text libpaper utils
libdbus 1 dev dbus x11 libcupsmime1 libc dev bin watershed libxcb1 dev
libxcb shape0 libgssglue1 openjdk 6 jdk xserver xorg video cirrus
libmono posix1.0 cil ant gcj libbonoboui2 common libgstreamer0.10 0
libcommons digester java libssh 4 libaudio2 libxcursor1 libxcb shm0
libdirectfb dev binutils kdebase runtime data libjpeg62 dev libxt6 min12xxw
texlive pictures doc libxv1 portmap libini4j java libjson glib 1.0 0
libdbus glib 1 dev ncurses term libjetty java p7zip full openjdk 6 jre
libmono i18n2.0 cil libavahi common3 libiodbc2 libmpcdec3
libpam gnome keyring texlive pstricks doc liblog4j1.2 java mysql common
libxcb render util0 libnb svnclientadapter java php5 common
libmono oracle2.0 cil libjline java libxrandr2 libmono system runtime1.0 cil
tex common libusb 1.0 0 lacheck libnss3 1d gstreamer0.10 plugins base
x11proto core dev javascript common ntfs 3g python gconf
xserver xorg input synaptics libaspell15 linux sound base libmng1
gnome doc utils libgtk2.0 0 libbluetooth3 libnb ide12 java dvb apps
koffice data libxine1 bin libxdmcp dev xserver xorg video rendition
libpthread stubs0 dev libsysfs dev pulseaudio utils libofa0 libxcursor dev
python libxml2 libxkbfile1 libgnomecanvas2 common libgdiplus
xserver xorg video i128 libmms0 libmono winforms2.0 cil oprofile libpaper1
libltdl7 python kde4 libllvm2.7 libasound2 plugins libjs mootools
libsoup2.4 1 libboost filesystem1.40.0 libstreamanalyzer0 libstdc++6 4.4 dev
libgphoto2 2 mono gmcs libfaad2 mercurial common packagekit backend apt
libtag1 vanilla libxine1 libaudiofile0 libsmpeg0 libpng12 dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
kvm
0 upgraded, 1 newly installed, 0 to remove and 67 not upgraded.
Need to get 0B/17.2kB of archives.
After this operation, 69.6kB of additional disk space will be used.
Selecting previously deselected package kvm.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 133911 files and directories currently installed.)
Unpacking kvm (from .../kvm_1%3a84+dfsg 0ubuntu16+0.12.3+noroms+0ubuntu9.26_amd64.deb) ...
Setting up kvm (1:84+dfsg 0ubuntu16+0.12.3+noroms+0ubuntu9.26) ...
root@hiox:~