FYI: qTox (Qtox) secure multimedia messenger installation

Questions about applications and software
Forum rules
Before you post please read how to get help
User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

FYI: qTox (Qtox) secure multimedia messenger installation

Post by phd21 » Tue Nov 21, 2017 3:28 pm

Hello Everyone,

People who use superb secure multi-media messenger qTox (Qtox), a great alternative to Skype, or are Interested in installing this, may have noticed that within the past few days the previous software repositories and or installation instructions may not be working. I have been on their developers GitHub website to find out when a new fully functioning working repository (software source) will be up and running, and when I know, I will post that here.

"qTox" is my favorite secure multi-media messenger (text, voice, video) and Skype alternative. It is light on system resources and just works great. But, there are (were) various installation options for Linux users. One of the problems is that "openSUSE" which held wonderful options for this, like the Ubuntu (Linux Mint) deb files and a repository has closed very recently. They are looking for a new repository maintainer, once they have one up and running, it will be easy to install again.

Here are easy to install instructions for installing "qTox" (Qtox) in your Linux Mint systems.

First install these packages...

1.) Install this for various applications
To install this open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert).

Code: Select all

sudo apt-get install apt-transport-https
2.) You must install "ffmpeg" version 3.x which is used by many applications including qTox. Linux Mint 19 already has this in the software manager or synpatic package manager, but Linux Mint 17.x and 18.x users must install it using the PPA below or some other method.

To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert), repeat for each command.

Code: Select all

sudo add-apt-repository ppa:jonathonf/ffmpeg-3

Code: Select all

sudo apt update && sudo apt install ffmpeg libav-tools x264 x265
*** 07-28-2018 *** Skip down (scroll down) to the last 2 replies in this post which have newly updated instructions for installing current versions of qTox (Qtox). ***


3.) Now easily install "qTox" (Qtox) using the Linux deb file for your system, just click one of the links below for your Linux Mint system, save the ".deb" file to your system, and double click the deb file to install it.
phd21 wrote:These are copies of the qTox Ubuntu / Linux Mint installation files which I uploaded to my "mega.nz" cloud provider until the qTox developers have a repository that is up and running again. I ran these qTox installation files through the "VirusTotal" website which uses over 50 anti-virus and anti-malware scanners, and "Linux Malware Detect" (LMD) and ClamAV scanners that I have installed on my systems, and there were no viruses or malware detected. Feel free to check the files yourselves.
Phd21 wrote:These qTox installation binary "deb" files came directly from my Linux Mint systems, are 64-bit only, but are newer from 08-29-2017.

Ubuntu 16.04 - Linux Mint 18.x - 64-bit only
https://mega.nz/#!mgYVhR6S!Po4vv_hLhApJ ... dLySATJL3I

Ubuntu 14.04 - Linux Mint 17.x - 64-bit only
https://mega.nz/#!vpZzAaZJ!IZhFQX4PAEPy ... v1HwkGfFhk
Phd21 wrote:These qTox Ubuntu installation "deb" files (binaries) below came directly from the OpenSUSE qTox repo before it shutdown, they might be a little older, but they should work well until the new qTox repository is up and running properly.

For Linux Mint 17.x based on Ubuntu 14.04 (08-05-2016)
64-bit
https://mega.nz/#!O1hHFARB!I2FRte4_KmsV ... BX57kBOPiE

32-bit
https://mega.nz/#!3oRwRIjb!OBY7nEsGfvUg ... A8DP4_GZCk


For Linux Mint 18.x based on Ubuntu 16.04 (08-05-2016)

64-bit
https://mega.nz/#!f9Rkma7D!gXWUmjfrLomo ... w3RpY2zcHg

32-bit
https://mega.nz/#!ms5TyYaZ!ol46DenvQkHs ... _z0Wyhod0M
Hope this helps ...
Last edited by phd21 on Sun Jul 29, 2018 10:58 pm, edited 2 times in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

