Manual installation on a native platform

From TASTE
Jump to: navigation, search

Introduction

A VirtualBox image with TASTE already pre-configured is available at this address: http://download.tuxfamily.org/taste

This installation is based on a Debian Linux distribution.

However you might want to manually install TASTE on your own machine.

TASTE requires a Debian-based Linux distribution. The current stable version of Debian (Debian 11) is supported, as well as recent versions of Ubuntu.

You can create your own Virtual Machine or if you are a Windows user, a good option is to create a WSL2 container with Debian 11.

Install TASTE in a Native Debian setup

Create a user

This step is not mandatory. You can use TASTE from any user space. We create the taste user here in order to replicate the environment from the default VM:

$ adduser taste   # it will prompt for a password. In the VM the password is tastevm. You may ignore the other questions


Log in with the newly-created taste user:

$ su - taste      # log in as taste

Configure the system

You may grant passwordless sudo access to the new user by adding the following line to the file /etc/sudoers:

taste  ALL=(root) NOPASSWD: ALL

Another minor system configuration to perform: by default Debian makes the "/bin/sh" command point to "dash" instead of "bash". This causes issues due to imcompatibilites between both. Do the following:

$ sudo rm /bin/sh
$ sudo ln -s /bin/bash /bin/sh

Finally, because some inter-process communication is performed using system queues, you have to increase the maximum number of messages that these queues can handle:

  # add this to /etc/sysctl.conf
  fs.mqueue.msg_max=100

Clone the TASTE source code

To download all TASTE tools you must check out (clone) the following repository:

$ git clone https://gitrepos.estec.esa.int/taste/taste-setup tool-src
$ cd tool-src

VERY IMPORTANT AT THIS POINT: CHOOSE THE BRANCH FOR TASTE - DO NOT REMAIN IN THE MASTER BRANCH

The current stable version of taste for Debian is "feature_buster" (it is compatible both with Debian 10, 11, and Ubuntu 20.04LTS)

$ git checkout feature_buster

You may want to get the development version. It is less stable but contains bleeding-edge features. To get it run:

$ git checkout feature_bullseye

Install TASTE

$ ./Update-TASTE.sh      # IMPORTANT: DO NOT RUN THIS COMMAND AS ROOT

If you didn't grant sudo to the taste user before, at some point it will break asking you to do it. Just follow the instructions then run Update-TASTE again to resume the installation.

It will take a few minutes to complete the installation of all dependencies and TASTE tools in the container.

After that, one last thing to do is add all the PATH updates, by adding the following line into the ~/.bashrc file:

source ~/.bashrc.taste

Voilà: TASTE is installed.

You can run the taste command from a terminal to create or edit a project.