mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
docs(INSTALL): combine qtox and toxcore dependencies lists together
This commit is contained in:
parent
254b861ded
commit
33d173f81c
117
INSTALL.md
117
INSTALL.md
|
@ -22,13 +22,6 @@
|
||||||
- [Slackware](#slackware-other-deps)
|
- [Slackware](#slackware-other-deps)
|
||||||
- [Ubuntu >=15.04](#ubuntu-other-deps)
|
- [Ubuntu >=15.04](#ubuntu-other-deps)
|
||||||
- [Ubuntu >=16.04](#ubuntu-other-1604-deps)
|
- [Ubuntu >=16.04](#ubuntu-other-1604-deps)
|
||||||
- [toxcore dependencies](#toxcore-dependencies)
|
|
||||||
- [Arch](#arch-toxcore)
|
|
||||||
- [Debian](#debian-toxcore)
|
|
||||||
- [Fedora](#fedora-toxcore)
|
|
||||||
- [openSUSE](#opensuse-toxcore)
|
|
||||||
- [Slackware](#slackware-toxcore)
|
|
||||||
- [Ubuntu >=15.04](#ubuntu-toxcore)
|
|
||||||
- [sqlcipher](#sqlcipher)
|
- [sqlcipher](#sqlcipher)
|
||||||
- [Compile toxcore](#compile-toxcore)
|
- [Compile toxcore](#compile-toxcore)
|
||||||
- [Compile qTox](#compile-qtox)
|
- [Compile qTox](#compile-qtox)
|
||||||
|
@ -263,7 +256,7 @@ corresponding parts.
|
||||||
#### Arch Linux
|
#### Arch Linux
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo pacman -S --needed base-devel qt5 openal libxss qrencode ffmpeg
|
sudo pacman -S --needed base-devel qt5 openal libxss qrencode ffmpeg opus libvpx libsodium
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -275,18 +268,27 @@ sudo pacman -S --needed base-devel qt5 openal libxss qrencode ffmpeg
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install \
|
sudo apt-get install \
|
||||||
|
automake \
|
||||||
|
autotools-dev \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
check \
|
||||||
|
checkinstall \
|
||||||
cmake \
|
cmake \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
libavcodec-dev \
|
libavcodec-dev \
|
||||||
|
libavdevice-dev
|
||||||
libexif-dev \
|
libexif-dev \
|
||||||
libgdk-pixbuf2.0-dev \
|
libgdk-pixbuf2.0-dev \
|
||||||
libgtk2.0-dev \
|
libgtk2.0-dev \
|
||||||
libopenal-dev \
|
libopenal-dev \
|
||||||
|
libopus-dev \
|
||||||
libqrencode-dev \
|
libqrencode-dev \
|
||||||
libqt5opengl5-dev \
|
libqt5opengl5-dev \
|
||||||
libqt5svg5-dev \
|
libqt5svg5-dev \
|
||||||
|
libsodium-dev \
|
||||||
libsqlcipher-dev \
|
libsqlcipher-dev \
|
||||||
|
libtool \
|
||||||
|
libvpx-dev \
|
||||||
libxss-dev \
|
libxss-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
qrencode \
|
qrencode \
|
||||||
|
@ -310,20 +312,27 @@ have to compile it yourself, otherwise compiling qTox will fail.**
|
||||||
sudo dnf groupinstall "Development Tools" "C Development Tools and Libraries"
|
sudo dnf groupinstall "Development Tools" "C Development Tools and Libraries"
|
||||||
# (can also use sudo dnf install @"Development Tools")
|
# (can also use sudo dnf install @"Development Tools")
|
||||||
sudo dnf install \
|
sudo dnf install \
|
||||||
|
autoconf \
|
||||||
|
automake \
|
||||||
|
check \
|
||||||
|
check-devel \
|
||||||
ffmpeg-devel \
|
ffmpeg-devel \
|
||||||
gtk2-devel \
|
gtk2-devel \
|
||||||
libexif-devel \
|
libexif-devel \
|
||||||
libXScrnSaver-devel \
|
libsodium-devel \
|
||||||
libtool \
|
libtool \
|
||||||
|
libvpx-devel \
|
||||||
|
libXScrnSaver-devel \
|
||||||
openal-soft-devel \
|
openal-soft-devel \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
|
opus-devel \
|
||||||
qrencode-devel \
|
qrencode-devel \
|
||||||
qt-creator \
|
|
||||||
qt-devel \
|
|
||||||
qt-doc \
|
|
||||||
qt5-linguist \
|
qt5-linguist \
|
||||||
qt5-qtsvg \
|
qt5-qtsvg \
|
||||||
qt5-qtsvg-devel \
|
qt5-qtsvg-devel \
|
||||||
|
qt-creator \
|
||||||
|
qt-devel \
|
||||||
|
qt-doc \
|
||||||
qtsingleapplication \
|
qtsingleapplication \
|
||||||
sqlcipher \
|
sqlcipher \
|
||||||
sqlcipher-devel
|
sqlcipher-devel
|
||||||
|
@ -338,15 +347,18 @@ sudo dnf install \
|
||||||
```bash
|
```bash
|
||||||
sudo zypper install \
|
sudo zypper install \
|
||||||
libexif-devel \
|
libexif-devel \
|
||||||
|
libffmpeg-devel \
|
||||||
|
libopus-devel \
|
||||||
libQt5Concurrent-devel \
|
libQt5Concurrent-devel \
|
||||||
|
libqt5-linguist \
|
||||||
libQt5Network-devel \
|
libQt5Network-devel \
|
||||||
libQt5OpenGL-devel \
|
libQt5OpenGL-devel \
|
||||||
libQt5Xml-devel \
|
|
||||||
libXScrnSaver-devel \
|
|
||||||
libffmpeg-devel \
|
|
||||||
libqt5-linguist \
|
|
||||||
libqt5-qtbase-common-devel \
|
libqt5-qtbase-common-devel \
|
||||||
libqt5-qtsvg-devel \
|
libqt5-qtsvg-devel \
|
||||||
|
libQt5Xml-devel \
|
||||||
|
libsodium-devel \
|
||||||
|
libvpx-devel \
|
||||||
|
libXScrnSaver-devel \
|
||||||
openal-soft-devel \
|
openal-soft-devel \
|
||||||
patterns-openSUSE-devel_basis \
|
patterns-openSUSE-devel_basis \
|
||||||
qrencode-devel \
|
qrencode-devel \
|
||||||
|
@ -357,6 +369,9 @@ sudo zypper install \
|
||||||
|
|
||||||
#### Slackware
|
#### Slackware
|
||||||
|
|
||||||
|
List of all the toxcore dependencies and their SlackBuilds can be found
|
||||||
|
here: http://slackbuilds.org/repository/14.2/network/toxcore/
|
||||||
|
|
||||||
List of all the qTox dependencies and their SlackBuilds can be found here:
|
List of all the qTox dependencies and their SlackBuilds can be found here:
|
||||||
http://slackbuilds.org/repository/14.2/network/qTox/
|
http://slackbuilds.org/repository/14.2/network/qTox/
|
||||||
|
|
||||||
|
@ -367,7 +382,11 @@ http://slackbuilds.org/repository/14.2/network/qTox/
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install \
|
sudo apt-get install \
|
||||||
|
automake \
|
||||||
|
autotools-dev \
|
||||||
build-essential cmake \
|
build-essential cmake \
|
||||||
|
check \
|
||||||
|
checkinstall \
|
||||||
libavcodec-ffmpeg-dev \
|
libavcodec-ffmpeg-dev \
|
||||||
libavdevice-ffmpeg-dev \
|
libavdevice-ffmpeg-dev \
|
||||||
libavfilter-ffmpeg-dev \
|
libavfilter-ffmpeg-dev \
|
||||||
|
@ -377,12 +396,16 @@ sudo apt-get install \
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgtk2.0-dev \
|
libgtk2.0-dev \
|
||||||
libopenal-dev \
|
libopenal-dev \
|
||||||
|
libopus-dev \
|
||||||
libqrencode-dev \
|
libqrencode-dev \
|
||||||
libqt5opengl5-dev \
|
libqt5opengl5-dev \
|
||||||
libqt5svg5-dev \
|
libqt5svg5-dev \
|
||||||
|
libsodium-dev \
|
||||||
libsqlcipher-dev \
|
libsqlcipher-dev \
|
||||||
libswresample-ffmpeg-dev \
|
libswresample-ffmpeg-dev \
|
||||||
libswscale-ffmpeg-dev \
|
libswscale-ffmpeg-dev \
|
||||||
|
libtool \
|
||||||
|
libvpx-dev \
|
||||||
libxss-dev \
|
libxss-dev \
|
||||||
qrencode \
|
qrencode \
|
||||||
qt5-default \
|
qt5-default \
|
||||||
|
@ -406,12 +429,15 @@ sudo apt-get install \
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libgtk2.0-dev \
|
libgtk2.0-dev \
|
||||||
libopenal-dev \
|
libopenal-dev \
|
||||||
|
libopus-dev \
|
||||||
libqrencode-dev \
|
libqrencode-dev \
|
||||||
libqt5opengl5-dev \
|
libqt5opengl5-dev \
|
||||||
libqt5svg5-dev \
|
libqt5svg5-dev \
|
||||||
|
libsodium-dev \
|
||||||
libsqlcipher-dev \
|
libsqlcipher-dev \
|
||||||
libswresample-dev \
|
libswresample-dev \
|
||||||
libswscale-dev \
|
libswscale-dev \
|
||||||
|
libvpx-dev \
|
||||||
libxss-dev \
|
libxss-dev \
|
||||||
qrencode \
|
qrencode \
|
||||||
qt5-default \
|
qt5-default \
|
||||||
|
@ -419,63 +445,6 @@ sudo apt-get install \
|
||||||
qttools5-dev
|
qttools5-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### toxcore dependencies
|
|
||||||
|
|
||||||
Install all of the toxcore dependencies.
|
|
||||||
|
|
||||||
<a name="arch-toxcore" />
|
|
||||||
|
|
||||||
#### Arch Linux
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo pacman -S --needed opus libvpx libsodium
|
|
||||||
```
|
|
||||||
|
|
||||||
<a name="debian-toxcore" />
|
|
||||||
|
|
||||||
#### Debian
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt-get install libtool autotools-dev automake checkinstall check \
|
|
||||||
libopus-dev libvpx-dev libsodium-dev libavdevice-dev
|
|
||||||
```
|
|
||||||
|
|
||||||
<a name="fedora-toxcore" />
|
|
||||||
|
|
||||||
#### Fedora
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo dnf install libtool autoconf automake check check-devel libsodium-devel \
|
|
||||||
opus-devel libvpx-devel
|
|
||||||
```
|
|
||||||
|
|
||||||
<a name="opensuse-toxcore" />
|
|
||||||
|
|
||||||
#### openSUSE
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo zypper install libsodium-devel libvpx-devel libopus-devel \
|
|
||||||
patterns-openSUSE-devel_basis
|
|
||||||
```
|
|
||||||
|
|
||||||
<a name="slackware-toxcore" />
|
|
||||||
|
|
||||||
#### Slackware
|
|
||||||
|
|
||||||
List of all the toxcore dependencies and their SlackBuilds can be found
|
|
||||||
here: http://slackbuilds.org/repository/14.2/network/toxcore/
|
|
||||||
|
|
||||||
|
|
||||||
<a name="ubuntu-toxcore" />
|
|
||||||
|
|
||||||
#### Ubuntu >=15.04
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt-get install libtool autotools-dev automake checkinstall check \
|
|
||||||
libopus-dev libvpx-dev libsodium-dev
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### sqlcipher
|
### sqlcipher
|
||||||
|
|
||||||
If you are not using an old version of Fedora, skip this section, and go
|
If you are not using an old version of Fedora, skip this section, and go
|
||||||
|
@ -494,6 +463,8 @@ cd ..
|
||||||
|
|
||||||
### Compile toxcore
|
### Compile toxcore
|
||||||
|
|
||||||
|
Normally you don't want to do that, `bootstrap.sh` will do it for you.
|
||||||
|
|
||||||
Provided that you have all required dependencies installed, you can simply run:
|
Provided that you have all required dependencies installed, you can simply run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue
Block a user