chore: Translation of recent changes.

main
polistern 2023-04-26 14:23:20 +00:00
parent 3deb1c7220
commit 7bc2f030a8
Signed by: polistern
GPG Key ID: E131651B5A988EAC
2 changed files with 28 additions and 17 deletions

View File

@ -1,6 +1,8 @@
# Installing
## Debian/Ubuntu
## From precompiled binaries
### Debian/Ubuntu
You can install binary packages from the [latest release page](https://github.com/polistern/pboted/releases/latest).
@ -17,7 +19,7 @@ For building **pboted** you need several things:
* openssl >= 1.1.1
* zlib (openssl already depends on it)
## Building on UNIX-like systems
### Building on UNIX-like systems
**Supported systems:**
@ -43,7 +45,7 @@ cmake <cmake options> . # See "CMake Options" section below
make # You may add VERBOSE=1 to cmdline for debugging
```
### CMake Options
#### CMake Options
Available CMake options(each option has a form of `-D<key>=<value>`, for more information see `man 1 cmake`):
@ -61,19 +63,19 @@ Also there is `-L` flag for CMake that could be used to list current cached opti
cmake -L
```
#### Force GCC
##### Force GCC
```bash
CC=gcc CXX=g++ cmake .
```
#### Force Clang
##### Force Clang
```bash
CC=clang CXX=clang++ cmake .
```
### <a name="debian-ubuntu"></a>Debian/Ubuntu
#### <a name="debian-ubuntu"></a>Debian/Ubuntu
!!! note "Note"
@ -104,7 +106,7 @@ cd pboted
debuild --no-tgz-check -us -uc -b
```
### <a name="centos-fedora"></a>CentOS/Fedora
#### <a name="centos-fedora"></a>CentOS/Fedora
!!! note "Note"
@ -116,7 +118,6 @@ Install required tools and libraries:
sudo dnf install cmake mimetic boost g++ boost-devel mimetic-devel
```
### Microsoft Windows
WIP

View File

@ -1,6 +1,8 @@
# Установка
## Debian/Ubuntu
## Из предварительно скомпилированных файлов
### Debian/Ubuntu
Вы можете установить готовый пакет со [страницы последнего релиза](https://github.com/polistern/pboted/releases/latest).
@ -17,13 +19,13 @@
* openssl >= 1.1.1
* zlib (openssl уже имеет её в зависимостях)
## Сборка на UNIX-подобных системах
### Сборка на UNIX-подобных системах
**Поддерживаемые системы:**
* GNU/Linux
- [Debian/Ubuntu](#debian-ubuntu) (с созданием пакета)
- CentOS/Fedora (WIP)
- [CentOS/Fedora](#centos-fedora) (Fedora 36)
Убедитесь, что все требуемые зависимости установлены.
Ознакомтесь с зависимостями в [этой](#Требования) секции.
@ -43,7 +45,7 @@ cmake <cmake options> . # Смотри секцию "Опции CMake" ниже
make # Для отладки можно добавить VERBOSE=1
```
### Опции CMake
#### Опции CMake
Доступные опции CMake (каждая опция имеет вид `-D<key>=<value>`, больше информации в `man 1 cmake`):
@ -64,19 +66,19 @@ make # Для отладки можно добавить VERB
cmake -L
```
#### Принудительно использовать GCC
##### Принудительно использовать GCC
```bash
CC=gcc CXX=g++ cmake .
```
#### Принудительно использовать Clang
##### Принудительно использовать Clang
```bash
CC=clang CXX=clang++ cmake .
```
### Debian/Ubuntu
#### <a name="debian-ubuntu"></a>Debian/Ubuntu
!!! note "Примечание"
@ -107,9 +109,17 @@ cd pboted
debuild --no-tgz-check -us -uc -b
```
### CentOS/Fedora (WIP)
#### <a name="centos-fedora"></a>CentOS/Fedora
WIP
!!! note "Note"
Проверено на Fedora 36
Установите необходимые утилиты и зависимости:
```bash
sudo dnf install cmake mimetic boost g++ boost-devel mimetic-devel
```
### Microsoft Windows