EMKEI
Level 1
Level 1
Posts: 21
Joined: Tue Nov 21, 2017 2:21 am

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI » Thu Nov 30, 2017 1:56 pm

Hi,
I'm looking for instructions on how to install qTox on Linux Mint Mate 18.2

You say that the repository has been closed but I'm still seeing it there...
http://download.opensuse.org/repositori ... .04/amd64/
I can not find the information that the opensuse repositare would be ended...

This is the current option for installing qTox to Linux Mint?


Thank you.

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 » Thu Nov 30, 2017 2:39 pm

HI "EMKEI", & anyone else,

I have been speaking with the developers and contributors of qTox. And within the past few days, they have just created a new repository for qTox using the same excellent "openSUSE" OBS software packaging website that the previous repository maintainer used, only under a different repository name of course. I purposely did not provide the new download links until they said it was okay to do so, but since you found their new repository, see the links below. They are still working on setting up this new repository the way they want it.

The new "nightly" (version 1.13) that is there does work for Ubuntu 16.04 = Linux Mint 18.x (64-bit and 32-bit). I have tested these myself.

For Linux Mint 18.x (Ubuntu 16.04)
64-bit Stable Qtox deb file, save and double click to install.
https://download.opensuse.org/repositor ... _amd64.deb

32-bit Stable Qtox deb file, save and double click to install.
https://download.opensuse.org/repositor ... 0_i386.deb


FYI: I do not see any new versions for Linux Mint 17.x based on Ubuntu 14.04, but Linux Mint users can still install qTox v1.6 using the links I provided. I think when they create a new AppImage option for newer versions of qTox, that it will also run on Linux Mint 17.x and provide users with newer versions, but they are still working on that.

I tried and I could not compile the newer qTox from their source code under Linux Mint 17.x.


Hope this helps ...
Last edited by phd21 on Thu Nov 30, 2017 3:05 pm, edited 1 time in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

EMKEI
Level 1
Level 1
Posts: 21
Joined: Tue Nov 21, 2017 2:21 am

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI » Thu Nov 30, 2017 2:49 pm

Thank you very much for the answer!

So this repository is new? OR (repository with the latest update and new updates are no longer available)
http://download.opensuse.org/repositori ... .04/amd64/

The new "nightly" (version 1.13) that is there does work for Ubuntu 16.04 = Linux Mint 18.x 64-bit and 32-bit. I have tested these myself.
You can write new installation commands.
THX.

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 » Thu Nov 30, 2017 3:09 pm

Hi "EMKEI",

You are welcome...

Yes, this is a brand new "qTox" (Qtox) software repository with the new current version of qTox, and it will also provide updates when that is ready.

You can just click the the appropriate 64-bit or 32-bit download link for your Linux Mint 18.x system to download (save) the new qTox deb file, and then just double click the deb file to install it.

Linux Mint 17.x users can still use the links I provided before.

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

EMKEI
Level 1
Level 1
Posts: 21
Joined: Tue Nov 21, 2017 2:21 am

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI » Thu Nov 30, 2017 3:21 pm

Code: Select all

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/xUbuntu_14.04/ /' > /etc/apt/sources.list.d/qtox.list"
wget -nv http://download.opensuse.org/repositories/home:antonbatenev:tox/xUbuntu_14.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install qtox
OR

Code: Select all

echo "deb https://pkg.tox.chat/debian nightly $(lsb_release -cs)" | 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
Edit these commands to add repository (OpenSUSE) to linux mint 18.2 for install and auto-update...
I'm novice in linux and I can not make those commands.

THX.

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 » Thu Nov 30, 2017 3:46 pm

HI "EMKEI",

For now, use the easy to install Linux "deb" files that I have linked in this post and its replies.

The instructions for installing qTox using "antonbatenev" repository will no longer work, that is the old repository, the one that shutdown.

