How To Install tuna on Fedora 34
Introduction
In this tutorial we learn how to install tuna
on Fedora 34.
What is tuna
Provides interface for changing scheduler and IRQ tunables, at whole CPU and at per thread/IRQ level. Allows isolating CPUs for use by a specific application and moving threads and interrupts to a CPU by just dragging and dropping them. Operations can be done on CPU sockets, understanding CPU topology. Can be used as a command line utility without requiring the GUI libraries to be installed.
We can use yum
or dnf
to install tuna
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tuna.
Install tuna 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 tuna
using dnf
by running the following command:
sudo dnf -y install tuna
Install tuna 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 tuna
using yum
by running the following command:
sudo yum -y install tuna
How To Uninstall tuna on Fedora 34
To uninstall only the tuna
package we can use the following command:
sudo dnf remove tuna
tuna Package Contents on Fedora 34
/etc/tuna.conf
/etc/tuna/example.conf
/usr/bin/tuna
/usr/lib/python3.9/site-packages/tuna
/usr/lib/python3.9/site-packages/tuna-0.14.1-py3.9.egg-info
/usr/lib/python3.9/site-packages/tuna/__init__.py
/usr/lib/python3.9/site-packages/tuna/__pycache__
/usr/lib/python3.9/site-packages/tuna/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/help.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/help.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/oscilloscope.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/oscilloscope.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/sysfs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/sysfs.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/tuna.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/tuna.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/tuna_gui.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/__pycache__/tuna_gui.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/config.py
/usr/lib/python3.9/site-packages/tuna/gui
/usr/lib/python3.9/site-packages/tuna/gui/__init__.py
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/commonview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/commonview.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/cpuview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/cpuview.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/irqview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/irqview.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/procview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/procview.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/profileview.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/profileview.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/tuna/gui/__pycache__/util.cpython-39.pyc
/usr/lib/python3.9/site-packages/tuna/gui/commonview.py
/usr/lib/python3.9/site-packages/tuna/gui/cpuview.py
/usr/lib/python3.9/site-packages/tuna/gui/irqview.py
/usr/lib/python3.9/site-packages/tuna/gui/procview.py
/usr/lib/python3.9/site-packages/tuna/gui/profileview.py
/usr/lib/python3.9/site-packages/tuna/gui/util.py
/usr/lib/python3.9/site-packages/tuna/help.py
/usr/lib/python3.9/site-packages/tuna/oscilloscope.py
/usr/lib/python3.9/site-packages/tuna/sysfs.py
/usr/lib/python3.9/site-packages/tuna/tuna.py
/usr/lib/python3.9/site-packages/tuna/tuna_gui.py
/usr/share/doc/tuna
/usr/share/doc/tuna/ChangeLog
/usr/share/locale/ja/LC_MESSAGES/tuna.mo
/usr/share/locale/pt_BR/LC_MESSAGES/tuna.mo
/usr/share/locale/zh_CN/LC_MESSAGES/tuna.mo
/usr/share/man/man8/tuna.8.gz
/usr/share/polkit-1/actions/org.tuna.policy
/usr/share/tuna
/usr/share/tuna/help
/usr/share/tuna/help/kthreads
/usr/share/tuna/help/kthreads/events-
/usr/share/tuna/help/kthreads/group_balance
/usr/share/tuna/help/kthreads/kblockd-
/usr/share/tuna/help/kthreads/khelper
/usr/share/tuna/help/kthreads/kjournald
/usr/share/tuna/help/kthreads/kondemand-
/usr/share/tuna/help/kthreads/krcupreemptd
/usr/share/tuna/help/kthreads/ksoftirqd-
/usr/share/tuna/help/kthreads/kthreadd
/usr/share/tuna/help/kthreads/lockd
/usr/share/tuna/help/kthreads/migration-
/usr/share/tuna/help/kthreads/posix_cpu_timer
/usr/share/tuna/help/kthreads/rpciod-
/usr/share/tuna/help/kthreads/sirq-block-
/usr/share/tuna/help/kthreads/sirq-high-
/usr/share/tuna/help/kthreads/sirq-net-rx-
/usr/share/tuna/help/kthreads/sirq-net-tx-
/usr/share/tuna/help/kthreads/sirq-rcu-
/usr/share/tuna/help/kthreads/sirq-sched-
/usr/share/tuna/help/kthreads/sirq-tasklet-
/usr/share/tuna/help/kthreads/sirq-timer-
/usr/share/tuna/help/kthreads/usb-storage
/usr/share/tuna/help/kthreads/watchdog-
/usr/share/tuna/tuna_gui.glade
References
Summary
In this tutorial we learn how to install tuna
on Fedora 34 using yum and dnf.