how to install qTox inside Whonix or debian (jessie). (instructions are not fully safe yet, please read:- Voice over IP (VoIP))
Note:- these instructions have been copied from different links:-
https://wiki.tox.chat/clients/qtox
https://wiki.tox.chat/binaries
http://backports.debian.org/Instructions/
categorized/written in the way you see it below => done be me only.
1.Install qTox from the Tox.chat repository (debian-whonix users)
A- First way to install qTox:-(shortest)
echo "deb https://pkg.tox.chat/debian nightly release" | sudo tee /etc/apt/sources.list.d/tox.list
wget -qO - https://pkg.tox.chat/debian/pkg.gpg.key | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update
The Tox Repository has now been installed.
You can now install qtox, utox, toxic, ratox and tox-bootstrapd.
To see which one fits your needs please take a look at this table:-
and/or
https://wiki.tox.chat/clients/qtox#features
To install for example qTox:-
sudo apt-get install qtox
To start qTox just type in the terminal:-
qtox
Then hit enter.
B- Second way to install qTox:-(short)
sudo sh -c 'echo "deb https://pkg.tox.chat/debian/ nightly release" > /etc/apt/sources.list.d/tox.list'
wget -qO - https://pkg.tox.chat/debian/pkg.gpg.key | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update -qq
echo "qTox Repository Installed."
sudo apt-get install qtox
echo "qTox Installed."
qtox
C- Third way to install qTox:- (long)
In order to clone the qTox repository you need Git.
sudo apt-get install git
add backports to your sources.list for FFmpeg and others.
sudo nano /etc/apt/sources.list
add this link , then exit&save
deb http://http.debian.net/debian jessie-backports main
go to terminal and type
apt-get -t jessie-backports install "package"
then install GCC, Qt, FFmpeg, OpanAL Soft and qrencode using
sudo apt-get install build-essential qt5-qmake qt5-default qttools5-dev-tools libqt5opengl5-dev libqt5svg5-dev libopenal-dev libxss-dev qrencode libqrencode-dev libglib2.0-dev libgdk-pixbuf2.0-dev libgtk2.0-dev ffmpeg
from this point you have two ways to try either the easy or the hard one.
The easy one:- (is not guaranteed to work)
git clone https://github.com/tux3/qTox.git
cd qTox
./simple_make.sh
The the hard one:-
install all of the toxcore dependencies
sudo apt-get install libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev libsodium-dev libavdevice-dev
install filter_audio manually
git clone https://github.com/irungentoo/filter_audio
cd filter_audio
make -j$(nproc)
sudo make install
now toxcore compiling dependencies
git clone https://github.com/irungentoo/toxcore.git
cd toxcore
autoreconf -if
./configure
make -j$(nproc)
sudo make install
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig
Run in qTox directory to compile
qmake
make
Now you can start compiled qTox with
./qtox
Note:- If the compiling process stops with a missing dependency like: … libswscale/swscale.h missing try
apt-file search libswscale/swscale.h
Then install the missing dependency. you can do this step for any missing dependency name.
2.how to use it in Whonix or behind any torifying connection
Since Whonix based on debian and all their traffics are torified then it wont be much different from users:tox_over_tor_tot - Tox Wiki
After installing qTox after following one of the above instructions go to terminal and type
qTox
Make new profile or load an old one, then go to:-
Settings → General → scroll down to the bottom → uncheck “Enable IPV6” and “Enable UDP” → then choose from SOCKS5 from Proxy type → then add in the Address field “127.0.0.1” with port “9050” → click on reconnect or restart qTox