How To Install tcm-doc on Ubuntu 18.04

In this tutorial we learn how to install tcm-doc on Ubuntu 18.04. tcm-doc is Documentation for Toolkit for Conceptual Modeling (TCM)

Introduction

In this tutorial we learn how to install tcm-doc on Ubuntu 18.04.

What is tcm-doc

tcm-doc is:

The Toolkit for Conceptual Modeling is a collection of software tools to present conceptual models of software systems in the form of diagrams, tables, trees, and the like. A conceptual model of a system is a structure used to represent the requirements or architecture of the system. TCM is meant to be used for specifying and maintaining requirements for desired systems, in which a number of techniques and heuristics for problem analysis, function refinement, behavior specification, and architecture specification are used. TCM takes the form of a suite of graphical editors that can be used in these design tasks. These editors can be categorized into:

  • Generic editors for generic diagrams, generic tables and generic trees.
  • Structured Analysis (SA) editors for entity-relationship diagrams, data and event flow diagrams, state transition diagrams, function refinement trees, transaction-use tables and function-entity type tables.
  • Unified Modeling Language (UML) editors for static structure diagrams, use-case diagrams, activity diagrams, state charts, message sequence diagrams, collaboration diagrams, component diagrams and deployment diagrams (only the first three UML and last two editors are functional at this moment).
  • Miscellaneous editors such as for JSD (process structure and network diagrams), recursive process graphs and transaction decomposition tables.

TCM supports constraint checking for single documents (e.g. name duplication and cycles in is-a relationships). TCM distinguishes built-in constraints (of which a violation cannot even be attempted) from immediate constraints (of which an attempted violation is immediately prevented) and soft constraints (against which the editor provides a warning when it checks the drawing). TCM is planned to support hierarchic graphs, so that it can handle for example hierarchic statecharts. Features to be added later include constraint checking across documents and executable models.

This package contains all the documentation that comes in the original tarball.

There are three methods to install tcm-doc on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tcm-doc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install tcm-doc using apt-get by running the following command:

sudo apt-get -y install tcm-doc

Install tcm-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tcm-doc using apt by running the following command:

sudo apt -y install tcm-doc

Install tcm-doc Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tcm-doc using aptitude by running the following command:

sudo aptitude -y install tcm-doc

How To Uninstall tcm-doc on Ubuntu 18.04

To uninstall only the tcm-doc package we can use the following command:

sudo apt-get remove tcm-doc

Uninstall tcm-doc And Its Dependencies

To uninstall tcm-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove tcm-doc

Remove tcm-doc Configurations and Data

To remove tcm-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tcm-doc

Remove tcm-doc configuration, data, and all of its dependencies

We can use the following command to remove tcm-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tcm-doc

References

Summary

In this tutorial we learn how to install tcm-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.