Установка на Linux
Относится ко всем поставкам для Linux: пакету
.debи образу.AppImageс графическим интерфейсом, архиву.tar.gzи образу.AppImageсо счётными ядрами для работы в консоли.
1. Требования к системе
| Что | Значение |
|---|---|
| Система | Ubuntu 24.04 LTS или совместимая (glibc 2.39), 64 бита |
| Процессор | x64 |
| Графика | OpenGL — нужен программе FieldView; остальным достаточно обычного рабочего стола |
| Место на диске | около 300 МБ |
Счётным ядрам из архива .tar.gz графическая оболочка не нужна вовсе: они
работают на машине, где есть только терминал.
Образу .AppImage нужна та же glibc 2.39: программы в нём собраны на
Ubuntu 24.04, и на более старых системах — Ubuntu 22.04, Debian 12, RHEL и
Rocky 9 — он не запустится. Пакет .deb ставится на Ubuntu и Debian, образ —
на любом другом дистрибутиве: Fedora, openSUSE, Arch, Manjaro.
2. Установщик с графическим интерфейсом (.deb)
Установщик ставит в систему все семь программ, пункты меню, значки и типы файлов. Внутри — Qt 6, OpenCASCADE, образцы заданий и руководство пользователя на русском и английском. Для Ubuntu, Debian и других систем с apt.
2.1. Установка
Скачайте tmc-suite_2.0.0_amd64.deb со страницы выпусков, перейдите в каталог с файлом и выполните:
sudo apt install ./tmc-suite_2.0.0_amd64.deb
Зависимости система подберёт сама. Команда apt при установке из файла требует путь: ./ перед именем обязательно. Прежняя версия обновляется этой же командой.
2.2. Запуск
После установки программы появляются в меню рабочего стола, задания и файлы результатов открываются двойным щелчком. Из терминала программы запускаются по именам:
planarrt_h planarrt_x tmcros tmcgrout tmc_dn fieldview TplDesigner
Открыть файл сразу при запуске можно, передав его путь:
planarrt_h /home/имя/работа/задание.tpl
2.3. Где что лежит
| Путь | Содержимое |
|---|---|
/opt/tmc-suite/bin/ |
программы |
/opt/tmc-suite/lib/, plugins/ |
Qt, OpenCASCADE и их модули |
/opt/tmc-suite/share/tmc-suite/samples/ |
образцы заданий |
/opt/tmc-suite/share/tmc-suite/models/ |
3D-модели для TPL Designer |
/opt/tmc-suite/share/tmc-suite/TMC_Suite_2.0_Руководство_пользователя.pdf |
руководство пользователя |
/opt/tmc-suite/share/tmc-suite/TMC_Suite_2.0_User_Manual.pdf |
руководство на английском |
/usr/bin/ |
ссылки для запуска по имени |
/usr/share/applications/ |
пункты меню |
~/.config/TMC_Suite/, ~/.config/TMC_Suite_Qt/ |
настройки пользователя |
Руководство открывается и из самой программы на языке интерфейса: «Справка → О программе», ссылка «Руководство пользователя».
2.4. Удаление
sudo apt remove tmc-suite
Настройки пользователя при этом остаются.
3. Архив без установки (.tar.gz)
Архив tmc-suite-2.0.0-linux-x86-64.tar.gz — те же программы, библиотеки, образцы и руководства. Подходит, когда нет прав администратора. Распакуйте в любую папку и запускайте программы из bin:
tar -xzf tmc-suite-2.0.0-linux-x86-64.tar.gz
cd tmc-suite-2.0.0
bin/planarrt_h share/tmc-suite/samples/DEMO/PlanarRT_H/demo_h.tpl
Программы находят друг друга и руководство относительно своей папки. Чтобы удалить, удалите папку.
3a. Поставка одним файлом (.AppImage)
Образ TMC_Suite-2.0.0-x86_64.AppImage — те же семь программ одним файлом. Устанавливать и подбирать зависимости не нужно. Это способ для систем, где пакет .deb не ставится.
Подготовка
Разрешите запуск скачанного файла:
chmod +x TMC_Suite-2.0.0-x86_64.AppImage
Запуск
Какую из программ запускать, задаёт первый довод:
./TMC_Suite-2.0.0-x86_64.AppImage fieldview /home/имя/работа/поле.ex
Без довода открывается PlanarRT_H. Список программ показывает ключ --help:
./TMC_Suite-2.0.0-x86_64.AppImage --help
Если одной программой пользуетесь постоянно, сделайте на образ ссылку с её именем — тогда довод не нужен:
ln -s TMC_Suite-2.0.0-x86_64.AppImage tmcros
./tmcros /home/имя/работа/сигнал.t
Счёт без окон работает так же, как у пакета:
./TMC_Suite-2.0.0-x86_64.AppImage planarrt_h /полный/путь/задание.tpl -Arb
Что внутри образа
| Путь внутри образа | Содержимое |
|---|---|
usr/bin/ |
программы |
usr/lib/ |
библиотеки Qt, OpenCASCADE и прочие зависимости |
usr/share/tmc-suite/samples/ |
образцы заданий |
usr/share/tmc-suite/*.pdf |
руководства пользователя |
Достать содержимое наружу, не запуская программу:
./TMC_Suite-2.0.0-x86_64.AppImage --appimage-extract
Рядом появится каталог squashfs-root с теми же файлами. Ключ --manual показывает, где лежат руководства.
Удаление
Удалите сам файл образа — больше в системе ничего не создаётся. Настройки программ остаются в ~/.config/.
4. Поставка счётных ядер (.tar.gz)
Архив содержит два ядра — tmc_rth (H-мода) и tmc_rtx (X-мода), руководство
пользователя и текст лицензии. Устанавливать ничего не нужно: достаточно
распаковать.
4.1. Распаковка
tar xzf tmc-suite-cli-2.0.0-linux-x86-64.tar.gz
cd tmc-suite-cli-2.0.0
4.2. Запуск расчёта
./tmc_rth /home/имя/работа/задание.tpl
Имя выходного файла ядро берёт из самого задания, из секции #OUTPUT. Второй
аргумент не нужен.
Проверить, что ядро запускается и какой оно версии:
./tmc_rth --version
Подробно о работе без окон, кодах возврата и обработке нескольких заданий подряд — в разделе руководства «Работа без окон».
4.3. То же самое одним файлом
Ядра выпускаются и образом TMC_Suite_CLI-2.0.0-x86_64.AppImage — распаковывать
при этом нечего:
chmod +x TMC_Suite_CLI-2.0.0-x86_64.AppImage
./TMC_Suite_CLI-2.0.0-x86_64.AppImage tmc_rth /home/имя/работа/задание.tpl
Руководство пользователя лежит внутри образа, в usr/share/tmc-suite/.
5. Проверка после установки
Посчитайте образец из поставки. Образцы лежат в папке только для чтения, поэтому сначала скопируйте их:
cp -r /opt/tmc-suite/share/tmc-suite/samples/DEMO ~/tmc-demo
QT_QPA_PLATFORM=offscreen planarrt_h ~/tmc-demo/PlanarRT_H/demo_h.tpl -Arb
echo $?
Команда должна вывести 0. Рядом с заданием появятся файлы результатов. Откройте полученный сигнал:
tmcros ~/tmc-demo/PlanarRT_H/demo_h.t
Должен нарисоваться график. Если он на месте, установка завершена.
6. Что полезно знать
Путь к заданию указывайте полным. По нему программа определяет каталог, где
лежат включаемые файлы задания (#include) и файлы распределения .eps. При
запуске по короткому имени она будет искать их не там.
Держите задания на диске Linux. Ядро открывает выходной файл на каждом такте
счёта. Если задание лежит на разделе Windows, подключённом в /mnt, каждая
такая операция идёт через границу двух систем и счёт замедляется в разы.
Скорость зависит от задания. С выключенным выводом полей и топологии счёт идёт быстро, с включённым — заметно дольше. Так же и в Windows-версии.
Обе поставки считают одинаково. Выходные файлы программ с графическим интерфейсом и консольных ядер совпадают; они же открываются в Windows-версии пакета и в версии для macOS.
7. Если что-то не получилось
Unable to locate package при установке. Пропущено ./ перед именем файла:
без него apt ищет пакет в репозиториях, а не на диске.
Программа не запускается, в терминале — error while loading shared
libraries. Не установились зависимости. Выполните:
sudo apt --fix-broken install
FieldView открывается, но поле не рисуется. Нет OpenGL. Доустановите:
sudo apt install libgl1-mesa-dri libglu1-mesa
При работе по SSH без графического вывода запускайте так:
LIBGL_ALWAYS_SOFTWARE=1 fieldview /путь/поле.ex
Программа сообщает, что не может открыть файл распределения. Задание
запущено по короткому имени: укажите полный путь к .tpl.
Образ не запускается, в терминале — про libfuse.so.2. Дистрибутиву не
хватает пакета для запуска образов. Поставьте libfuse2 (в Ubuntu 24.04 он
называется libfuse2t64) либо запускайте образ так:
./TMC_Suite-2.0.0-x86_64.AppImage --appimage-extract-and-run
Образ не запускается, в терминале — version 'GLIBC_2.39' not found.
Система старше той, на которой собран образ. Здесь поможет только сборка из
исходников на вашей системе — исходники и инструкция лежат в репозитории
проекта.
Installing on Linux
Applies to every Linux delivery: the
.debpackage and the.AppImageimage with the graphical programs, and the.tar.gzarchive and its.AppImagecounterpart with the computation kernels for console use.
1. System requirements
| Item | Value |
|---|---|
| System | Ubuntu 24.04 LTS or compatible (glibc 2.39), 64-bit |
| Processor | x64 |
| Graphics | OpenGL — required by FieldView; the other programs only need a regular desktop |
| Disk space | about 300 MB |
The kernels from the .tar.gz archive need no desktop at all: they run on a
machine that has nothing but a terminal.
The .AppImage image needs the same glibc 2.39: the programs inside are built
on Ubuntu 24.04 and will not start on older systems — Ubuntu 22.04, Debian 12,
RHEL and Rocky 9. The .deb package is for Ubuntu and Debian, the image is for
every other distribution: Fedora, openSUSE, Arch, Manjaro.
2. Installer with the graphical interface (.deb)
The installer puts all seven programs, menu entries, icons and file types into the system. Qt 6, OpenCASCADE, sample tasks and the user manual in Russian and English are inside. For Ubuntu, Debian and other systems with apt.
2.1. Installation
Download tmc-suite_2.0.0_amd64.deb from the releases page, go to the folder with the file and run:
sudo apt install ./tmc-suite_2.0.0_amd64.deb
The system picks the dependencies itself. When installing from a file, apt needs a path: the ./ before the name is required. The same command upgrades an earlier version.
2.2. Running the programs
After installation the programs appear in the desktop menu, and tasks and result files open with a double click. From a terminal, run them by name:
planarrt_h planarrt_x tmcros tmcgrout tmc_dn fieldview TplDesigner
To open a file at start, pass its path:
planarrt_h /home/user/work/task.tpl
2.3. Where things are
| Path | Contents |
|---|---|
/opt/tmc-suite/bin/ |
programs |
/opt/tmc-suite/lib/, plugins/ |
Qt, OpenCASCADE and their modules |
/opt/tmc-suite/share/tmc-suite/samples/ |
sample tasks |
/opt/tmc-suite/share/tmc-suite/models/ |
3D models for TPL Designer |
/opt/tmc-suite/share/tmc-suite/TMC_Suite_2.0_User_Manual.pdf |
user manual |
/opt/tmc-suite/share/tmc-suite/TMC_Suite_2.0_Руководство_пользователя.pdf |
user manual in Russian |
/usr/bin/ |
links for running by name |
/usr/share/applications/ |
menu entries |
~/.config/TMC_Suite/, ~/.config/TMC_Suite_Qt/ |
user settings |
The manual also opens from the program, in the interface language: Help → About, the User manual link.
2.4. Removal
sudo apt remove tmc-suite
User settings stay.
3. Archive, no installation (.tar.gz)
The archive tmc-suite-2.0.0-linux-x86-64.tar.gz holds the same programs, libraries, samples and manuals. It suits machines where you have no administrator rights. Unpack it into any folder and run the programs from bin:
tar -xzf tmc-suite-2.0.0-linux-x86-64.tar.gz
cd tmc-suite-2.0.0
bin/planarrt_h share/tmc-suite/samples/DEMO/PlanarRT_H/demo_h.tpl
The programs find each other and the manual relative to their own folder. To remove, delete the folder.
3a. A single-file delivery (.AppImage)
The image TMC_Suite-2.0.0-x86_64.AppImage holds the same seven programs in one file. Nothing has to be installed. It is the way for systems where the .deb package does not install.
Preparation
Allow the downloaded file to run:
chmod +x TMC_Suite-2.0.0-x86_64.AppImage
Running the programs
The first argument selects the program:
./TMC_Suite-2.0.0-x86_64.AppImage fieldview /home/user/work/field.ex
Without an argument, PlanarRT_H opens. --help lists the programs:
./TMC_Suite-2.0.0-x86_64.AppImage --help
If you use one program all the time, make a link with its name, and no argument is needed:
ln -s TMC_Suite-2.0.0-x86_64.AppImage tmcros
./tmcros /home/user/work/signal.t
Calculation without windows works as with the package:
./TMC_Suite-2.0.0-x86_64.AppImage planarrt_h /full/path/task.tpl -Arb
What is inside the image
| Path inside the image | Contents |
|---|---|
usr/bin/ |
programs |
usr/lib/ |
Qt, OpenCASCADE and other libraries |
usr/share/tmc-suite/samples/ |
sample tasks |
usr/share/tmc-suite/*.pdf |
user manuals |
To get the contents out without running a program:
./TMC_Suite-2.0.0-x86_64.AppImage --appimage-extract
A squashfs-root folder with the same files appears next to it. --manual shows where the manuals are.
Removal
Delete the image file: nothing else is created in the system. Program settings stay in ~/.config/.
4. Computation kernels package (.tar.gz)
The archive contains two kernels — tmc_rth (H-mode) and tmc_rtx (X-mode) —
the user manual and the licence text. Nothing needs to be installed: unpacking
is enough.
4.1. Unpacking
tar xzf tmc-suite-cli-2.0.0-linux-x86-64.tar.gz
cd tmc-suite-cli-2.0.0
4.2. Running a calculation
./tmc_rth /home/user/work/task.tpl
The kernel takes the output file name from the task itself, from the #OUTPUT
section. No second argument is needed.
To check that the kernel starts and which version it is:
./tmc_rth --version
Headless operation, exit codes and batch processing are covered in the “Headless mode” chapter of the manual.
4.3. The same thing in one file
The kernels are also published as TMC_Suite_CLI-2.0.0-x86_64.AppImage, with
nothing to unpack:
chmod +x TMC_Suite_CLI-2.0.0-x86_64.AppImage
./TMC_Suite_CLI-2.0.0-x86_64.AppImage tmc_rth /home/user/work/task.tpl
The user manual is inside the image, under usr/share/tmc-suite/.
5. Checking the installation
Calculate a sample from the delivery. The samples are in a read-only folder, so copy them first:
cp -r /opt/tmc-suite/share/tmc-suite/samples/DEMO ~/tmc-demo
QT_QPA_PLATFORM=offscreen planarrt_h ~/tmc-demo/PlanarRT_H/demo_h.tpl -Arb
echo $?
The command must print 0. Result files appear next to the task. Open the signal:
tmcros ~/tmc-demo/PlanarRT_H/demo_h.t
A plot must appear. If it does, the installation is complete.
6. Worth knowing
Always give the full path to the task. The program derives the task
directory from it, and that is where it looks for included files (#include)
and .eps distributions. Started with a bare file name, it looks in the wrong
place.
Keep tasks on a Linux disk. The kernel opens the output file on every time
step. If the task sits on a Windows partition mounted under /mnt, every such
operation crosses the boundary between two systems and the calculation slows
down several times over.
Speed depends on the task. With field and topology output switched off the calculation is fast; with them on it takes noticeably longer. The same is true of the Windows version.
Both packages calculate identically. Output files produced by the graphical programs and by the console kernels are the same, and they open in the Windows version of the package and in the macOS version.
7. If something goes wrong
Unable to locate package during installation. The ./ before the file
name is missing: without it apt searches the repositories instead of the
disk.
The program does not start, the terminal shows error while loading shared
libraries. Dependencies were not installed. Run:
sudo apt --fix-broken install
FieldView opens but draws no field. OpenGL is missing. Install it:
sudo apt install libgl1-mesa-dri libglu1-mesa
Over SSH without graphics output, start it like this:
LIBGL_ALWAYS_SOFTWARE=1 fieldview /path/field.ex
The program reports that it cannot open a distribution file. The task was
started with a bare file name: give the full path to the .tpl file.
The image does not start, the terminal mentions libfuse.so.2. The
distribution lacks the package that runs AppImages. Install libfuse2 (on
Ubuntu 24.04 it is called libfuse2t64), or run the image like this:
./TMC_Suite-2.0.0-x86_64.AppImage --appimage-extract-and-run
The image does not start, the terminal says version 'GLIBC_2.39' not
found. The system is older than the one the image was built on. The only way
out is to build from source on your own system — the sources and the
instructions are in the project repository.