> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/tbautoinstall.md).

# Tbautoinstall

###

What it does?

The application *tbautoinstall* is used to install packages and licenses on the TMedia units. It allows:

* Listing installed packages
* Deleting packages
* Validating packages
* Installing new packages
* Installing new licenses
* Change next boot directory
* Reboot TMedia units
* Flash TMedia hardware with another package (option hidden by default, use with extreme caution!)

###

Locating the application

This application is located in the following directory once Toolpack is installed: \[InstallDir]/\[PackageVersion]/bin/release/\[Platform]/ /lib/tb/toolpack/pkg/2.6.51/bin/release/x86\_64-linux64 Now, you can \[\[#Launching tbautoinstall | run tbautoinstall]]. Otherwise, you need to \[\[#Install tbautoinstall application | install tbautoinstall]].

###

Installing the application

The tbautoinstall binary is found in the "cmc" archive for your platform. For example: tbcmc\_2.6.52\_x86\_64-linux64\_centos5\_release.tgz It's found in the following directory (replace "i586-win32" below by your platform) tb/apps/tbautoinstall/release/x86\_64-linux64

###

Gathering TMedia packages

The packages to install on TMedia units are found in the following archive: tb640-adapter.release.zip You must unzip this archive in order to use it with tbautoinstall.

###

Gathering TMedia licenses

License files can be downloaded from the [license server](https://github.com/telcobridges-main/tmedia-wiki/tree/main/tmedia/operations/telcobridges-license-server/README.md).

###

Launching this application

You can launch the tool by double-clicking on it, or with some command-line arguments. Use "tbautoinstall --help" to get available arguments. tbautoinstall --help Usage: tbautoinstall.exe \[-pkg pkg\_dir] \[-lic license\_dir] \[options] -pkg pkg\_dir : Path of the directory that contains all package files (tb640.pkg, etc.) -lic license\_dir : Path of the directory that contains all license required for adapters to install Available options: -auto : Automatically install any detected adapter which version is not the one from '-pkg tb640.pkg' -c cfg\_file : Path of a configuration file that defines which adapters to auto-update. All are used by default. -d : Run in 'deamon' mode. (you can use tbx\_cli\_tools\_remote to remotely control in that case) -flash : Flash FPGAs and other hardware components in addition to install package -gw : Change the gateway port (TBX\_GW\_PORT, or Toolpack system Id) to run application with -noreboot : Don't reboot adapters after installation. -q : Automatically quit once installation is done

###

Installing a package

* Launch tbautoinstall
* Press 'i'
  * Select the TMedia unit to install on (using left or right arrows)
  * Choose if adapter must be rebooted automatically after installation or not
  * Enter the path of the folder that contains all TMedia binary files (from tb640-adapter.release.zip, directory 'tb/bin')
  * Enter the path of the folder that contains all license files that you obtained from TelcoBridges support team
    * Note: This is optional if installing a package with the same major version as the actually running package (2.6.Y over 2.6.X for example) => The selected package will be installed on the TMedia unit, and optionally the tool will identify the most recent matching licenses from the specified folder (for base board and mezzanines) and install them.

Alternatively, you can install a license without installing a package as in \[\[#Installing a license | here]].

####

Install multiple TMedia units simultaneously

You can simply use the 'i' command again while other units are already being installed.

####

Install all TMedia units simultaneously

* Press 'p' to select the package to auto-install
  * Enter the path of the folder that contains all TMedia binary files (from tb640-adapter.release.zip, directory 'tb/bin')
  * Enter the path of the folder that contains all license files that you obtained from TelcoBridges support team
    * Note: This is optional if installing a package with the same major version as the actually running package (2.6.Y over 2.6.X for example)
* Press 'a' to enable "auto-install" mode
* Any TMedia unit not already running the selected package version will be updated automatically

###

Flashing a package

Flashing a package does more than simply installing a package. In addition to installing the package on the TMedia unit's file system, it also updates some non-volatile memory, the "safe boot" flash, and some re-programmable hardware devices.

**Warning: Flashing a TMedia unit should only be performed by TelcoBridges support team, and for a good reason, as failure may render the unit inoperable**

* Launch tbautoinstall from the command-line using "-flash" option ("tbautoinstall -flash")
* Use the 'i' command as explained above => The TMedia unit will first be installed, rebooted, then flashed and rebooted again.

###

Installing a license

* Launch tbautoinstall
* Press 'I'
  * Select the TMedia unit to install on (using left or right arrows)
  * Choose which package to install the license for (you need to select package 2.6 if you are installing a 2.6 license)
  * Choose if you want to reboot the adapter right after installation (license installation is ineffective until adapter reboots
  * Enter the path of the folder that contains the license files to be installed


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/tbautoinstall.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
