toxygen/docs/install.md

89 lines
3.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-05-30 19:26:07 +00:00
## Use precompiled binary:
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
``pip3.4 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``
2016-07-12 15:05:33 +00:00
3. Install PySide: ``sudo apt-get install python3-pyside``
4. Install toxygen:
2016-07-05 18:43:51 +00:00
``sudo pip3.4 install toxygen``
2016-07-12 15:05:33 +00:00
5. Run toxygen using ``toxygen`` command.
2016-07-05 18:43:51 +00:00
2016-07-27 14:53:50 +00:00
### OS X
2016-07-27 14:59:35 +00:00
1. Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) with toxav support in your system
2016-07-27 14:53:50 +00:00
2. Install PortAudio:
``brew install portaudio``
3. Install toxygen:
2016-09-03 11:10:36 +00:00
``pip3.4 install toxygen``
2016-07-27 14:53:50 +00:00
4. Run toxygen using ``toxygen`` command.
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
2016-06-23 09:46:48 +00:00
1. [Download and install latest Python 3.4](https://www.python.org/downloads/windows/)
2016-07-27 14:53:50 +00:00
2. [Install PySide](https://pypi.python.org/pypi/PySide/1.2.4#installing-pyside-on-a-windows-system) (recommended) or [PyQt4](https://riverbankcomputing.com/software/pyqt/download)
2016-07-04 09:45:51 +00:00
3. Install PyAudio: ``pip3.4 install pyaudio``
2016-07-11 14:24:39 +00:00
4. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip)
5. Unpack archive
6. Download latest libtox.dll build, download latest libsodium.a build, put it into \src\libs\
2016-07-27 14:59:35 +00:00
7. Run \toxygen\main.py.
2016-03-31 20:11:42 +00:00
2016-07-12 15:05:33 +00:00
Optional: install toxygen using setup.py: ``python3.4 setup.py install``
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``
2016-07-27 14:53:50 +00:00
2. Install PySide: ``sudo apt-get install python3-pyside`` or install [PyQt4](https://riverbankcomputing.com/software/pyqt/download) (``sudo apt-get install python3-pyqt4``).
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:
2016-07-12 15:05:33 +00:00
``sudo apt-get install portaudio19-dev`` and ``sudo apt-get install python3-pyaudio`` (or ``pip3 install pyaudio``)
2016-07-11 14:24:39 +00:00
5. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip)
6. Unpack archive
7. Run app:
2016-07-04 09:45:51 +00:00
``python3.4 main.py``
2016-03-31 20:11:42 +00:00
2016-07-27 14:53:50 +00:00
Optional: install toxygen using setup.py: ``python3.4 setup.py install``
2016-07-12 15:05:33 +00:00
2016-07-27 14:53:50 +00:00
### OS X
1. [Download and install latest Python 3.4](https://www.python.org/downloads/mac-osx/)
2. [Install PySide](https://pypi.python.org/pypi/PySide/1.2.4#installing-pyside-on-a-mac-os-x-system) (recommended) or [PyQt4](https://riverbankcomputing.com/software/pyqt/download)
3. Install PortAudio:
``brew install portaudio``
4. Install PyAudio: ``pip3 install pyaudio``
2016-07-27 14:59:35 +00:00
5. Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) with toxav support in your system
6. [Download toxygen](https://github.com/xveduk/toxygen/archive/master.zip)
7. Unpack archive
8. Run \toxygen\main.py.
2016-07-27 14:53:50 +00:00
Optional: install toxygen using setup.py: ``python3 setup.py install``