Using the RPM file to manually upgrade agent software

Prev Next

Use the compatible .rpm file to manually upgrade agent software on your Linux endpoints running supported RHEL, CentOS, Amazon Linux, or SUSE versions.

To manually upgrade the agent software on a single Linux endpoint using the .rpm file:
  1. Open a Terminal session on the Linux endpoint that has the agent installation .tgz package.

    username@localhost:~$

  2. Use the cd command to change to the Trellix directory you created in step 6 of Downloading a Linux agent installation package from the Web UI.

    username@localhost:~$ cd desktop

    username@localhost:~/Desktop$ cd Trellix

  3. Use the ls command to verify that the IMAGE_HX_AGENT_LINUX_[xAgent version].tgz file is in the Trellix directory.

    username@localhost:~/Desktop/Trellix$ ls

    IMAGE_HX_AGENT_LINUX_[xAgent version].tgz

  4. Use the tar zxf command to unzip and extract the files from the Linux agent installation image .tgz file:

    username@localhost:~/Desktop/Trellix$ tar zxf IMAGE_HX_AGENT_LINUX_[xAgent version].tgz.

    The .tgz package (Linux) includes the following files:

    • Agent .rpm files

    • Agent .deb files

  5. Use the ls command to view the files.

    username@localhost:~/Desktop/Trellix$ ls

    You will see a list of all the files in the agent installation package.

  6. Use the -uhv command to run the .rpm script and upgrade the agent software on your Linux endpoint. You must have sudo access to run this command:

    username@localhost:~/Desktop/Trellix$ sudo rpm -uhv xagt-[xAgent version]-1.el6.x86_64.rpm

    Important

    Run the .rpm file that is compatible with your Linux environment. For example, if your Linux endpoints are running RHEL version 6.x8, run xagt-[xAgent version]-1.el6.x86_64.rpm, if your Linux endpoints are running SUSE 11.4, run xagt-[xAgent version]-1.sle11.x86_64.rpm, and if your Linux endpoints are running Amazon Linux AMI 2018.3, run xagt-[xAgent version]-1.el6.x86_64.rpm.

    The .rpm file automatically detects the version of Linux RHEL currently running on the endpoint. If the .rpm file is not compatible with the RHEL version running on the endpoint, an error message appears.