How To Install co2mon on Fedora 34
Introduction
In this tutorial we learn how to install co2mon
on Fedora 34.
What is co2mon
Software for USB CO2 Monitor devices. co2mon 2.1.1 6.20190313git6a53ffa.fc34 x86_64 35 k co2mon-2.1.1-6.20190313git6a53ffa.fc34.src.rpm fedora CO2 monitor software https GPLv3+ Software for USB CO2 Monitor devices.
We can use yum
or dnf
to install co2mon
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install co2mon.
Install co2mon 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 co2mon
using dnf
by running the following command:
sudo dnf -y install co2mon
Install co2mon 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 co2mon
using yum
by running the following command:
sudo yum -y install co2mon
How To Uninstall co2mon on Fedora 34
To uninstall only the co2mon
package we can use the following command:
sudo dnf remove co2mon
co2mon Package Contents on Fedora 34
/usr/bin/co2mond
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/c533b743de72b5fb7e97974cda053484cb9e3c
/usr/lib/.build-id/67
/usr/lib/.build-id/67/cda514404b2ccd94126c4b8806e8f22f4157c1
/usr/lib/udev/rules.d/99-co2mon.rules
/usr/lib64/libco2mon.so.1
/usr/share/co2mon
/usr/share/co2mon/graph
/usr/share/co2mon/graph/collectd
/usr/share/co2mon/graph/collectd/co2mon.conf.example
/usr/share/co2mon/graph/collectd/co2mon.py
/usr/share/co2mon/graph/munin
/usr/share/co2mon/graph/munin/co2mon
/usr/share/co2mon/graph/rrd
/usr/share/co2mon/graph/rrd/Makefile
/usr/share/co2mon/graph/rrd/index.html
/usr/share/co2mon/graph/rrd/update_data.sh
/usr/share/co2mon/graph/rrd/update_graph.sh
/usr/share/doc/co2mon
/usr/share/doc/co2mon/README.md
/usr/share/licenses/co2mon
/usr/share/licenses/co2mon/LICENSE
/usr/bin/co2mond
/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/8c3bff53aa50d856da3128c6e64eda956992a9
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3a3cc91319ce097dd597ce74bdf1dd5319aeed
/usr/lib/libco2mon.so.1
/usr/lib/udev/rules.d/99-co2mon.rules
/usr/share/co2mon
/usr/share/co2mon/graph
/usr/share/co2mon/graph/collectd
/usr/share/co2mon/graph/collectd/co2mon.conf.example
/usr/share/co2mon/graph/collectd/co2mon.py
/usr/share/co2mon/graph/munin
/usr/share/co2mon/graph/munin/co2mon
/usr/share/co2mon/graph/rrd
/usr/share/co2mon/graph/rrd/Makefile
/usr/share/co2mon/graph/rrd/index.html
/usr/share/co2mon/graph/rrd/update_data.sh
/usr/share/co2mon/graph/rrd/update_graph.sh
/usr/share/doc/co2mon
/usr/share/doc/co2mon/README.md
/usr/share/licenses/co2mon
/usr/share/licenses/co2mon/LICENSE
References
- [co2mon website](https://github.com/dmage/co2mon https://github.com/dmage/co2mon)
Summary
In this tutorial we learn how to install co2mon
on Fedora 34 using yum and dnf.