How To Install mraa on Fedora 34
Introduction
In this tutorial we learn how to install mraa
on Fedora 34.
What is mraa
mraa is a low level skeleton library for Industrial IO Communication and includes python, java and Node-JS bindings. mraa 2.2.0 2.fc34 x86_64 114 k mraa-2.2.0-2.fc34.src.rpm fedora A low level skeleton library for Industrial IO Communication https MIT mraa is a low level skeleton library for Industrial IO Communication and includes python, java and Node-JS bindings.
We can use yum
or dnf
to install mraa
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mraa.
Install mraa 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 mraa
using dnf
by running the following command:
sudo dnf -y install mraa
Install mraa 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 mraa
using yum
by running the following command:
sudo yum -y install mraa
How To Uninstall mraa on Fedora 34
To uninstall only the mraa
package we can use the following command:
sudo dnf remove mraa
mraa Package Contents on Fedora 34
/usr/bin/mraa-gpio
/usr/bin/mraa-i2c
/usr/bin/mraa-uart
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/e0b462d4aeb0cc4762dcb90ff41525582b59d4
/usr/lib/.build-id/09
/usr/lib/.build-id/09/ff7d4b8663c069704e4adc574598442aed81e2
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/2227653ea2f79e4a0c6cfc1a4a7e408105b1db
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/3ed7ccd823db07f3e46030059cd834e3091c75
/usr/lib/libmraa.so.2
/usr/lib/libmraa.so.2.2.0
/usr/share/doc/mraa
/usr/share/doc/mraa/CONTRIBUTING.md
/usr/share/doc/mraa/README.md
/usr/share/licenses/mraa
/usr/share/licenses/mraa/COPYING
/usr/bin/mraa-gpio
/usr/bin/mraa-i2c
/usr/bin/mraa-uart
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/b0e5c223f14ccfe41bd2b9abcd2fe35784a63f
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/0c9192203572009bc5f2d81a26ca5924e34bfb
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/8e016111ffd54ddbdff65d9a1f856f58541f2a
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/f60cd91dfb33c7bb6b742ef46b0261556340ab
/usr/lib64/libmraa.so.2
/usr/lib64/libmraa.so.2.2.0
/usr/share/doc/mraa
/usr/share/doc/mraa/CONTRIBUTING.md
/usr/share/doc/mraa/README.md
/usr/share/licenses/mraa
/usr/share/licenses/mraa/COPYING
References
- [mraa website](https://projects.eclipse.org/projects/iot.mraa https://projects.eclipse.org/projects/iot.mraa)
Summary
In this tutorial we learn how to install mraa
on Fedora 34 using yum and dnf.