Overview
This article addresses how you can upgrade the Capsule8 sensor application. We will walk users through the step by step instructions for upgrading the Capsule8 sensor packages on your Linux system using the systemd package manager as an example.
Please note that this document assumes that you already have Capsule8 sensor installed and running. If you haven't done that before please visit this page.
Please follow the steps below to upgrade the Capule8 sensor on Debian Ubuntu and Centos/Redhat.
1. Upgrading Capsule8 Sensor on Debian/Ubuntu
Follow the below steps to upgrade the Capsule8 sensor running on your Linux system:
Search to see the Capsule8 Sensor package running on your Linux system using the command below:
apt list --installed | grep capsule8
Sample Output
capsule8-sensor-systemd/xenial,now 4.4.1 amd64 [installed,upgradable to: 4.6.0]
Upgrade the Capsule8 Sensor
Run the command below to upgrade to a specific sensor version.
$ apt-get install capsule8-sensor-systemd=4.6.0 #This will upgrade the sensor using systemd as package manager
Sample Output
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
capsule8-sensor-systemd
1 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.
Need to get 33.2 MB of archives.
After this operation, 1,667 kB of additional disk space will be used.
Get:1 https://packagecloud.io/capsule8/capsule8/ubuntu xenial/main amd64 capsule8-sensor-systemd amd64 4.5.2 [33.2 MB]
Fetched 33.2 MB in 3s (8,973 kB/s)
(Reading database ... 54329 files and directories currently installed.)
Preparing to unpack .../capsule8-sensor-systemd_4.6.0_amd64.deb ...
Unpacking capsule8-sensor-systemd (4.6.0) over (4.4.1) ...
Setting up capsule8-sensor-systemd (4.6.0) ...
Capsule8 Sensor version 4.6.0-e10a133318 (Build: 9c8f5235-e7ae-487b-8fbd-c065f9ac129a)
2020-12-21T21:29:30.966Z INFO Successfully set capabilities
Check to confirm the upgrade was successful
apt list --installed | grep capsule8
Sample Output
capsule8-sensor-systemd/xenial,now 4.6.0 amd64 [installed]
Users can see from the above output that Capsule8 sensor has been successfully upgraded to 4.6.0.
Note: Please note that you can upgrade to any version of the Capsule8 sensor just by specifying the version you want to upgrade to.
Alternative Capsule8 Sensor Upgrade
Users can also upgrade to the latest sensor by installing the desired Capsule8 Sensor package with your package manager. The package is installed with the name Capsule8 Sensor and with the service manager as a hyphenated suffix, such as:
- sysV
- systemd
- upstart
- runit
Please see example below:
$ sudo apt-get install capsule8-sensor-systemd #This automatically installs the latest version
2. Upgrading Capsule8 Sensor on RHEL/Centos
Follow the below steps to upgrade the Capsule8 sensor running on your Linux system:
Upgrading the Capsule Sensor
Search to see the Capsule8-sensor package running on your Linux system using the command below:
yum list installed | grep capsule8
rpm -qa | grep capsule8
Sample Output
capsule8-sensor-systemd-4.6.0-1.x86_64 # This is showing the sensor version running on this host
Upgrade the Capsule8-Sensor (e.g version 4.5.2)
Run the command below to upgrade to a specific sensor version.
$ sudo yum install capsule8-sensor-systemd-4.6.0-1 #This will upgrade the sensor using systemd as package manager
Check to confirm the upgrade was successful
yum list installed | grep capsule8
rpm -qa | grep capsule8
Sample Output
capsule8-sensor-systemd-4.6.0-1.x86_64
Users can see from the above output that Capsule8 sensor has been successfully upgraded to 4.6.0.
Note: Please note that you can upgrade to any version of the Capsule8 sensor just by specifying the version you want to upgrade to.
Alternative Capsule8 Sensor Upgrade
Users can upgrade the sensor by installing the desired Capsule8 Sensor package with your package manager. The package is installed with the name Capsule8 Sensor and with the service manager as a hyphenated suffix, such as:
- sysV
- systemd
- upstart
- runit
Please see example below:
$ sudo yum install capsule8-sensor-systemd
Comments
0 comments
Please sign in to leave a comment.