How to Install and Uninstall unifdef Package on openSuSE Tumbleweed

Last updated: November 22,2024

1. Install "unifdef" package

This guide covers the steps necessary to install unifdef on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install unifdef

2. Uninstall "unifdef" package

This is a short guide on how to uninstall unifdef on openSuSE Tumbleweed:

$ sudo zypper remove unifdef

3. Information about the unifdef package on openSuSE Tumbleweed

Information for package unifdef:
--------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : unifdef
Version : 2.12-2.6
Arch : x86_64
Vendor : openSUSE
Installed Size : 254.7 KiB
Installed : No
Status : not installed
Source package : unifdef-2.12-2.6.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.