How To Install targetd on Fedora 36
Introduction
In this tutorial we learn how to install targetd
on Fedora 36.
What is targetd
targetd turns the machine into a remotely-configurable storage appliance. It supports an HTTP/jsonrpc-2.0 interface to let a remote administrator allocate volumes from an LVM volume group, and export those volumes over iSCSI.
We can use yum
or dnf
to install targetd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install targetd.
Install targetd on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install targetd
using dnf
by running the following command:
sudo dnf -y install targetd
Install targetd on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install targetd
using yum
by running the following command:
sudo yum -y install targetd
How To Uninstall targetd on Fedora 36
To uninstall only the targetd
package we can use the following command:
sudo dnf remove targetd
targetd Package Contents on Fedora 36
/etc/target/targetd.yaml
/usr/bin/targetd
/usr/lib/python3.10/site-packages/targetd
/usr/lib/python3.10/site-packages/targetd-0.10.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/targetd/__init__.py
/usr/lib/python3.10/site-packages/targetd/__pycache__
/usr/lib/python3.10/site-packages/targetd/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/block.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/block.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/fs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/fs.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/mount.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/mount.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/nfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/nfs.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/backends
/usr/lib/python3.10/site-packages/targetd/backends/__init__.py
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/btrfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/btrfs.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/lvm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/lvm.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/zfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/targetd/backends/__pycache__/zfs.cpython-310.pyc
/usr/lib/python3.10/site-packages/targetd/backends/btrfs.py
/usr/lib/python3.10/site-packages/targetd/backends/lvm.py
/usr/lib/python3.10/site-packages/targetd/backends/zfs.py
/usr/lib/python3.10/site-packages/targetd/block.py
/usr/lib/python3.10/site-packages/targetd/fs.py
/usr/lib/python3.10/site-packages/targetd/main.py
/usr/lib/python3.10/site-packages/targetd/mount.py
/usr/lib/python3.10/site-packages/targetd/nfs.py
/usr/lib/python3.10/site-packages/targetd/utils.py
/usr/lib/systemd/system/targetd.service
/usr/share/doc/targetd
/usr/share/doc/targetd/API.md
/usr/share/doc/targetd/README.md
/usr/share/doc/targetd/client
/usr/share/licenses/targetd
/usr/share/licenses/targetd/LICENSE
/usr/share/man/man5/targetd.yaml.5.gz
/usr/share/man/man8/targetd.8.gz
References
Summary
In this tutorial we learn how to install targetd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).