How To Install platform-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install platform-devel
on Rocky Linux 8.
What is platform-devel
The platform-devel package contains libraries and header files for developing applications that use platform.
We can use yum
or dnf
to install platform-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install platform-devel.
Install platform-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install platform-devel
using dnf
by running the following command:
sudo dnf -y install platform-devel
Install platform-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install platform-devel
using yum
by running the following command:
sudo yum -y install platform-devel
How To Uninstall platform-devel on Rocky Linux 8
To uninstall only the platform-devel
package we can use the following command:
sudo dnf remove platform-devel
platform-devel Package Contents on Rocky Linux 8
/usr/include/p8-platform
/usr/include/p8-platform/os.h
/usr/include/p8-platform/posix
/usr/include/p8-platform/posix/os-socket.h
/usr/include/p8-platform/posix/os-threads.h
/usr/include/p8-platform/posix/os-types.h
/usr/include/p8-platform/sockets
/usr/include/p8-platform/sockets/cdevsocket.h
/usr/include/p8-platform/sockets/socket.h
/usr/include/p8-platform/sockets/tcp.h
/usr/include/p8-platform/threads
/usr/include/p8-platform/threads/atomics.h
/usr/include/p8-platform/threads/mutex.h
/usr/include/p8-platform/threads/threads.h
/usr/include/p8-platform/util
/usr/include/p8-platform/util/StdString.h
/usr/include/p8-platform/util/StringUtils.h
/usr/include/p8-platform/util/atomic.h
/usr/include/p8-platform/util/buffer.h
/usr/include/p8-platform/util/timeutils.h
/usr/include/p8-platform/util/util.h
/usr/lib64/libp8-platform.so
/usr/lib64/p8-platform
/usr/lib64/p8-platform/p8-platform-config.cmake
/usr/lib64/pkgconfig/p8-platform.pc
References
Summary
In this tutorial we learn how to install platform-devel
on Rocky Linux 8 using yum and dnf.