MadelineProtoDocs/docs/docs/REQUIREMENTS.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

2018-04-11 14:17:45 +02:00
---
title: Requirements
2019-06-12 18:48:12 +02:00
description: MadelineProto requires the `mbstring`, `xml`, `json`, `fileinfo`, `gmp` extensions to function properly.
2018-04-11 14:17:45 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
2018-04-01 13:19:25 +02:00
# Requirements
2019-06-12 18:48:12 +02:00
MadelineProto requires the `mbstring`, `xml`, `json`, `fileinfo`, `gmp` extensions to function properly.
2018-04-01 13:19:25 +02:00
To install MadelineProto dependencies on `Ubuntu`, `Debian`, `Devuan`, or any other `Debian-based` distro, run the following command in your command line:
```bash
sudo apt-get install python-software-properties software-properties-common
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
2019-06-12 18:48:12 +02:00
sudo apt-get install php7.3 php7.3-dev php7.3-fpm php7.3-xml php7.3-zip php7.3-gmp php7.3-cli php7.3-mbstring php7.3-json git -y
2018-04-01 13:19:25 +02:00
```
Next, follow the instructions on [voip.madelineproto.xyz](https://voip.madelineproto.xyz) and [prime.madelineproto.xyz](https://prime.madelineproto.xyz) to install libtgvoip and PrimeModule.
2019-06-19 18:42:02 +02:00
<a href="https://docs.madelineproto.xyz/docs/INSTALLATION.html">Next section</a>