The Java version of OpenRTM-aist has a deb package available for Ubuntu and Debian GNU Linux. The supported distribution versions can be found on the download page. Please note that supported versions and support for Ubuntu/Debian GNU Linux are subject to change without notice.
Download the installation script "pkg_install_ubuntu.sh" or "pkg_install_debian.sh" provided by openrtm.org from the specified URL and execute it with root privileges. This script installs necessary packages sequentially using apt-get.
By specifying the option, it is possible to install the package that suits the purpose.
After downloading the bulk installation script, move to the download destination directory,
For Ubuntu, type-in:
$ sudo sh pkg_install_ubuntu.sh -l java --yes
For Debina, after getting root privileges by 'su' command, type-in:
# sh pkg_install_debian.sh -l java --yes
For details on how to download the batch installation script, detailed installation methods, and the types of options that can be specified, see the Bulk Installation Script page.
Install OpenRTP
RTC Builder and RTSystem Editor are used for general Ubuntu/ Debian environment development. In that case, OpenRTP is required. Install OpenRTP using the bulk installation script. In Ubuntu, in the directory where pkg_install_ubuntu.sh is located
For Ubuntu, type-in:
$ sudo sh ./pkg_install_ubuntu.sh -l openrtp --yes
After getting root privileges with su for Debian, type-in:
# sh pkg_install_debian.sh -l openrtp --yes
Install JDK8
To use OpenRTM-aist for Java, a Java environment equivalent to JDK8 is required. (In some cases, JDK8 is installed in the default environment, but in Ubuntu 18.04 JDK11 is installed, so JDK8 must be installed.) Refer to the following for information on obtaining and installing JDK8.
$ dpkg -l 'openr*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-=================-=================-=====================================================
un openrc <none> <none> (no description available)
ii openrtm-aist:amd64 1.2.1-0 amd64 OpenRTM-aist, RT-Middleware distributed by AIST
ii openrtm-aist-dev:amd64 1.2.1-0 amd64 OpenRTM-aist headers for development
ii openrtm-aist-idl:amd64 1.2.1-0 amd64 OpenRTM-aist idls for development
ii openrtm-aist-java:amd64 1.2.1-0 amd64 OpenRTM-aist, RT-Middleware distributed by AIST
ii openrtm-aist-java-doc 1.2.1-0 all Documentation for openrtm-aist-java
ii openrtm-aist-java-exampl 1.2.1-0 amd64 OpenRTM-aist-Java examples
ii openrtp:amd64 1.2.1-0 amd64 OpenRTP, Open RT Platform distributed by AIST
Package details
The contents of each package are as follows.
openrtm-aist
openrtm-aist contains runtime libraries and commands.
The Java version of OpenRTM-aist has a deb package available for Ubuntu and Debian GNU Linux. The supported distribution versions can be found on the download page. Please note that supported versions and support for Ubuntu/Debian GNU Linux are subject to change without notice.
Bulk installation script
Download the installation script "pkg_install_ubuntu.sh" or "pkg_install_debian.sh" provided by openrtm.org from the specified URL and execute it with root privileges. This script installs necessary packages sequentially using apt-get.
By specifying the option, it is possible to install the package that suits the purpose.
After downloading the bulk installation script, move to the download destination directory,
For Ubuntu, type-in:
For Debina, after getting root privileges by 'su' command, type-in:
For details on how to download the batch installation script, detailed installation methods, and the types of options that can be specified, see the Bulk Installation Script page.
Install OpenRTP
RTC Builder and RTSystem Editor are used for general Ubuntu/ Debian environment development. In that case, OpenRTP is required. Install OpenRTP using the bulk installation script. In Ubuntu, in the directory where pkg_install_ubuntu.sh is located
For Ubuntu, type-in:
After getting root privileges with su for Debian, type-in:
Install JDK8
To use OpenRTM-aist for Java, a Java environment equivalent to JDK8 is required. (In some cases, JDK8 is installed in the default environment, but in Ubuntu 18.04 JDK11 is installed, so JDK8 must be installed.) Refer to the following for information on obtaining and installing JDK8.Confirm installation
Check the installation by type-in:
Package details
The contents of each package are as follows.
openrtm-aist
openrtm-aist contains runtime libraries and commands.
openrtm-aist-dev
openrtm-aist-dev includes commands and header files that are required for RT system development.
openrtm-aist-idl
openrtm-aist-java
openrtm-aist-java-example
Java version sample RTC, the class files and the source files and the startup script files
openrtm-aist-java-doc
openrtm-aist-java-doc includes Japanese/English class reference files.
openrtp
In openrtp installation, since so many files are installed, the listing is not made. Depend on your needs, use the following command.