How To Install libsoc on Fedora 34
Introduction
In this tutorial we learn how to install libsoc
on Fedora 34.
What is libsoc
libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces. libsoc 0.8.2 17.fc34 x86_64 37 k libsoc-0.8.2-17.fc34.src.rpm fedora Interface with common SoC peripherals through generic kernel interfaces https LGPLv2+ libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces.
We can use yum
or dnf
to install libsoc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsoc.
Install libsoc 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 libsoc
using dnf
by running the following command:
sudo dnf -y install libsoc
Install libsoc 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 libsoc
using yum
by running the following command:
sudo yum -y install libsoc
How To Uninstall libsoc on Fedora 34
To uninstall only the libsoc
package we can use the following command:
sudo dnf remove libsoc
libsoc Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/6f27a6abe9d59b3720c04f779726db7bf6d3d0
/usr/lib/libsoc.so.2
/usr/lib/libsoc.so.2.4.2
/usr/share/doc/libsoc
/usr/share/doc/libsoc/ChangeLog
/usr/share/doc/libsoc/README.md
/usr/share/libsoc
/usr/share/libsoc/beaglebone_black.conf
/usr/share/libsoc/bubblegum.conf
/usr/share/libsoc/dragonboard410c.conf
/usr/share/libsoc/example.conf
/usr/share/libsoc/hikey.conf
/usr/share/libsoc/odroid_c2.conf
/usr/share/licenses/libsoc
/usr/share/licenses/libsoc/LICENCE
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/4a955b9768b6646dbda93cfb11b519b3b72c8f
/usr/lib64/libsoc.so.2
/usr/lib64/libsoc.so.2.4.2
/usr/share/doc/libsoc
/usr/share/doc/libsoc/ChangeLog
/usr/share/doc/libsoc/README.md
/usr/share/libsoc
/usr/share/libsoc/beaglebone_black.conf
/usr/share/libsoc/bubblegum.conf
/usr/share/libsoc/dragonboard410c.conf
/usr/share/libsoc/example.conf
/usr/share/libsoc/hikey.conf
/usr/share/libsoc/odroid_c2.conf
/usr/share/licenses/libsoc
/usr/share/licenses/libsoc/LICENCE
References
- [libsoc website](https://github.com/jackmitch/libsoc https://github.com/jackmitch/libsoc)
Summary
In this tutorial we learn how to install libsoc
on Fedora 34 using yum and dnf.