Skip to main content
Version 3.0

Install tdpctl.

Set up the Tecnisys command-line interface to automate tasks and install extensions on TDP.

tdpctl is a Command Line Interface (CLI), developed by Tecnisys, for task automation and extension installation on TDP.

It is installed from a tarball in the Tecnisys Public Package Repository and, after that, is available as the tdpctl command.

Your environment

If you fill in your environment details here, the examples and commands on the page use what you provided. TDPCTL_PACKAGE is the name of the .tar.gz file you downloaded from the repository.

Scenarios​

Prerequisites, tarball download, and the installation script.

tdpctl is installed on an Enterprise Linux machine. tdpctl is provided as a tarball: you download the file from the Tecnisys Public Package Repository, extract it into the /usr/local directory, and run the installation script, which makes the tdpctl command available in any directory.

Operating system

Enterprise Linux, such as Rocky Linux, AlmaLinux, and Red Hat, version 8 or higher.

Privilege

Superuser (root) on the machine for installation.

System packages

The RPMs python3-devel, krb5-server, krb5-libs, krb5-workstation, krb5-devel, and gcc available for installation through the package manager (dnf).

Repository

Access requires your credentials, defined when you registered for free on the Tecnisys website.

Download tdpctl

The tarball of the latest tdpctl version on the machine.

Download the latest version of tdpctl, the tdpctl-[version]-linux-x64.tar.gz file, from the /yum/tdp/tdpctl directory of the Tecnisys Public Package Repository.

To access the repository, enter your access credentials, defined when you registered for free on the Tecnisys website.

Terminal input
ls <TDPCTL_PACKAGE>

It worked when

In the download directory, ls lists the tdpctl .tar.gz file.

Extract the file into /usr/local

The /usr/local/tdpctl directory created.

Terminal input
sudo tar -C /usr/local -xzf <TDPCTL_PACKAGE>
Terminal input
ls -d /usr/local/tdpctl

It worked when

The /usr/local/tdpctl directory exists.

Run the setup.sh script

The tdpctl command installed.

Terminal input
cd /usr/local/tdpctl && sudo ./setup.sh
Terminal input
tdpctl --version

It worked when

After the installation, the tdpctl command is available in any directory and shows the installed version.
$ cd /usr/local/tdpctl && sudo ./setup.sh
Wrapper script created with success!
Setup complete. The 'tdpctl' command is now available globally.
$ tdpctl --version
tdpctl, version 0.1

Command syntax​

Terminal input
tdpctl [OPTIONS] COMMAND [ARGS]...
TypeOption or commandWhat it does
OPTIONS--versionShows the version and exits.
OPTIONS--helpShows the help for running the command.
COMMANDaddon-installInstalls a TDP extension.
COMMANDinstallInstalls Apache Ambari for TDP.

Examples:

Terminal input
# Command details
tdpctl

# Help
tdpctl --help

# Version
tdpctl --version

# Help for a specific command
tdpctl addon-install --help
note

Whenever needed, check the tdpctl help (the --help option) for detailed information about the available commands and options.

Next steps​