How To Install indent.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install indent.x86_64 on Amazon Linux 2.
What is indent.x86_64
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 to install indent.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install indent.x86_64.
Install indent.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install indent.x86_64 using yum by running the following command:
sudo yum -y install indent.x86_64
How To Uninstall indent.x86_64 on Amazon Linux 2
To uninstall only the indent.x86_64 package we can use the following command:
sudo yum remove indent.x86_64
indent.x86_64 Package Contents on Amazon Linux 2
/usr/bin/indent
/usr/share/doc/indent-2.2.11
/usr/share/doc/indent-2.2.11/AUTHORS
/usr/share/doc/indent-2.2.11/COPYING
/usr/share/doc/indent-2.2.11/ChangeLog
/usr/share/doc/indent-2.2.11/ChangeLog-1990
/usr/share/doc/indent-2.2.11/ChangeLog-1998
/usr/share/doc/indent-2.2.11/ChangeLog-2001
/usr/share/doc/indent-2.2.11/NEWS
/usr/share/doc/indent-2.2.11/README
/usr/share/info/indent.info.gz
/usr/share/locale/ca/LC_MESSAGES/indent.mo
/usr/share/locale/da/LC_MESSAGES/indent.mo
/usr/share/locale/de/LC_MESSAGES/indent.mo
/usr/share/locale/eo/LC_MESSAGES/indent.mo
/usr/share/locale/et/LC_MESSAGES/indent.mo
/usr/share/locale/fi/LC_MESSAGES/indent.mo
/usr/share/locale/fr/LC_MESSAGES/indent.mo
/usr/share/locale/gl/LC_MESSAGES/indent.mo
/usr/share/locale/hu/LC_MESSAGES/indent.mo
/usr/share/locale/it/LC_MESSAGES/indent.mo
/usr/share/locale/ja/LC_MESSAGES/indent.mo
/usr/share/locale/ko/LC_MESSAGES/indent.mo
/usr/share/locale/nl/LC_MESSAGES/indent.mo
/usr/share/locale/pl/LC_MESSAGES/indent.mo
/usr/share/locale/pt_BR/LC_MESSAGES/indent.mo
/usr/share/locale/ru/LC_MESSAGES/indent.mo
/usr/share/locale/sk/LC_MESSAGES/indent.mo
/usr/share/locale/sv/LC_MESSAGES/indent.mo
/usr/share/locale/tr/LC_MESSAGES/indent.mo
/usr/share/locale/zh_TW.Big5/LC_MESSAGES/indent.mo
/usr/share/man/man1/indent.1.gz
References
Summary
In this tutorial we learn how to install indent.x86_64 on Amazon Linux 2 using yum.