toxygen/docs/install.md

49 lines
2.1 KiB
Markdown
Raw Normal View History

2016-03-31 20:11:42 +00:00
# How to install Toxygen
2016-03-16 16:06:15 +00:00
2016-05-30 19:26:07 +00:00
## Use precompiled binary:
[Check our releases page](https://github.com/xveduk/toxygen/releases)
2016-03-31 20:11:42 +00:00
## From source code (recommended for developers)
### Windows
1. [Download and install latest Python 2.7](https://www.python.org/downloads/windows/)
2016-05-30 19:26:07 +00:00
2. [Install PySide](https://pypi.python.org/pypi/PySide/1.2.4) (recommended) or [PyQt4](https://riverbankcomputing.com/software/pyqt/download)
2016-04-24 11:09:29 +00:00
3. Install PyAudio: ``python -m pip install pyaudio``
4. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip)
5. Unpack archive
2016-04-30 10:06:07 +00:00
6. Download latest libtox.dll build, download latest libsodium.a build, put it into \src\libs\
2016-04-24 11:09:29 +00:00
7. Run \src\main.py
2016-03-31 20:11:42 +00:00
2016-04-30 10:06:07 +00:00
[libtox.dll for 32-bit Python](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86_shared_release.zip)
[libtox.dll for 64-bit Python](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86-64_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86-64_shared_release.zip)
[libsodium.a for 32-bit Python](https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86_static_release.zip)
[libsodium.a for 64-bit Python](https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86-64_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86-64_static_release.zip)
2016-03-31 20:11:42 +00:00
### Linux
2016-05-30 19:26:07 +00:00
Dependencies:
1. Install Python2.7:
2016-04-30 10:06:07 +00:00
``sudo apt-get install python2.7``
2016-05-30 19:26:07 +00:00
2. [Install PySide](https://wiki.qt.io/PySide_Binaries_Linux) (recommended) or [PyQt4](https://riverbankcomputing.com/software/pyqt/download)
3. Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) with toxav support in your system (install in /usr/lib/)
4. Install PyAudio:
2016-04-30 10:06:07 +00:00
```bash
sudo apt-get install portaudio19-dev
sudo pip install pyaudio
```
2016-05-30 19:26:07 +00:00
Toxygen:
2016-03-31 20:11:42 +00:00
2016-05-30 19:26:07 +00:00
1. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip)
2. Unpack archive
3. Run app:
``python main.py``
2016-03-31 20:11:42 +00:00
## Compile Toxygen
2016-04-30 10:06:07 +00:00
Check [compile.md](/docs/compile.md) for more info