Skip to main content
Version 2.3

TDPCTL Installation

TDPCTL Installation icon

TDPCTL

TDPCTL is a Command Line Interface(CLI), developed by Tecnisys, for automating tasks and installing extensions on the TDP

Prerequisites
  • Enterprise Linux operating system, such as Rocky Linux, AlmaLinux and Red Hat, version 8 or higher.
  • Superuser privilege (root) on the machine for installation.
note

The following RPMs need to be available for installation via the package manager (dnf): python3-devel, krb5-server, krb5-libs, krb5-workstation, krb5-devel, and gcc.

Download​

tdpctl is provided in tarball format for Enterprise Linux operating systems, version 8 or higher.

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

To access the repository, you will need to provide your access credentials, defined when registering for free on the Tecnisys website.

Installation​

To install tdpctl, follow the steps below:

  1. Extract the file tdpctl-0.1-alpha-linux-x64.tar.gz in the /usr/local directory:

    Terminal input
        sudo tar -C /usr/local -xzf tdpctl-0.1-alpha-linux-x64.tar.gz
  2. Execute the setup.sh script:

    Terminal input
          cd /usr/local/tdpctl && sudo ./setup.sh
    Figure 1 - TDPCTL Installation
    Figure 1 - TDPCTL Installation

Using TDPCTL​

Command Syntax​

Terminal input
tdpctl [OPTIONS] COMMAND [ARGS]...

OPTIONS:

  • --version => Shows the version and exits.
  • --help => Displays help for the command execution.

COMMAND:

  • addon-install => Installs a TDP extension.
  • install => Installs Apache Ambari for TDP.

Examples:​

  1. Installing an extension:

    Terminal input
    tdpctl addon-install -f name-of-extension-file.taf
  2. Command details:

    Terminal input
    tdpctl
  3. For help:

    Terminal input
    tdpctl --help
  4. Check the version:

    Terminal input
    tdpctl --version
  5. Help for a specific command:

    Terminal input
    tdpctl addon-install --help
    note

    The extension.taf file is encrypted and can only be opened by TDPCTL. The .taf extension is specific to Tecnisys files.

    Figure 2 - Use of TDPCTL
    Figure 2 - Use of TDPCTL