Saner Agent Package Creation and Installation on Linux Systems

Modified on Tue, 30 Sep at 9:57 AM

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

  1. Download and unzip the installer

    unzip Saner_<Account Name>_<linux_flavour>_<arch>_<version>.zip

  2. Navigate to the extracted directory

    cd Saner_<Account Name>_<linux_flavour>_<arch>_<version>

  3. Make the binary executable
    Ensure the account has sudo privileges.

    sudo chmod +x Saner_<linux_flavour>_<arch>_<version>.bin

  4. Create the Saner Agent package

    sudo ./Saner_<linux_flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <absolute path>

  5. Navigate to package location

    cd <absolute path>

  6. 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

  1. Download and unzip the installer

    unzip Saner_<Account Name>_<linux_flavour>_<arch>_<version>.zip

  2. Navigate to the extracted directory

    cd Saner_<Account Name>_<linux_flavour>_<arch>_<version>

  3. Make the binary executable

    sudo chmod +x Saner_<linux_flavour>_<arch>_<version>.bin

  4. Create the Saner Agent package

    sudo ./Saner_<linux_flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <absolute path>

  5. Navigate to package location

    cd <absolute path>

  6. Install the package

    sudo rpm -ivh SpSaner-minimal-<arch>.rpm


3. Alpine Systems

  1. Download and unzip the installer

    unzip Saner_<Account Name>_<linux_flavour>_<arch>_<version>.zip

  2. Navigate to the extracted directory

    cd Saner_<Account Name>_<linux_flavour>_<arch>_<version>

  3. Make the binary executable

    sudo chmod +x Saner_<linux_flavour>_<arch>_<version>.bin

  4. Create the Saner Agent package

    sudo ./Saner_<linux_flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <absolute path>

  5. Navigate to package location

    cd <absolute path>

  6. Install the package

    sudo apk add SpSaner-minimal-<arch>.apk --allow-untrusted


4. AIX Systems

  1. Download and unzip the installer

    unzip Saner_<Account Name>_AIX_x64_<version>.zip

  2. Navigate to the extracted directory

    cd Saner_<Account Name>_AIX_x64_<version>

  3. Make the binary executable

    sudo chmod +x Saner_AIX_x64_<version>.bin

  4. 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article