FYI: qTox (Qtox) secure multimedia messenger installation

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

FYI: qTox (Qtox) secure multimedia messenger installation

Post by phd21 »

Hello Everyone,

Updated: 05-30-2020

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 year 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. In the meantime, read the quote box below to install qTox for Linux Mint 18.x and 19.x.

"qTox" is my favorite secure multi-media messenger (text, voice, video) and Skype alternative. It is light on system resources and just works great. One of the problems is that "OBS" Open Build System which held wonderful options for this, like the Ubuntu (Linux Mint) deb files and a repository has closed. They are looking for a new repository maintainer, once they have one up and running, it will provide deb files again.
Phd21_05-30-2020 wrote:
Here are 3 easy options for installing "qTox" (Qtox) in your Linux Mint 18.x or 19.x systems. The last option the script provides the most current version.

1.) "qTox" is in the Software Manager as a "FlatPak".
Alternate Download link to qTox flatpak file
https://github.com/qTox/qTox/releases/d ... 64.flatpak

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

OR
2.) "qTox" AppImage download link, save the file, give yourself permission to run it, double-click it to run it. Or install the AppImage Launcher helper app below, then double-click the qTox AppImage file.
https://github.com/qTox/qTox/releases/d ... 4.AppImage
AppImage Helper App wrote:An Application to make using AppImages even easier
Easily Run And Integrate AppImage Files With AppImageLauncher
https://www.linuxuprising.com/2018/04/e ... files.html

Click the link below, click the 64-bit deb file (amd64.deb) or 32-bit (i386.deb) for your system, use Bionic deb files for Linux Mint 19. Double-click the deb file to install it, restart your computer, then double-click an AppImage file to install and or run that.
https://github.com/TheAssassin/AppImage ... r/releases
OR
3.) For people who want to fully install "qTox" into their Linux Mint 18.x or 19.x systems,

05-30-2020
Updated script for Linux Mint 19.x (and 18.x?) with current qTox (Qtox) v1.17.2, ToxCore v0.2.12, and SqlCipher v4.4.0.
Download link for archive file with script "qtox-install-lm19_with_sqlcipher_2020-05-28.sh.7z".
qtox-install-lm19_with_sqlcipher_2020-05-28.sh.7z
Update qTox installation script which downloads the various source code, compiles it, and installs it.
(1.2 KiB) Downloaded 94 times

-- Save the file into your Home folder and right-click it select extract here, open a console terminal window, and run the script, enter password, afterward restart computer, to run qTox (Qtox).

Code: Select all

bash qtox-install-lm19_with_sqlcipher_2020-05-28.sh
Previous information:
click the link below to download an archive file "qtox-install-lm.tar.gz" which contains 2 bash installation script programs, one for Linux Mint 18.x and another for Linux Mint 19.x, that will download current versions of qTox source code, compile it, and install qTox.
Download Link.
The attachment qtox-install-lm.tar.gz is no longer available
Save the "qtox-install-lm.tar.gz" file, right-click it and extract it, copy the script file for your system to your home folder, and then open a console terminal and type in or copy and paste the commands below:

For Linux Mint 19.x

Code: Select all

chmod a+x qtox-install-lm19.sh

Code: Select all

bash qtox-install-lm19.sh
.
.
For Linux Mint 18.x

Code: Select all

chmod a+x qtox-install-lm18.sh

Code: Select all

bash qtox-install-lm18.sh
Hope this helps ...
========================================================================================================
Previous older instructions
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.x already has this in the software manager or synaptic 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


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 LockBot on Wed Dec 28, 2022 7:16 am, edited 20 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
EMKEI

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI »

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.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
EMKEI

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI »

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.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
EMKEI

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI »

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.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
EMKEI

Re: FYI: qTox (Qtox) secure messenger installation

Post by EMKEI »

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/
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
arvY99
Level 3
Level 3
Posts: 102
Joined: Sat Sep 10, 2016 6:10 am

Re: FYI: qTox (Qtox) secure messenger installation

Post by arvY99 »

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 :)
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 »

Hi "arvY99",

You are welcome...

Merry Christmas and Happy Holidays to you and everyone else !!!
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
Bolle1961
Level 5
Level 5
Posts: 888
Joined: Tue Jun 29, 2010 12:59 pm

Re: FYI: qTox (Qtox) secure messenger installation

Post by Bolle1961 »

Thx, qTox looks good.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: FYI: qTox (Qtox) secure messenger installation

Post by phd21 »

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_LinuxMint_v18.jpg
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
vilmos
Level 1
Level 1
Posts: 24
Joined: Mon Jan 06, 2014 6:48 am

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

Post by vilmos »

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.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Post by phd21 »

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
Last edited by phd21 on Sun Jul 29, 2018 10:35 pm, edited 2 times in total.
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
arvY99
Level 3
Level 3
Posts: 102
Joined: Sat Sep 10, 2016 6:10 am

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

Post by arvY99 »

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?
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
arvY99
Level 3
Level 3
Posts: 102
Joined: Sat Sep 10, 2016 6:10 am

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

Post by arvY99 »

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.
Locked

Return to “Software & Applications”