Bulk installation script

Where to get the bulk installation script

Where to get the installation scripts provided by openrtm.org. Right-click the following link and select [Copy Link URL] (for Firefox) to get the URL and download it with a command such as wget (the method is shown below), or [Name Select "Save link as" (for Firefox) and download. Please execute the downloaded script with root authority. In these scripts, the necessary packages are installed sequentially using apt-get (in Ubuntu, Debian, and Raspbian case).

This script can be installed by specifying the options, according to the purpose.

However, this script installs all packages related to OpenRTM-aist, so unnecessary packages may also be installed. If you are familiar with it, you can also install it manually.

※Please check the version number of scripts for Ubuntu and Raspbian.

If you install OpenRTM-aist 1.2.2 for Python3, you need to use the corresponding script, so check the version number. You can check the version number as follows. If you cannot get the version number, it is an old script.

You need 2.0.0.05 or higher for Ubuntu and 2.0.0.03 or higher for Raspbian.

 $ sh pkg_install_ubuntu.sh --version
 2.0.0.05

 $ sh pkg_install_raspbian.sh --version
 2.0.0.03

pkg_install_{ubuntu|debian|raspbian}.sh

The available options are the same, but pkg_install_raspbian.sh does not support openrtp installation. Therefore, openrtp cannot be used as an argument of the -l option. ※The -t option only supports ubuntu and raspbian.

Option list

  Usage:
    pkg_install_ubuntu.sh -l {all|c++} [-r|-d|-s|-c] [-t OpenRTM-aist old version number] [-u|--yes]
    pkg_install_ubuntu.sh [-u|--yes]
    pkg_install_ubuntu.sh -l {python} [-r|-d|-c] [-t OpenRTM-aist old version number] [-u|--yes]
    pkg_install_ubuntu.sh -l {java} [-r|-d|-c] [-u|--yes]
    pkg_install_ubuntu.sh -l {openrtp|rtshell} [-d] [-u|--yes]
    pkg_install_ubuntu.sh  {--help|-h|--version}
 
  Example:
    pkg_install_ubuntu.sh  [= pkg_install_ubuntu.sh -l all -d]
    pkg_install_ubuntu.sh -l all -d  
    pkg_install_ubuntu.sh -l c++ -c --yes
    pkg_install_ubuntu.sh -l all -u
   
  Options:
    -l <argument>  language or tool {c++|python|java|openrtp|rtshell|all}
        all        install packages of all the supported languages and tools
    -r             install robot component runtime
    -d             install for robot component developer [default]
    -t <argument>  OpenRTM-aist old version number
    -s             install tool packages for building from the source code
    -c             install tool packages for core developer
    -u             uninstall packages
    --yes          force yes 
    --help, -h     print this
    --version      print the version number

Where "-l all" specifies that packages for all supported languages ​​and tools will be installed.

By specifying the option, the package shown below will be installed.

List of deb packages to be installed

Red letters indicate packages that are uninstalled when -u (uninstall) is specified.

※Since OpenRTM-aist 1.2.2 has changed the Python version from 2 series to 3 series, the packages to be installed are as follows.

omniidl-python3 openrtm-aist-python3 openrtm-aist-python3-example openrtm-aist-python3-doc

deb-list.png

pkg_install_fedora.sh

Option list

  Usage:
    pkg_install_fedora.sh -l {all|c++} [-r|-d|-s|-c] [-u|--yes]
    pkg_install_fedora.sh [-u|--yes]
    pkg_install_fedora.sh -l {python|java} [-r|-d|-c] [-u|--yes]
    pkg_install_fedora.sh -l {openrtp|rtshell} [-d] [-u|--yes]
    pkg_install_fedroa.sh  {--help|-h|--version}
 
  Example:
    pkg_install_fedora.sh  [= pkg_install_fedora.sh -l all -d]
    pkg_install_fedora.sh -l all -d  
    pkg_install_fedora.sh -l python -c --yes
 
  Options:
    -l <argument>  language or tool {c++|python|java|openrtp|rtshell|all}
        all:       install packages for all the supported languages and tools
    -r             install robot component runtime
    -d             install for robot component developer [default]
    -s             install tool packages for building from the source code
    -c             install tool packages for core developer
    -u             uninstall packages
    --yes          force yes
    --help, -h     print this
    --version      print the version number

List of rpm packages to be installed

Red letters indicate packages that are uninstalled when -u is specified.

rpm-list.png

How to use batch installation script

Below are the download and installation method using the batch installation script. (Replace "ubuntu" with "debian", "raspbian", or "fedora", depending on the distribution you are installing.)

Download the batch installation script for your environment using the following command.

 $ wget <Download URL of pkg_install_ubuntu.sh>

Install C ++ version

This is a recommended input example for those who install the C ++ version for the first time. Specify the target language by adding only the option "-l" and perform a default installation without specifying any other options (or with the -d option).

 $ sudo sh ./pkg_install_ubuntu.sh -l c ++

Install Python version (omit "Y" input)

This is a recommended input example for those who install the Python version for the first time. By adding the option "--yes", you can skip the installation confirmation question and enter "Y". No other options are specified, so the same ones specified with the -d option will be installed.

 $ sudo sh ./pkg_install_ubuntu.sh -l python --yes

Install packages required for C ++ version, Python version and core development (Development of OpenRTM-aist itself)

Install the packages required for core development by adding the option "-c", and omit the input of "Y" with the option "--yes".

 $ sudo sh ./pkg_install_ubuntu.sh -l c ++ -l python -c --yes

Uninstall C ++ version

Uninstall the C ++ version by adding the option "-u".

For the packages to be uninstalled, check List of deb packages to be installed and List of rpm packages to be installed.

 $ sudo ./pkg_install_ubuntu.sh -l c ++ -u

Install the old version (1.2.1)

If the latest version of OpenRTM-aist is 1.2.2, use option "-t" to install the 1.2.1 version. The target is only c++ and python. If you execute it in the environment where 1.2.2 is already installed, it will be downgraded to 1.2.1.

 $ sudo ./pkg_install_ubuntu.sh -l c++ -t 1.2.1
 $ sudo ./pkg_install_ubuntu.sh -l python -t 1.2.1

ダウンロード

最新バージョン : 2.0.1-RELESE

統計

Webサイト統計
ユーザ数:2195
プロジェクト統計
RTコンポーネント307
RTミドルウエア35
ツール22
文書・仕様書2

Choreonoid

モーションエディタ/シミュレータ

OpenHRP3

動力学シミュレータ

OpenRTP

統合開発プラットフォーム

産総研RTC集

産総研が提供するRTC集

TORK

東京オープンソースロボティクス協会

DAQ-Middleware

ネットワーク分散環境でデータ収集用ソフトウェアを容易に構築するためのソフトウェア・フレームワーク