How to Install and Uninstall stb_sprintf-devel.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)
Last updated: November 28,2024
1. Install "stb_sprintf-devel.x86_64" package
In this section, we are going to explain the necessary steps to install stb_sprintf-devel.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)
$
sudo dnf update
Copied
$
sudo dnf install
stb_sprintf-devel.x86_64
Copied
2. Uninstall "stb_sprintf-devel.x86_64" package
Please follow the guidelines below to uninstall stb_sprintf-devel.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):
$
sudo dnf remove
stb_sprintf-devel.x86_64
Copied
$
sudo dnf autoremove
Copied
3. Information about the stb_sprintf-devel.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)
Last metadata expiration check: 1:05:02 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : stb_sprintf-devel
Version : 1.10
Release : 0.41.20240213gitae721c5.el8
Architecture : x86_64
Size : 27 k
Source : stb-0-0.41.20240213gitae721c5.el8.src.rpm
Repository : epel
Summary : Fast sprintf, snprintf for C/C++
URL : https://github.com/nothings/stb
License : MIT OR Unlicense
Description : This is a full sprintf replacement that supports everything that the C runtime
: sprintfs support, including float/double, 64-bit integers, hex floats, field
: parameters (%*.*d stuff), length reads backs, etc.
:
: Why would you need this if sprintf already exists? Well, first off, it’s *much*
: faster (see below). It’s also much smaller than the CRT versions
: code-space-wise. We’ve also added some simple improvements that are super handy
: (commas in thousands, callbacks at buffer full, for example). Finally, the
: format strings for MSVC and GCC differ for 64-bit integers (among other small
: things), so this lets you use the same format strings in cross platform code.
:
: It uses the standard single file trick of being both the header file and the
: source itself. If you just include it normally, you just get the header file
: function definitions. To get the code, you include it from a C or C++ file and
: define STB_SPRINTF_IMPLEMENTATION first.
:
: It only uses va_args macros from the C runtime to do its work. It does cast
: doubles to S64s and shifts and divides U64s, which does drag in CRT code on
: most platforms.
:
: It compiles to roughly 8K with float support, and 4K without. As a comparison,
: when using MSVC static libs, calling sprintf drags in 16K.
Available Packages
Name : stb_sprintf-devel
Version : 1.10
Release : 0.41.20240213gitae721c5.el8
Architecture : x86_64
Size : 27 k
Source : stb-0-0.41.20240213gitae721c5.el8.src.rpm
Repository : epel
Summary : Fast sprintf, snprintf for C/C++
URL : https://github.com/nothings/stb
License : MIT OR Unlicense
Description : This is a full sprintf replacement that supports everything that the C runtime
: sprintfs support, including float/double, 64-bit integers, hex floats, field
: parameters (%*.*d stuff), length reads backs, etc.
:
: Why would you need this if sprintf already exists? Well, first off, it’s *much*
: faster (see below). It’s also much smaller than the CRT versions
: code-space-wise. We’ve also added some simple improvements that are super handy
: (commas in thousands, callbacks at buffer full, for example). Finally, the
: format strings for MSVC and GCC differ for 64-bit integers (among other small
: things), so this lets you use the same format strings in cross platform code.
:
: It uses the standard single file trick of being both the header file and the
: source itself. If you just include it normally, you just get the header file
: function definitions. To get the code, you include it from a C or C++ file and
: define STB_SPRINTF_IMPLEMENTATION first.
:
: It only uses va_args macros from the C runtime to do its work. It does cast
: doubles to S64s and shifts and divides U64s, which does drag in CRT code on
: most platforms.
:
: It compiles to roughly 8K with float support, and 4K without. As a comparison,
: when using MSVC static libs, calling sprintf drags in 16K.