If you or anyone else is getting an error updating qTox using the older instructions, just run the command below to correct that, then re-run the update (sudo apt-get update) and those errors should not be there anymore.

Code: Select all

sudo rm /etc/apt/sources.list.d/qtox.list
BAD non-working older qtox repository wrote:

Code: Select all

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/xUbuntu_14.04/ /' > /etc/apt/sources.list.d/qtox.list"
wget -nv http://download.opensuse.org/repositories/home:antonbatenev:tox/xUbuntu_14.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install qtox
OR

I do not know that these instructions are valid either, but I do know that whenever you see installation instructions with "$(lsb_release -cs)", that must be replaced with something like "xenial" for Linux Mint 18.x or "trusty" for Linux Mint 17.x without the quotes and lowercase in Linux Mint sytstems. Also, I think these are the instructions for installing "uTox" or one of the other Linux Tox clients (ricin, toxic, toxygen, utox), not for qTox ...

Code: Select all

echo "deb https://pkg.tox.chat/debian nightly $(lsb_release -cs)" | 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
If you tried to run the commands above and are getting errors during updating Linux Mint, run the command below. Then re-run the update (sudo apt-get update) and those errors should not be there anymore.

Code: Select all

sudo rm /etc/apt/sources.list.d/tox.list
Examples of adding a tox repository for Linux Mint
Linux Mint 18.x

Code: Select all

echo "deb https://pkg.tox.chat/debian nightly xenial" | sudo tee /etc/apt/sources.list.d/tox.list
Linux Mint 17.x

Code: Select all

echo "deb https://pkg.tox.chat/debian nightly trusty" | sudo tee /etc/apt/sources.list.d/tox.list



Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

EMKEI
Level 1
Level 1
Posts: 21
Joined: Tue Nov 21, 2017 2:21 am

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI » Thu Nov 30, 2017 4:40 pm

Code: Select all

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/xUbuntu_14.04/ /' > /etc/apt/sources.list.d/qtox.list"
wget -nv http://download.opensuse.org/repositories/home:antonbatenev:tox/xUbuntu_14.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install qtox
So this code can not be modified? to replace the repository with a new one: http://download.opensuse.org/repositori ... .04/amd64/

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 » Thu Nov 30, 2017 4:58 pm

Hi "EMKEI",

That is not what I am saying.

The qTox developers have not yet released their instructions for installing their new repository, even though they have easy to install updated deb files available now. It will be similar to these instructions since they are using the same OBS system for packaging their software, only not for xUbuntu 14.04 (Linux Mint 17.x) because they too are having a problem getting their newer versions of qTox to compile for that older version.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

arvY99
Level 1
Level 1
Posts: 42
Joined: Sat Sep 10, 2016 6:10 am

Re: FYI: qTox (Qtox) secure messenger installation

Post by arvY99 » Fri Dec 22, 2017 10:19 pm

Thanks phd21 for the info here and the discussion in the qtox forum!
Link bookmarked and looking forward to seeing their instructions for the new repository :)

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 » Sat Dec 23, 2017 1:40 pm

Hi "arvY99",

You are welcome...

Merry Christmas and Happy Holidays to you and everyone else !!!
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
Bolle1961
Level 5
Level 5
Posts: 706
Joined: Tue Jun 29, 2010 12:59 pm

Re: FYI: qTox (Qtox) secure messenger installation

Post by Bolle1961 » Mon Dec 25, 2017 7:46 am

Thx, qTox looks good.
Image

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 » Sat Jun 30, 2018 7:40 pm

Hi Everyone,

New "qTox" version 1.15.0

FYI: From what I have read, the developers are working on updating their repository and will have AppImage and Flatpak options coming in the near future.

In the meantime, here are download links for "qTox" version 1.15.0 for Linux Mint 19.x and 18.x, for 64-bit only. Linux Mint 17.x users (64 bit and 32-bit) can still use the previous qTox versions linked earlier in this post. Linux Mint 18.x 32-bit users can also use an earlier version using those links.

