2016-03-31 22:11:42 +02:00
# How to install Toxygen
2016-03-16 17:06:15 +01:00
2017-06-24 14:44:55 +02:00
## Use precompiled binary (recommended for users):
2017-03-04 21:35:46 +01:00
[Check our releases page ](https://github.com/toxygen-project/toxygen/releases )
2016-05-30 21:26:07 +02:00
2016-07-27 16:53:50 +02:00
## Using pip3
2016-07-05 20:43:51 +02:00
2016-07-12 17:05:33 +02:00
### Windows
2016-07-05 20:43:51 +02:00
2017-06-24 14:44:55 +02:00
``pip install toxygen``
2016-07-12 17:05:33 +02:00
2016-07-05 20:43:51 +02:00
Run app using ``toxygen`` command.
2016-07-12 17:05:33 +02:00
### Linux
2016-07-05 20:43:51 +02:00
1. Install [toxcore ](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md ) with toxav support in your system (install in /usr/lib/)
2. Install PortAudio:
``sudo apt-get install portaudio19-dev``
2017-06-24 14:44:55 +02:00
3. For 32-bit Linux install PyQt5: ``sudo apt-get install python3-pyqt5``
2018-01-26 16:43:19 +01:00
4. Install [OpenCV ](http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html ) or via ``sudo pip3 install opencv-python``
2017-06-24 14:44:55 +02:00
5. Install toxygen:
``sudo pip3 install toxygen``
6. Run toxygen using ``toxygen`` command.
2016-07-27 16:53:50 +02:00
2016-07-27 16:59:35 +02:00
## Packages
2016-08-08 21:11:43 +02:00
Arch Linux: [AUR ](https://aur.archlinux.org/packages/toxygen-git/ )
Debian/Ubuntu: [tox.chat ](https://tox.chat/download.html#gnulinux )
2016-07-27 16:59:35 +02:00
2016-03-31 22:11:42 +02:00
## From source code (recommended for developers)
### Windows
2017-06-24 14:44:55 +02:00
Note: 32-bit Python isn't supported due to bug with videocalls. It is strictly recommended to use 64-bit Python.
2016-03-31 22:11:42 +02:00
2017-06-24 14:44:55 +02:00
1. [Download and install latest Python 3 64-bit ](https://www.python.org/downloads/windows/ )
2. Install PyQt5: ``pip install pyqt5``
3. Install PyAudio: ``pip install pyaudio``
2017-07-06 20:32:35 +02:00
4. Install numpy: ``pip install numpy``
2017-07-12 20:36:19 +02:00
5. Install OpenCV: ``pip install opencv-python``
2017-07-06 20:32:35 +02:00
6. [Download toxygen ](https://github.com/toxygen-project/toxygen/archive/master.zip )
7. Unpack archive
2017-07-12 20:36:19 +02:00
8. Download latest libtox.dll build, download latest libsodium.a build, put it into \toxygen\libs\
2017-07-06 20:32:35 +02:00
9. Run \toxygen\main.py.
2017-06-24 14:44:55 +02:00
Optional: install toxygen using setup.py: ``python setup.py install``
2016-07-12 17:05:33 +02:00
2016-04-30 12:06:07 +02: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 22:11:42 +02:00
### Linux
2016-07-12 17:05:33 +02:00
1. Install latest Python3:
2016-06-23 11:46:48 +02:00
``sudo apt-get install python3``
2017-06-24 14:44:55 +02:00
2. Install PyQt5: ``sudo apt-get install python3-pyqt5`` or ``sudo pip3 install pyqt5``
2016-05-30 21:26:07 +02:00
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:
2017-06-24 14:44:55 +02:00
``sudo apt-get install portaudio19-dev`` and ``sudo apt-get install python3-pyaudio`` (or ``sudo pip3 install pyaudio``)
5. Install NumPy: ``sudo pip3 install numpy``
2018-01-26 16:43:19 +01:00
6. Install [OpenCV ](http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html ) or via ``sudo pip3 install opencv-python``
2017-06-24 14:44:55 +02:00
7. [Download toxygen ](https://github.com/toxygen-project/toxygen/archive/master.zip )
8. Unpack archive
9. Run app:
``python3 main.py``
2016-07-27 16:53:50 +02:00
Optional: install toxygen using setup.py: ``python3 setup.py install``