# Installing the wrapper

Available in...

* Cloud API Services Platform
* Cloud Data Fabric

Install the Apache Karaf Service Wrapper to generate the Talend Runtime service files.

## Procedure

1. Browse to the bin folder of the Talend Runtime installation directory, then launch the container by executing the trun file as root.
2. To install the wrapper feature, run the following command:

   karaf@trun&gt; feature:install wrapper

   Once installed, the wrapper feature provides the wrapper:install new command in the trun file, which allows you to install Talend Runtime as a service.
3. To install the service, run the following command:

   karaf@trun&gt; wrapper:install

   Alternatively, to register the container as a service in automatic start mode, run:

   karaf@trun&gt; wrapper:install -s AUTO\_START -n TALEND-CONTAINER -d Talend-Container -D "Talend Container Service"

   where TALEND-CONTAINER is the name of the service, Talend-Container is the display name of the service and "Talend Container Service" is the description of the service.

   Here is an example of the wrapper:install command executed on Linux:
   ```
   karaf@trun()> feature:install wrapper
   karaf@trun()> wrapper:install -s AUTO_START -n TALEND-CONTAINER \
   -d Talend-Container -D "Talend Container Service"
   Creating file: <TalendRuntimePath>/bin/TALEND-CONTAINER-wrapper
   Creating file: <TalendRuntimePath>/bin/TALEND-CONTAINER-service
   Creating file: <TalendRuntimePath>/bin/TALEND-CONTAINER.service
   Creating file: <TalendRuntimePath>/etc/TALEND-CONTAINER-wrapper.conf
   Creating file: <TalendRuntimePath>/lib/libwrapper.so
   Creating file: <TalendRuntimePath>/lib/karaf-wrapper.jar
   Creating file: <TalendRuntimePath>/lib/karaf-wrapper-main.jar
   Setup complete. You may want to tweak the JVM properties in the wrapper
   configuration file:
   <TalendRuntimePath>/etc/TALEND-CONTAINER-wrapper.conf
   before installing and starting the service.
   ```

## Results

The Talend Runtime service files are generated. You can install the Talend Runtime service.