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
description: MadelineProto requires the `mbstring`, `xml`, `gmp`, `curl` extensions to function properly.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
2018-04-01 13:19:25 +02:00
# Requirements
2018-04-10 00:12:06 +02:00
MadelineProto requires the `mbstring`, `xml`, `gmp`, `curl` 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
2018-04-10 00:12:06 +02:00
sudo apt-get install php7.2 php7.2-dev php7.2-fpm php7.2-curl php7.2-xml php7.2-zip php7.2-gmp php7.2-cli php7.2-mbstring 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.
2018-04-11 14:17:45 +02:00
<a href="https://docs.madelineproto.xyz/docs/INSTALLATION.html">Next section</a>