How To Install astyle on Fedora 36
Introduction
In this tutorial we learn how to install astyle
on Fedora 36.
What is astyle
Artistic Style is a source code indenter, source code formatter, and source code beautifier for the C, C++, C# and Java programming languages.
We can use yum
or dnf
to install astyle
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install astyle.
Install astyle on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install astyle
using dnf
by running the following command:
sudo dnf -y install astyle
Install astyle on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install astyle
using yum
by running the following command:
sudo yum -y install astyle
How To Uninstall astyle on Fedora 36
To uninstall only the astyle
package we can use the following command:
sudo dnf remove astyle
astyle Package Contents on Fedora 36
---
title: "How To Install astyle on Fedora 36"
linkTitle: "astyle"
type: "docs"
description: "In this tutorial we learn how to install astyle in Fedora 36. astyle is Source code formatter for C-like programming languages"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/astyle-featured.png
---
## Introduction
In this tutorial we learn how to install `astyle` on Fedora 36.
### What is `astyle`
> Artistic Style is a source code indenter, source code formatter, and source code beautifier for the C, C++, C# and Java programming languages.
We can use `yum` or `dnf` to install `astyle` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install astyle.
## Install astyle on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install astyle
using dnf
by running the following command:
sudo dnf -y install astyle
Install astyle on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install astyle
using yum
by running the following command:
sudo yum -y install astyle
How To Uninstall astyle on Fedora 36
To uninstall only the astyle
package we can use the following command:
sudo dnf remove astyle
astyle Package Contents on Fedora 36
/usr/bin/astyle
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/40c5b26959c1f8bf4ce91bb6e6c457759265aa
/usr/lib/.build-id/63
/usr/lib/.build-id/63/a723ba37ad1adb8c2e8f782b39f80d1e36e51f
/usr/lib64/libastyle.so.3
/usr/lib64/libastyle.so.3.1.0
/usr/share/doc/astyle
/usr/share/doc/astyle/astyle.html
/usr/share/doc/astyle/install.html
/usr/share/doc/astyle/news.html
/usr/share/doc/astyle/notes.html
References
Summary
In this tutorial we learn how to install astyle
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/astyle /usr/lib/.build-id /usr/lib/.build-id/17 /usr/lib/.build-id/17/07f0a28c4c99871477988591cddda6d296c9e0 /usr/lib/.build-id/a0 /usr/lib/.build-id/a0/c099ed04da2f0d89dce5a1393fd7cae92e1836 /usr/lib/libastyle.so.3 /usr/lib/libastyle.so.3.1.0 /usr/share/doc/astyle /usr/share/doc/astyle/astyle.html /usr/share/doc/astyle/install.html /usr/share/doc/astyle/news.html /usr/share/doc/astyle/notes.html
## References
* [astyle website](http://astyle.sourceforge.net/)
## Summary
In this tutorial we learn how to install `astyle` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).