I.) Linux Mint 19.x: Here is an easy to install 64-bit deb file version of "qTox (Qtox)" v1.15 for Linux Mint 19.x (based on Ubuntu 18.04) which I just compiled from their current source code in Linux Mint 19.x Xfce/KDE just save the "qtox_1.15.0-79-1_amd64.deb" file and double-click it to install it. I do not know if you need to install the "toxcore" file first or not, but if you have a problem installing the "qTox" deb file, then install the "toxcore" deb file first and then install the "qTox" deb file.

For Linux Mint 19.x (Ubuntu 18.04)

qtox_1.15.0-79-1_amd64.deb
https://mega.nz/#!lYMRxCKD!9ZxrwNgk_Hy_ ... dFKuv0RSo0

toxcore_0.2.2-1_amd64.deb
https://mega.nz/#!YZVVDSaZ!NPnhPobVkDoe ... gGwN-tWvEc


II.) Linux Mint 18.x: I decided to go ahead and compile this newer version for Linux Mint 18.x as well, so here are the 64-bit files for that. * Remember that "qTox" requires the newer "ffmpeg" v3.x be installed first, see previous instructions on that.

For Linux Mint 18.x (Ubuntu 16.04)

just save the "qtox_1.15.0-79-06-30-2018_amd64.deb" file and double-click it to install it. I do not know if you need to install the "toxcore" file and or "sqlcipher" file first or not, but if you have a problem installing the "qTox" deb file, then install the "toxcore" deb file and "sqlcipher" deb file first and then install the "qTox" deb file.

qtox_1.15.0-79-06-30-2018_amd64.deb
https://mega.nz/#!URURkCAD!rqVNOyxChywE ... scFwTobp6E

toxcore_0.2.2-06-30-2018_amd64.deb
https://mega.nz/#!0JEXAAwC!QZKe2N0BTUGp ... d2cblKf4us

sqlcipher_06-30-2018-1_amd64.deb
https://mega.nz/#!YcUGVAYR!RfNoLPUCeRBH ... 8Gxm46yPhA

Hope this helps...
.
qTox_LinuxMint_v19.jpg
qTox - Linux Mint 19.x
.
qTox_LinuxMint_v18.jpg
qTox - Linux Mint 18.x
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

vilmos
Level 1
Level 1
Posts: 5
Joined: Mon Jan 06, 2014 6:48 am

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by vilmos » Wed Jul 04, 2018 4:09 am

Thanks so much for your help phd21!

I have recently upgraded to Linux mint 19 and I really want to get qtox up and running. I have tried to install your deb files and I get this output error

Code: Select all

qtox: error while loading shared libraries: libtoxcore.so.2: cannot open shared object file: No such file or directory
do you have any idea how can I fix it? I have installed the toxcore package which you also provided first, but without success.
Thanks in advance.

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by phd21 » Wed Jul 04, 2018 2:17 pm

HI vilmos,

You are welcome...

I just installed Linux Mint 19 Cinnamon to an external drive to test this. I installed qTox just like I said, but it would not start, so I ran it from the console terminal (qtox) I got the same message you did.
phd21 wrote:Updated: 07-28-2018 Skip to next replies for easier installation instructions and options
I thought the qtox deb file would bring in the required dependencies, but I am relatively new to creating Linux deb files. Make sure "ffmpeg" v3 is installed from the Linux Mint 19 "Synaptic Package Manager (SPM)" and "sqlcipher".

Then, run these console terminal commands below and then retrying qTox and let me know... These only need to be run once, unless you decide to compile and install "qTox" using the instructions below.

Code: Select all

echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf

Code: Select all

sudo ldconfig
I was in the middle of re-compiling qTox in Linux Mint Cinnamon 19.x just now using the instructions from their link below for "Ubuntu >=16.04" for Linux Mint 19.x and trying the qTox that I already compiled and installed, and after re-compiling and re-installing the toxcore, I tried qtox from my last reply and it came right up.

