How to Install and Uninstall unifdef Package on openSUSE Leap

Last updated: November 22,2024

1. Install "unifdef" package

Please follow the guidelines below to install unifdef on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install unifdef

2. Uninstall "unifdef" package

Please follow the guidance below to uninstall unifdef on openSUSE Leap:

$ sudo zypper remove unifdef

3. Information about the unifdef package on openSUSE Leap

Information for package unifdef:
--------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : unifdef
Version : 2.12-150000.1.3.1
Arch : x86_64
Vendor : SUSE LLC
Support Level : Level 3
Installed Size : 251.1 KiB
Installed : No
Status : not installed
Source package : unifdef-2.12-150000.1.3.1.src
Upstream URL : https://dotat.at/prog/unifdef/
Summary : Removes ifdefs from C files
Description :
Unifdef is useful for removing ifdef'ed lines from a file while otherwise
leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif
lines, and it knows only enough about C to know when one of these is
inactive because it is inside a comment, or a single or double quote.