How to Install and Uninstall gcc12-PIE Package on openSUSE Leap

Last updated: June 26,2024

1. Install "gcc12-PIE" package

This tutorial shows how to install gcc12-PIE on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc12-PIE

2. Uninstall "gcc12-PIE" package

Please follow the instructions below to uninstall gcc12-PIE on openSUSE Leap:

$ sudo zypper remove gcc12-PIE

3. Information about the gcc12-PIE package on openSUSE Leap

Information for package gcc12-PIE:
----------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : gcc12-PIE
Version : 12.3.0+git1204-150000.1.16.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 242 B
Installed : No
Status : not installed
Source package : gcc12-12.3.0+git1204-150000.1.16.1.src
Upstream URL : https://gcc.gnu.org/
Summary : A default configuration to build all binaries in PIE mode
Description :
This package contains a configuration file (spec) that changes the
compilers default setting to build all ELF binaries in the Position
Independend Executable (PIE) variant. This enables better address
space randomization (ASLR).