qTox/INSTALL.md at master · qTox/qTox · GitHub
https://github.com/qTox/qTox/blob/maste ... -1604-deps
Instructions to compile and install the current qTox (v1.16 today) in Linux Mint 19.x wrote: For anyone that wants to try compiling "qTox" and installing it that way, it is not that difficult and is pretty quick to do, here are the instructions. Install "ffmpeg" v3.x and "sqlcipher" from the "Synaptic Package Manager (SPM)" first.

Open a console terminal, type in, or copy & paste, each line below one by one: click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert), repeat for each command.

*** Use the "Select all" and if pasting the commands into console terminal is not working properly use the key combo "Ctl+Shift+v, or perhaps click "edit" and then "paste" from the console terminal's toolbar .

Install the required software packages to compile software including "qTox"

Step 1:

Code: Select all

sudo apt install build-essential cmake  cmake-extras extra-cmake-modules git curl wget wget2 checkinstall
Step 2:

Code: Select all

sudo apt-get install \
    build-essential \
    cmake \
    libavcodec-dev \
    libavdevice-dev \
    libavfilter-dev \
    libavutil-dev \
    libexif-dev \
    libgdk-pixbuf2.0-dev \
    libglib2.0-dev \
    libgtk2.0-dev \
    libopenal-dev \
    libopus-dev \
    libqrencode-dev \
    libqt5opengl5-dev \
    libqt5svg5-dev \
    libsodium-dev \
    libsqlcipher-dev \
    libswresample-dev \
    libswscale-dev \
    libvpx-dev \
    libxss-dev \
    qrencode \
    qt5-default \
    qttools5-dev-tools \
    qttools5-dev
Compile and install the newer toxcore

Steps 3-11:

Code: Select all

git clone https://github.com/toktok/c-toxcore.git toxcore

Code: Select all

cd toxcore

Code: Select all

git checkout v0.2.3

Code: Select all

cmake .

Code: Select all

make -j$(nproc)

Code: Select all

sudo make install

Code: Select all

echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf

Code: Select all

sudo ldconfig

Code: Select all

cd ..


At this point qTox should work from qTox deb file I already compiled and provided a link for.

Or, you can
compile the current (newest) qTox and install it using the commands below:

Steps 12-17:

Code: Select all

export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"

Code: Select all

git clone https://github.com/qTox/qTox.git

Code: Select all

cd qTox

Code: Select all

cmake .

Code: Select all

make -j$(nproc)

Code: Select all

sudo make install
That's it, now you should have the newer qTox in your menus running on your Linux Mint 19.x system. These instructions work for Linux Mint 18.x as well.
Hope this helps ...
.
LinuxMint19x_qTox.jpg
qTox in Linux Mint 19.x Cinnamon
Last edited by phd21 on Sun Jul 29, 2018 10:35 pm, edited 2 times in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by phd21 » Thu Jul 05, 2018 2:56 am

Hi vilmos, & Everyone Else using qTox,

I realized after my last post that the instructions (17+ steps) for downloading, compiling, and installing qTox and its dependencies could easily be done in a simple bash script program. (Linux Mint 18.x users should install ffmpeg v3 per the first post in this thread see Steps 1 & 2 of that first post.)

Updated: 07-28-2018
Step 1: download the qTox installation script file for either Linux Mint 18 or Linux Mint 19 to your home folder and go to Step #2 or create the script file using the instructions below the download links.

Download link to "qtox-install-lm19.sh" script file
https://mega.nz/#!BV1lQb4S!LLdZP1lZ957k ... C6-8JvBMJI

Download link to "qtox-install-lm18.sh" script file
https://mega.nz/#!dJsj3D5L!8sn8cnyrOJXf ... 5YfZSb_xHE

