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

Last updated: May 18,2024

1. Install "gcc-PIE" package

Please follow the instructions below to install gcc-PIE on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install gcc-PIE

2. Uninstall "gcc-PIE" package

This tutorial shows how to uninstall gcc-PIE on openSUSE Leap:

$ sudo zypper remove gcc-PIE

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

Information for package gcc-PIE:
--------------------------------
Repository : Main Repository
Name : gcc-PIE
Version : 7-3.9.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 242 B
Installed : No
Status : not installed
Source package : gcc-7-3.9.1.src
Upstream URL : http://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).