How To Install sdcc-libc-sources on CentOS 7
Introduction
In this tutorial we learn how to install sdcc-libc-sources
on CentOS 7.
What is sdcc-libc-sources
SDCC is a C compiler for 8051 class and similar microcontrollers. This package includes the sources for the C library, and is only necessary if you want to modify the C library or as reference of how it works.
We can use yum
or dnf
to install sdcc-libc-sources
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install sdcc-libc-sources.
Install sdcc-libc-sources on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install sdcc-libc-sources
using yum
by running the following command:
Install sdcc-libc-sources on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install sdcc-libc-sources
using dnf
by running the following command:
How To Uninstall sdcc-libc-sources on CentOS 7
To uninstall only the sdcc-libc-sources
package we can use the following command:
References
Summary
In this tutorial we learn how to install sdcc-libc-sources
on CentOS 7 using yum
and dnf
.