OR, to easily create the script file yourself, open a console terminal prompt to create a new text file called
"qtox-install-lm19.sh" for Linux Mint 19.x
or
"qtox-install-lm18.sh" for Linux Mint 18.x
click "select all", copy and then paste each line below into the console terminal.

This command creates a new "qtox-install-lm19.sh" or "qtox-install-lm18.sh" text file and you need to copy the text below that into this file.

Code: Select all

xed qtox-install-lm19.sh
or

Code: Select all

xed qtox-install-lm18.sh

Copy this text below into the text file, Click "Select All" below, Copy the highlighted text then Paste this text into the new opened "qtox-install-lm19.sh" or "qtox-install-lm18.sh" text file, save the text file and exit the "xed" text editor.

Code: Select all

#!/bin/bash#
#
#
clear
echo
echo "Bash script to download, compile, and install current qTox in Linux Mint 19.x or 18.x"
echo
#
#
sudo apt install -y build-essential cmake  cmake-extras extra-cmake-modules git curl wget wget2 checkinstall
sudo apt install -y ffmpeg x264 x265 sqlcipher libswscale4 libswscale-dev
#
sudo apt-get install -y libavcodec-dev libavdevice-dev libavfilter-dev libavutil-dev libexif-dev libgdk-pixbuf2.0-dev
sudo apt-get install -y libglib2.0-dev libgtk2.0-dev libopenal-dev libopus-dev libqrencode-dev libqt5opengl5-dev 
sudo apt-get install -y libqt5svg5-dev libsodium-dev libsqlcipher-dev libswresample-dev libswscale-dev libvpx-dev 
sudo apt-get install -y libxss-dev qrencode qt5-default qttools5-dev-tools qttools5-dev
#
echo
echo "removing any pre-existing qTox and toxcore source code folders from the Home folder"
echo
#
sudo rm -r ~/sqlcipher
sudo rm -r ~/toxcore
sudo rm -r ~/qTox
#
echo
echo "Download, Compile, and install current toxcore dependency"
echo
#
#
git clone https://github.com/toktok/c-toxcore.git toxcore
cd toxcore
git checkout v0.2.3
cmake .
make -j$(nproc)
sudo make install
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig
cd ..
#
#
echo
echo "Download, Compile, and install current qTox messenger application"
echo
#
#
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
git clone https://github.com/qTox/qTox.git
cd qTox
cmake .
make -j$(nproc)
sudo make install
#
echo
echo
echo "Finished installing the current qTox messenger which should now be in your menu."
echo
echo "You may need to restart your computer or logout and log back in first before qTox shows in your menu."
echo
echo "You can now close the console terminal window"
echo
#
.
.
Step 2: Give yourself permission to run the script file using the command below.

Code: Select all

chmod a+x qtox-install*.sh

*** Go to Step #3 except for Linux Mint 18.x users that did not download my script file ***
Run each line below one by one.

Code: Select all

sudo rm -r ~/sqlcipher

Code: Select all

git clone https://github.com/sqlcipher/sqlcipher

Code: Select all

cd sqlcipher

Code: Select all

./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
    LDFLAGS="-lcrypto"

Code: Select all

make

Code: Select all

sudo make install

Code: Select all

cd ..

Step 3: Now run the qTox installation script using the command below for either Linux Mint 19 (lm19) or Linux Mint 18 (lm18).

Code: Select all

bash qtox-install-lm19.sh
or

Code: Select all

bash qtox-install-lm18.sh
You will usually be asked for your password once, then this script program will download, compile, and install the current qTox for you. Just close the console terminal window when done and qTox will be in your menu. You may need to restart your computer or logout and log back in first before qTox shows in your menu.


