toxygen/docs/install.md

45 lines
1.8 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-07-12 15:05:33 +00:00
### Linux
2016-07-05 18:43:51 +00:00
2022-09-27 13:17:48 +00:00
1. Install [c-toxcore](https://github.com/TokTok/c-toxcore/)
2016-07-05 18:43:51 +00:00
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``
2018-01-26 15:43:19 +00:00
4. Install [OpenCV](http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html) or via ``sudo pip3 install opencv-python``
2022-09-27 13:17:48 +00:00
5. Install [toxygen](https://git.plastiras.org/emdee/toxygen/)
2017-06-24 12:44:55 +00:00
6. Run toxygen using ``toxygen`` command.
2016-07-27 14:53:50 +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``
2017-07-06 18:32:35 +00:00
4. Install numpy: ``pip install numpy``
5. Install OpenCV: ``pip install opencv-python``
2017-07-06 18:32:35 +00:00
6. [Download toxygen](https://github.com/toxygen-project/toxygen/archive/master.zip)
7. Unpack archive
8. Download latest libtox.dll build, download latest libsodium.a build, put it into \toxygen\libs\
2017-07-06 18:32:35 +00:00
9. Run \toxygen\main.py.
2017-06-24 12:44:55 +00:00
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``
2022-09-27 13:17:48 +00:00
3. Install [toxcore](https://github.com/TokTok/c-toxcore) with toxav support)
2016-05-30 19:26:07 +00:00
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``
2018-01-26 15:43:19 +00:00
6. Install [OpenCV](http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html) or via ``sudo pip3 install opencv-python``
2022-09-27 13:17:48 +00:00
7. [Download toxygen](https://git.plastiras.org/emdee/toxygen/)
2017-06-24 12:44:55 +00:00
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``