This article provides step-by-step instructions for creating and installing the Saner Agent package across different Linux distributions, including DPKG-based, RPM-based, Alpine, and AIX systems.
1. DPKG Systems (Debian, Ubuntu, Linux Mint)
Pre-requisites
Before package creation, ensure that the dpkg-deb package is installed:
sudo dpkg-query -l | grep deb
If not installed, run:
sudo apt install dpkg
Steps
- Download and unzip the installer
unzip Saner_<Account Name>_<linux_flavour>_<arch>_<version>.zip
- Navigate to the extracted directory
cd Saner_<Account Name>_<linux_flavour>_<arch>_<version>
- Make the binary executable
Ensure the account has sudo privileges.sudo chmod +x Saner_<linux_flavour>_<arch>_<version>.bin
- Create the Saner Agent package
sudo ./Saner_<linux_flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <absolute path>
- Navigate to package location
cd <absolute path>
- Install the package
sudo dpkg -i SpSaner-minimal-<arch>.deb
2. RPM Systems (RHEL, Fedora, CentOS, Oracle Linux, Amazon Linux, Alma Linux, Rocky Linux, SUSE Linux)
Note: RPM package creation is supported on both DPKG and RPM systems.
Pre-requisites
Check if the rpm package is installed:
sudo rpm -qa | grep rpm
- On DPKG systems:
sudo apt install rpm
- On RPM systems:
sudo yum install rpm-build
Steps
- Download and unzip the installer
unzip Saner_<Account Name>_<linux_flavour>_<arch>_<version>.zip
- Navigate to the extracted directory
cd Saner_<Account Name>_<linux_flavour>_<arch>_<version>
- Make the binary executable
sudo chmod +x Saner_<linux_flavour>_<arch>_<version>.bin
- Create the Saner Agent package
sudo ./Saner_<linux_flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <absolute path>
- Navigate to package location
cd <absolute path>
- Install the package
sudo rpm -ivh SpSaner-minimal-<arch>.rpm
3. Alpine Systems
- Download and unzip the installer
unzip Saner_<Account Name>_<linux_flavour>_<arch>_<version>.zip
- Navigate to the extracted directory
cd Saner_<Account Name>_<linux_flavour>_<arch>_<version>
- Make the binary executable
sudo chmod +x Saner_<linux_flavour>_<arch>_<version>.bin
- Create the Saner Agent package
sudo ./Saner_<linux_flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <absolute path>
- Navigate to package location
cd <absolute path>
- Install the package
sudo apk add SpSaner-minimal-<arch>.apk --allow-untrusted
4. AIX Systems
- Download and unzip the installer
unzip Saner_<Account Name>_AIX_x64_<version>.zip
- Navigate to the extracted directory
cd Saner_<Account Name>_AIX_x64_<version>
- Make the binary executable
sudo chmod +x Saner_AIX_x64_<version>.bin
- Create the Saner Agent package
sudo ./Saner_AIX_x64_<version>.bin --config spsaneractivation.conf
Summary
- DPKG Systems: Use .deb package with dpkg -i.
- RPM Systems: Use .rpm package with rpm -ivh.
- Alpine Systems: Use .apk package with apk add.
- AIX Systems: Use .bin file to create the package.
Ensure the installation account has sudo privileges in all cases.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article