How to Install and Uninstall ucpp Package on openSUSE Leap

Last updated: April 30,2024

1. Install "ucpp" package

Please follow the guidance below to install ucpp on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ucpp

2. Uninstall "ucpp" package

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

$ sudo zypper remove ucpp

3. Information about the ucpp package on openSUSE Leap

Information for package ucpp:
-----------------------------
Repository : Main Repository
Name : ucpp
Version : 1.3.4-150000.3.6.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 49.0 KiB
Installed : No
Status : not installed
Source package : ucpp-1.3.4-150000.3.6.1.src
Upstream URL : http://code.google.com/p/ucpp/
Summary : A quick and light preprocessor, but anyway fully compliant to C99
Description :
A C preprocessor is a part of a C compiler responsible for macro
replacement, conditional compilation and inclusion of header files.
It is often found as a stand-alone program on Unix systems.
ucpp is such a preprocessor; it is designed to be quick and light,
but anyway fully compliant to the ISO standard 9899:1999, also known
as C99. ucpp can be compiled as a stand-alone program, or linked to
some other code; in the latter case, ucpp will output tokens, one
at a time, on demand, as an integrated lexer.
ucpp operates in two modes:
-- lexer mode: ucpp is linked to some other code and outputs a stream of
tokens (each call to the lex() function will yield one token)
-- non-lexer mode: ucpp preprocesses text and outputs the resulting text
to a file descriptor; if linked to some other code, the cpp() function
must be called repeatedly, otherwise ucpp is a stand-alone binary.