How to Install and Uninstall uncrustify Package on openSUSE Leap

Last updated: May 13,2024

1. Install "uncrustify" package

This is a short guide on how to install uncrustify on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install uncrustify

2. Uninstall "uncrustify" package

Please follow the steps below to uninstall uncrustify on openSUSE Leap:

$ sudo zypper remove uncrustify

3. Information about the uncrustify package on openSUSE Leap

Information for package uncrustify:
-----------------------------------
Repository : Main Repository
Name : uncrustify
Version : 0.76.0-bp155.1.5
Arch : x86_64
Vendor : openSUSE
Installed Size : 2.8 MiB
Installed : No
Status : not installed
Source package : uncrustify-0.76.0-bp155.1.5.src
Upstream URL : https://github.com/uncrustify/uncrustify
Summary : Source Code Beautifier for C, C++, C#, ObjectiveC, D
Description :
Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA.
Features:
* Ident code, aligning on parens, assignments, etc.
* Align on '=' and variable definitions.
* Align structure initializers.
* Align #define stuff.
* Align backslash-newline stuff.
* Reformat comments (a little bit).
* Fix inter-character spacing.
* Add or remove parens on return statements.
* Add or remove braces on single-statement if/do/while/for statements.
* Supports embedded SQL 'EXEC SQL' stuff.
* Highly configurable - 454 configurable options as of version 0.60.