FYI: This script program (Step #3) can be run again whenever you want to update qTox to a newer version...

Hope this helps...
Last edited by phd21 on Sun Jul 29, 2018 11:04 pm, edited 7 times in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by phd21 » Fri Jul 20, 2018 4:12 pm

Hi Everyone who uses or wants to use qTox,

Today I looked and now the qTox developers have an AppImage and a Flatpak option for installing and using qTox.

The AppImage should work for all editions of Linux Mint from 17.x, 18.x, and 19.x. Linux Mint 17.x and 18.x users still need to install "ffmpeg" version 3.x using instructions from first post in this, Linux Mint 19.x users can install ffmpeg v3.x from the Software Manager or Synaptic Package Manager (SPM).

qTox/qTox: qTox is a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol.
https://github.com/qTox/qTox
* qTox AppImage v1.16.1
- just download the file from link below, move it to where you want it, give yourself permission to run it, and double-click it to run it. You can right-click desktop to create a new launcher shortcut to this file.
https://github.com/qTox/qTox/releases/
.
FYI: If for whatever reasons you are having issues with AppImages make sure "fuse" is installed from the Software Manager or Synaptic Package Manager (SPM), and consider installing the application below.

AppImageLauncher:
Helper application for Linux distributions serving as a kind of "entry point" for running and integrating AppImages. "AppImageLauncher makes your Linux desktop AppImage ready™". Under Installation click "release page" download the regular Linux deb file for Linux Mint 18.x or earlier and the Bionic for Linux Mint 19.x, then double-click it to install it, may want to restart your computer before using this the first time.
https://github.com/TheAssassin/AppImageLauncher

.
* qTox Flatpak - install through the Flatpak option in Software Manager, or "Flathub" link, or from the command prompt.
https://github.com/qTox/qTox/releases/d ... 64.flatpak

qTox - Linux Apps on Flathub
https://flathub.org/apps/details/io.github.qtox.qTox


Console terminal prompt where you downloaded the flatpak file.

Code: Select all

flatpak run qTox-v1.16.1.x86_64.flatpak
Hope this helps ...
Last edited by phd21 on Mon Oct 15, 2018 12:26 pm, edited 6 times in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

arvY99
Level 1
Level 1
Posts: 42
Joined: Sat Sep 10, 2016 6:10 am

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by arvY99 » Fri Aug 03, 2018 5:41 pm

Thanks for the update!

I've downloaded the .AppImage file and allowed it to be executable through its properties. Double-clicking does not start the application. The message is that it's not possible to display the file and that there is no application installed for shared library files. Replying 'yes' to search for an application to open the file leads to another message-box saying that "shared library is not supported"?!?!

Running LM18.3.
Shall I change some settings? Install a missing library?

User avatar
phd21
Level 17
Level 17
Posts: 7232
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by phd21 » Fri Aug 03, 2018 6:09 pm

Hi arvY99,

You are welcome...

I do not currently have a fresh install of Linux Mint 18.3, which edition are you using? You could download the install qtox script from the reply before the "AppImage" reply and use that. I think the shared libraries from the message may be the "toxcore", but without the exact message, I cannot tell.

Did you install ffmpeg v3 before trying to install or run qTox in Linux Mint 18.x using the instructions from the first post in this, if not do that and retry the AppImage, or use the installation script for Linux Mint 18, or one of the deb files?

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

arvY99
Level 1
Level 1
Posts: 42
Joined: Sat Sep 10, 2016 6:10 am

Re: FYI: qTox (Qtox) secure multimedia messenger installation

Post by arvY99 » Sat Aug 04, 2018 3:31 am

Hi phd21,

Thanks for your reply!

Forgot to tell, running the mate edition of LM18.3.

So far:
1. installed ffmpeg v3 according to the first post... The AppImage file is not starting and I got the same messages (even after logging out and restarting).
2. downloaded your script from Mega and run it. Saw some errors like cmake not installed. Pre-existing folders were not removed. After restarting, the former qTox is still there (in the menu and working).

Maybe I should install cmake and run the script again.
What to do with the newly created folders after running the script (qTox, toxcore and sqlcipher; total about 100MB)? Can I delete them?

As far as I understood the deb won't be the latest version.

Post Reply

Return to “Software & Applications”