Dux for Linux can be installed using the package managers yum or dnf.
Dux supports installation on both RHEL-based Linux distributions (such as Red Hat Linux, AlmaLinux, and CentOS) and Debian-based Linux distributions (such as Ubuntu).
Procedure
For RHEL-based systems
Step 1 (Optional): Remove the old dux repository
If you have installed the Beta version 2.0.0.3 or earlier, ensure to clean up before proceeding with the installation.
- Remove dux.repo
sudo rm /etc/yum.repos.d/dux.repo - Clean the package manager cache
sudo yum clean all
ORsudo dnf clean all
Step 2: Install dux
Option 1: Create the dux.repo and install using yum or dnf
cat << EOF | sudo tee /etc/yum.repos.d/dux.repo
[dux]
name=Omnissa CLI - dux
baseurl=https://packages.omnissa.com/ws1-tunnel/dux
enabled=1
gpgcheck=1
gpgkey=https://packages.omnissa.com/ws1-tunnel/dux-apt/gpg.key
EOF
If using yum:
sudo yum install -y dux
If using dnf:
sudo dnf install -y dux
Result
The following directory structures are created:
/opt/omnissa/dux//opt/omnissa/dux/images//opt/omnissa/dux/logs//opt/omnissa/dux/scripts/opt/omnissa/dux/certs
Run the following commands to validate the folder creation.
cd /opt/omnissa/
ls -ltr
drwxr-xr-x. 4 root root 32 Feb 16 17:59 dux
cd dux/
ls -ltr
total 0
drwxr-xr-x. 2 root root 6 Feb 16 13:27 logs
drwxr-xr-x. 2 root root 6 Feb 16 13:27 images
drwxr-xr-x. 2 root root 6 Feb 16 13:27 scripts
drwxr-xr-x. 2 root root 6 Feb 16 13:27 certs
which dux
/usr/bin/dux
Option 2: Install dux using rpm package for Linux
Download the dux rpm as per the architecture of the host from where dux is executed (x86_64 for AMD/Intel or aarch64 for ARM/Apple M1).
For example, if OS is Linux and Arch is amd64, the rpm dux-4.0.0.123-1.x86_64.rpm must be downloaded.
Run the command wget <url to download> or download manually.
URLs to download the rpms for Dux 4.0
- For AMD64/Intel: https://packages.omnissa.com/ws1-tunnel/dux/4.0.0.1162/dux-4.0.0.1162-1.x86_64.rpm
- For ARM64/Apple Silicon: https://packages.omnissa.com/ws1-tunnel/dux/4.0.0.1162/dux-4.0.0.1162-1.aarch64.rpm
sudo rpm -i dux-4.0.0.1162x86_64.rpm
installed
cd /opt/omnissa/
ls -ltr
drwxr-xr-x. 4 root root 32 Feb 16 17:59 dux
cd dux/
ls -ltr
total 0
drwxr-xr-x. 2 root root 6 Feb 16 13:27 logs
drwxr-xr-x. 2 root root 6 Feb 16 13:27 images
drwxr-xr-x. 2 root root 6 Feb 16 13:27 scripts
drwxr-xr-x. 2 root root 6 Feb 16 13:27 certs
which dux
/usr/bin/dux
GPG import and verification steps
-
Import the Omnissa GPG public key (if not already imported).
sudo rpm --import https://packages.omnissa.com/ws1-tunnel/dux-apt/gpg.key -
Download the RPM (or download manually).
wget <url to download> -
Verify the RPM signature before installing.
rpm --checksig dux-4.0.0.1162-1.x86_64.rpm dux-4.0.0-1162-1.x86_64.rpm: digests signatures OK
4. Install the verified RPM.
sudo rpm -i dux-4.0.1162-1.x86_64.rpm
For Ubuntu systems
Option 1 (Recommended): Install from the Omnissa APT repository
-
Import the Omnissa GPG public key
curl -fsSL https://packages.omnissa.com/ws1-tunnel/dux-apt/gpg.key \ | sudo gpg --dearmor -o /usr/share/keyrings/omnissa-dux.gpg -
Add the Omnissa DUX repository.
echo "deb [signed-by=/usr/share/keyrings/omnissa-dux.gpg] https://packages.omnissa.com/ws1-tunnel/dux-apt stable main" \ | sudo tee /etc/apt/sources.list.d/omnissa-dux.list -
Install dux.
sudo apt updatesudo apt install dux -
Verify the version.
dux version
To upgrade dux to the latest version
sudo apt update && sudo apt upgrade dux
To remove dux
sudo apt remove dux
Option 2 — Install directly from a downloaded .deb
VERSION=4.0.0.1162
ARCH=amd64
curl -fsSL -o /tmp/dux.deb \
"https://packages.omnissa.com/ws1-tunnel/dux/${VERSION}/dux_${VERSION}_${ARCH}.deb"
sudo apt install /tmp/dux.deb
# Verify
dux version
Validating dux installation
Use dux help and dux version commands to validate if dux is installed correctly. For more information about the help options, see Manage container deployments.
Example
dux version
Omnissa CLI - dux
4.0.0.1162
dux help
Usage:
dux [command]
Available Commands:
about Get legal and privacy information about Dux
cg CLI to deploy and manage Content Gateway containers
eic CLI to deploy and manage EIC containers
pacreader CLI to deploy and manage PAC Reader container
seg CLI to deploy and manage SEG containers
tunnel CLI to deploy and manage Tunnel containers
version Get the version of dux
Flags:
-h, --help Print help information
Use "dux [command] --help" for more information about a command.
¿Le resultó útil esta página?