How To Install xen on Fedora 34
Introduction
In this tutorial we learn how to install xen
on Fedora 34.
What is xen
This package contains the XenD daemon and xm command line tools, needed to manage virtual machines running under the Xen hypervisor
We can use yum
or dnf
to install xen
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xen.
Install xen on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install xen
using dnf
by running the following command:
sudo dnf -y install xen
Install xen on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install xen
using yum
by running the following command:
sudo yum -y install xen
How To Uninstall xen on Fedora 34
To uninstall only the xen
package we can use the following command:
sudo dnf remove xen
xen Package Contents on Fedora 34
/etc/sysconfig/xendomains
/etc/xen/auto
/usr/bin/xencons
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/3abd313177aac174c117cdde850570d973eaed
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/bd39cc6bffdad19b2984f48ff32252c8e5cf87
/usr/lib/systemd/system/xendomains.service
/usr/lib64/python3.9/site-packages/xen
/usr/lib64/python3.9/site-packages/xen-3.0-py3.9.egg-info
/usr/lib64/python3.9/site-packages/xen/__init__.py
/usr/lib64/python3.9/site-packages/xen/__pycache__
/usr/lib64/python3.9/site-packages/xen/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/__pycache__/util.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/lowlevel
/usr/lib64/python3.9/site-packages/xen/lowlevel/__init__.py
/usr/lib64/python3.9/site-packages/xen/lowlevel/__pycache__
/usr/lib64/python3.9/site-packages/xen/lowlevel/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/lowlevel/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/lowlevel/xc.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/xen/lowlevel/xs.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/xen/migration
/usr/lib64/python3.9/site-packages/xen/migration/__init__.py
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/legacy.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/legacy.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxc.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxc.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxl.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxl.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/public.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/public.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/tests.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/tests.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/verify.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/verify.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/xl.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/xl.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/legacy.py
/usr/lib64/python3.9/site-packages/xen/migration/libxc.py
/usr/lib64/python3.9/site-packages/xen/migration/libxl.py
/usr/lib64/python3.9/site-packages/xen/migration/public.py
/usr/lib64/python3.9/site-packages/xen/migration/tests.py
/usr/lib64/python3.9/site-packages/xen/migration/verify.py
/usr/lib64/python3.9/site-packages/xen/migration/xl.py
/usr/lib64/python3.9/site-packages/xen/util.py
/usr/share/doc/xen
/usr/share/doc/xen/COPYING
/usr/share/doc/xen/README
/etc/sysconfig/xendomains
/etc/xen/auto
/usr/bin/xencons
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/318864dcbc6964fd242785ea72db9a73d42829
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/fb556ad6b38d2fc7a6e74bbb23e4dfae5c6956
/usr/lib/systemd/system/xendomains.service
/usr/lib64/python3.9/site-packages/xen
/usr/lib64/python3.9/site-packages/xen-3.0-py3.9.egg-info
/usr/lib64/python3.9/site-packages/xen/__init__.py
/usr/lib64/python3.9/site-packages/xen/__pycache__
/usr/lib64/python3.9/site-packages/xen/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/__pycache__/util.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/lowlevel
/usr/lib64/python3.9/site-packages/xen/lowlevel/__init__.py
/usr/lib64/python3.9/site-packages/xen/lowlevel/__pycache__
/usr/lib64/python3.9/site-packages/xen/lowlevel/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/lowlevel/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/lowlevel/xc.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/xen/lowlevel/xs.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/xen/migration
/usr/lib64/python3.9/site-packages/xen/migration/__init__.py
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/legacy.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/legacy.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxc.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxc.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxl.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/libxl.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/public.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/public.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/tests.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/tests.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/verify.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/verify.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/xl.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/xen/migration/__pycache__/xl.cpython-39.pyc
/usr/lib64/python3.9/site-packages/xen/migration/legacy.py
/usr/lib64/python3.9/site-packages/xen/migration/libxc.py
/usr/lib64/python3.9/site-packages/xen/migration/libxl.py
/usr/lib64/python3.9/site-packages/xen/migration/public.py
/usr/lib64/python3.9/site-packages/xen/migration/tests.py
/usr/lib64/python3.9/site-packages/xen/migration/verify.py
/usr/lib64/python3.9/site-packages/xen/migration/xl.py
/usr/lib64/python3.9/site-packages/xen/util.py
/usr/share/doc/xen
/usr/share/doc/xen/COPYING
/usr/share/doc/xen/README
References
Summary
In this tutorial we learn how to install xen
on Fedora 34 using yum and dnf.