The following assumes you want a single user install. If you want a system wide install instead, run the attached script create-patchelf-pkg.sh
(after first installing a suitable build environment).
Note: create-patchelf-pkg.sh
also provides an uninstall script.
Install a basic build environment (if you don't already have one). How to install this varies from distro to distro. Your best bet to refer to your distro's wiki or ask in their forums. That said, here are a few example install commands for a few of the popular distros:
- Ubunt/Mint/Debian:
sudo install build-essential
- Fedora:
sudo dnf install @development-tools