MRCP
Deb Installation Manual
Administrator Guide
Created: September 1, 2017
Last updated: September 1, 2017
Author: Arsen Chaloyan
Table of Contents
2 Installing Deb Packages Using Apt-Get
2.4 License Server Installation
2.5 License Toolkit Installation
3 Installing Deb Packages Manually
3.2 Package Installation Order
5.4 Setting Auto-start on Next Boot
This guide describes how to obtain and install Unispeech License Server on Debian-based Linux distributions. The document is intended for system administrators and developers.
Instructions provided in this guide are applicable to the following versions.
Unispeech License Server 1.0.0 and above |
Packages are currently available only for x86_64 (64-bit) architecture.
Operating System |
32-bit |
64-bit |
Ubuntu 16.04 LTS (xenial) |
|
Note: packages for other distributions can be made available upon request.
An elevated UniMRCP user account is required to obtain the packages. Send a request to
Using the APT package handling utility (apt-get) is recommended for installation of packages.
The content of a typical configuration file of the APT repository, to be placed in /etc/apt/sources.list.d/unimrcp.list, is provided below.
deb [arch=amd64] https://username:password@unimrcp.org/repo/apt/ distr main unilickit |
The username and password fields included in the HTTPS URI must be replaced with the corresponding account credentials.
The distr field must be replaced with the corresponding distribution code name such as trusty, xenial, etc.
For verification of binary packages, UniMRCP provides a public GnuPG key, which can be retrieved and installed as follows.
wget -O - https://unimrcp.org/keys/unimrcp-gpg-key.public | sudo apt-key add - |
In order to check for updates and apply the changes in the APT configuration, use the following command.
sudo apt-get update |
In order to install the license server, including the dependencies, the following command can be used.
sudo apt-get install unilic-server |
As a result, apt-get will check and prompt to download all the required packages by installing them in the directory /opt/unimrcp.
In order to install the license toolkit only, which provides status retrieval and sample client applications to connect to the license server, the following command can be used.
sudo apt-get install unilic-toolkit |
As a result, apt-get will check and prompt to download all the required packages by installing them in the directory /opt/unimrcp.
Packages can be installed manually using the dpkg utility. Note, however, that the system administrator should take care of package dependencies and install all the packages in appropriate order.
The deb packages have the following naming convention:
$packagename_$universion-$distr_$arch.deb |
where
· packagename is the name of a package
· universion is the version number of license toolkit
· distr is the distribution code name (trusty, xenial, …)
· arch is the architecture (amd64, i386, all, …)
The following is a complete list of deb packages.
Package Name |
Description |
unilic-toolkit |
Unispeech license toolkit. |
unilic-server |
Unispeech license server. |
uniapr |
UniMRCP edition of the Apache Portable Runtime (APR) library. |
A package for the APR library must be installed first.
sudo dpkg --install uniapr_$aprversion-$distr_$arch.deb |
Then, a package containing the license toolkit should follow.
sudo dpkg --install unilic-toolkit_$universion-$distr_$arch.deb |
Finally, a package containing the license server should follow.
sudo dpkg --install unilic-server_$universion-$distr_$arch.deb |
Host information the license server is installed on needs to be retrieved and submitted for generation of license files.
Use the installed tool unilicadmin to retrieve the host information.
sudo /opt/unimrcp/bin/unilicadmin –i |
As a result, a text file uninode.info will be saved in the current directory. Submit the file uninode.info for license generation to
The obtained license files must be placed into the directory /opt/unimrcp/data/license.
sudo cp *.lic /opt/unimrcp/data/license |
This section outlines how to start/stop the license server as a daemon.
Upon installation of the server package, a systemd unit file unilic.service is installed in the directory /lib/systemd/system and can be used as follows.
systemctl start unilic.service |
systemctl stop unilic.service |
systemctl status unilic.service |
systemctl enable unilic.service |