- Reticulum can be used on Android in different ways. The easiest way - to get started is using an app like - Sideband. + Reticulum можно использовать на Android по-разному. + Самый простой способ начать — использовать приложение типа + Sideband.
- For more control and features, you can use Reticulum and related - programs via the - Termux app, at the time of writing available on - F-droid. + Если нужен больший контроль и дополнительные функции, + Reticulum и сопутствующие программы можно запускать + в + приложении Termux, + на момент написания доступно в + F-droid.
- Termux is a terminal emulator and Linux environment for Android - based devices, which includes the ability to use many different - programs and libraries, including Reticulum. + Termux — это эмулятор терминала и среда Linux для устройств на базе Android, + которая включает в себя возможность использования множества различных программ и + библиотек, в том числе Reticulum.
- To use Reticulum within the Termux environment, you will need to
- install
+ Чтобы использовать Reticulum в среде Termux, необходимо установить
python
- and the
+ >python
+ и библиотеку
python-cryptography
- library using
+ >python-cryptography
+ с помощью
pkg, the package-manager build into Termux. After that, you can use
+ >pkg, диспетчера пакетов, встроенного в Termux.
+ После этого Reticulum ставится через
pip
- to install Reticulum.
+ >pip.
From within Termux, execute the following:
+Выполните в Termux следующие команды:
# First, make sure indexes and packages are up to date.
+ # Сначала убедитесь, что индексы и пакеты обновлены.
pkg update
pkg upgrade
-# Then install python and the cryptography library.
+# Затем установите Python и библиотеку python cryptography.
pkg install python python-cryptography
-# Make sure pip is up to date, and install the wheel module.
+# Убедитесь, что pip обновлен, и установите модуль wheel.
pip install wheel pip --upgrade
-# Install Reticulum
+# Установите Reticulum.
pip install rns
- If for some reason the
- python-cryptography
- package is not available for your platform via the Termux package
- manager, you can attempt to build it locally on your device using
- the following command:
+ Если по какой-то причине пакет
+ python-cryptography
+ недоступен для вашей платформы через диспетчер пакетов Termux, вы можете попробовать
+ скомпилировать его локально на своем устройстве с помощью следующей команды:
# First, make sure indexes and packages are up to date.
+ # Сначала убедитесь, что индексы и пакеты обновлены.
pkg update
pkg upgrade
-# Then install dependencies for the cryptography library.
+# Затем установите зависимости для библиотеки криптографии.
pkg install python build-essential openssl libffi rust
-# Make sure pip is up to date, and install the wheel module.
+# Убедитесь, что pip обновлен, и установите модуль wheel.
pip install wheel pip --upgrade
-# To allow the installer to build the cryptography module,
-# we need to let it know what platform we are compiling for:
+# Чтобы установщик мог скомпилировать модуль криптографии,
+# нам нужно сообщить ему, для какой платформы мы компилируем:
export CARGO_BUILD_TARGET="aarch64-linux-android"
-# Start the install process for the cryptography module.
-# Depending on your device, this can take several minutes,
-# since the module must be compiled locally on your device.
+# Запустите процесс установки модуля cryptography.
+# В зависимости от вашего устройства это может занять несколько минут,
+# поскольку модуль должен быть скомпилирован локально на вашем устройстве.
pip install cryptography
-# If the above installation succeeds, you can now install
-# Reticulum and any related software
+# Если вышеуказанная установка прошла успешно, теперь вы можете установить
+# Reticulum и любое связанное с ним программное обеспечение.
pip install rns
- It is also possible to include Reticulum in apps compiled and - distributed as Android APKs. A detailed tutorial and example source - code will be included here at a later point. Until then you can use - the + Также можно включить Reticulum в приложения, скомпилированные и распространяемые + в виде APK-файлов для Android. + Подробное руководство и пример исходного кода будут добавлены сюда позднее. + До тех пор вы можете использовать Sideband source code - as an example and starting point. + href="https://github.com/markqvist/sideband" title="Sideband source code" + target="_blank" rel="noopener">исходный код Sideband в качестве примера и отправной точки.