Olej писал(а): ↑11 сен 2023, 15:43
Сайт разработчика Modular:
Всё это наворочено фирмой Modular ...
Mojo: Python-совместимый язык с производительностью Си — от Криса Лэттнера и устанавливается и обновляется через их менеджер modular:
Install on Linux
Код: Выделить всё
olej@R420:~$ cat /etc/issue.net
Linux Mint 21.2 Victoria
1.
Код: Выделить всё
olej@R420:~$ sudo curl https://get.modular.com | \
MODULAR_AUTH=mut_ce3a3fa788de48dd9db64a52f9c7c1a7 \
sh -
[sudo] пароль для olej:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3176 100 3176 0 0 8512 0 --:--:-- --:--:-- --:--:-- 8537
Executing the setup script for the 'modular/installer' repository ...
OK: Checking for required executable 'curl' ...
OK: Checking for required executable 'apt-get' ...
OK: Detecting your OS distribution and release using system methods ...
^^^^: ... Detected/provided for your OS/distribution, version and architecture:
>>>>:
>>>>: ... distro=linuxmint version=21.2 codename=victoria arch=x86_64
>>>>:
OK: Checking for apt dependency 'apt-transport-https' ...
OK: Checking for apt dependency 'ca-certificates' ...
OK: Checking for apt dependency 'gnupg' ...
RUN: Importing 'modular/installer' repository GPG keys ...gpg: Внимание: небезопасный владелец домашнего каталога '/home/olej/.gnupg'
OK: Checking for apt signed-by key support ...
OK: Importing 'modular/installer' repository GPG keys ...
OK: Checking if upstream install config is OK ...
OK: Installing 'modular/installer' repository via apt ...
OK: Updating apt repository metadata cache ...
OK: The repository has been installed successfully - You're ready to rock!
Чтение списков пакетов…
Построение дерева зависимостей…
Чтение информации о состоянии…
Следующие НОВЫЕ пакеты будут установлены:
modular
Обновлено 0 пакетов, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 45,9 MB архивов.
После данной операции объём занятого дискового пространства возрастёт на 0 B.
Пол:1 https://dl.modular.com/public/installer/deb/linuxmint vanessa/main amd64 modular amd64 0.1.4 [45,9 MB]
Получено 45,9 MB за 13с (3.599 kB/s)
Выбор ранее не выбранного пакета modular.
(Чтение базы данных … на данный момент установлено 572576 файлов и каталогов.)
Подготовка к распаковке …/modular_0.1.4_amd64.deb …
Распаковывается modular (0.1.4) …
Настраивается пакет modular (0.1.4) …
Обрабатываются триггеры для man-db (2.10.2-1) …
__ __ _ _
| \/ | ___ __| |_ _| | __ _ _ __
| |\/| |/ _ \ / _` | | | | |/ _` | '__|
| | | | (_) | (_| | |_| | | (_| | |
|_| |_|\___/ \__,_|\__,_|_|\__,_|_|
Welcome to the Modular CLI!
For info about this tool, type "modular --help".
To install Mojo🔥, type "modular install mojo".
For Mojo documentation, see https://docs.modular.com/mojo.
To chat on Discord, visit https://discord.gg/modular.
To report issues, go to https://github.com/modularml/mojo/issues.
Код: Выделить всё
olej@R420:~$ aptitude search modular
i modular - Modular installation tool
Код: Выделить всё
olej@R420:~$ apt show modular
Package: modular
Version: 0.1.4
Priority: optional
Section: contrib/devel
Maintainer: The Modular Develoeprs <hello@modular.com>
Installed-Size: неизвестно
Depends: python3, python3-pip, libtinfo-dev, libxml2, libxml2-dev
Homepage: https://modular.com
License: Modular License
Download-Size: 45,9 MB
APT-Manual-Installed: yes
APT-Sources: https://dl.modular.com/public/installer/deb/linuxmint vanessa/main amd64 Packages
Description: Modular installation tool
N: Есть 9 дополнительных записей. Используйте «-a» для их просмотра.
Код: Выделить всё
olej@R420:~$ apt content modular
/etc
/etc/modular
/etc/modular/bootstrap.json
/usr
/usr/bin
/usr/bin/modular
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/modular.1.gz
Код: Выделить всё
olej@R420:~$ modular --help
NAME
modular — The Modular command line interface.
SYNOPSIS
modular <command>
modular [options]
DESCRIPTION
The `modular` CLI allows you to interact with Modular's products.
Currently, it's available for Linux only and it's installed as a Debian
package. To install `modular`, visit developer.modular.com.
To update `modular`, use `apt` like you would for any package:
sudo apt update
sudo apt install modular
For information about updates, see the [modular
changelog](https://docs.modular.com/cli/changelog.html).
COMMANDS
install — Installs a Modular package.
uninstall — Uninstalls a Modular package.
auth — Authorizes access to Modular services.
clean — Removes all packages and settings.
host-info — Prints host hardware information.
config-set — Sets a configuration value.
config-list — Lists all configuration values.
OPTIONS
Diagnostic options
--version, -v
Prints the Modular version and exits.
Common options
--help, -h
Displays help information.