toxygen/docs/install.md

72 lines
3.2 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
2017-06-24 12:44:55 +00:00
## Use precompiled binary (recommended for users):
2017-03-04 20:35:46 +00:00
[Check our releases page](https://github.com/toxygen-project/toxygen/releases)
2016-05-30 19:26:07 +00:00
2016-07-27 14:53:50 +00:00
## Using pip3
2016-07-05 18:43:51 +00:00
2016-07-12 15:05:33 +00:00
### Windows
2016-07-05 18:43:51 +00:00
2017-06-24 12:44:55 +00:00
``pip install toxygen``
2016-07-12 15:05:33 +00:00
2016-07-05 18:43:51 +00:00
Run app using ``toxygen`` command.
2016-07-12 15:05:33 +00:00
### Linux
2016-07-05 18:43:51 +00: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 12:44:55 +00:00
3. For 32-bit Linux install PyQt5: ``sudo apt-get install python3-pyqt5``
4. Install [OpenCV](http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html)
5. Install toxygen:
``sudo pip3 install toxygen``
6. Run toxygen using ``toxygen`` command.
2016-07-27 14:53:50 +00:00
2016-07-27 14:59:35 +00:00
## Packages
2016-08-08 19:11:43 +00:00
Arch Linux: [AUR](https://aur.archlinux.org/packages/toxygen-git/)
Debian/Ubuntu: [tox.chat](https://tox.chat/download.html#gnulinux)
2016-07-27 14:59:35 +00:00
2016-03-31 20:11:42 +00:00
## From source code (recommended for developers)
### Windows
2017-06-24 12:44:55 +00: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 20:11:42 +00:00
2017-06-24 12:44:55 +00: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``
4. Download [numpy](http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy) and [OpenCV](http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv). Install it using ``pip install <file_name>``.
5. [Download toxygen](https://github.com/toxygen-project/toxygen/archive/master.zip)
6. Unpack archive
7. Download latest libtox.dll build, download latest libsodium.a build, put it into \src\libs\
8. Run \toxygen\main.py.
Optional: install toxygen using setup.py: ``python setup.py install``
2016-07-12 15:05:33 +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-07-12 15:05:33 +00:00
1. Install latest Python3:
2016-06-23 09:46:48 +00:00
``sudo apt-get install python3``
2017-06-24 12:44:55 +00:00
2. Install PyQt5: ``sudo apt-get install python3-pyqt5`` or ``sudo pip3 install pyqt5``
2016-05-30 19:26:07 +00: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 12:44:55 +00: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``
6. Install [OpenCV](http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html)
7. [Download toxygen](https://github.com/toxygen-project/toxygen/archive/master.zip)
8. Unpack archive
9. Run app:
``python3 main.py``
2016-07-27 14:53:50 +00:00
Optional: install toxygen using setup.py: ``python3 setup.py install``