How To Install indent on Fedora 36
Introduction
In this tutorial we learn how to install indent
on Fedora 36.
What is indent
Indent is a GNU program for beautifying C code, so that it is easier to read. Indent can also convert from one C writing style to a different one. Indent understands correct C syntax and tries to handle incorrect C syntax. Install the indent package if you are developing applications in C and you want a program to format your code.
We can use yum
or dnf
to install indent
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install indent.
Install indent on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
After updating yum database, We can install indent
using dnf
by running the following command:
Install indent on Fedora 36 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install indent
using yum
by running the following command:
How To Uninstall indent on Fedora 36
To uninstall only the indent
package we can use the following command:
indent Package Contents on Fedora 36
References
Summary
In this tutorial we learn how to install indent
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).