Wednesday, March 13, 2019

How to install latest TQSL on Ubuntu 18.04.2 LTS and 20.04 LTS (Latest UPDATE is 01.04.2024 for latest TQSL 2.7.2)

Hello friends,
these days I face interesting problem where I needed to install latest TQSL 2.4.3 on my fresh Ubuntu OS. Before I had installed repository version 2.3.1 wich did a job but due to full erase of my disk I decide that I should try install latest release 2.4.3.
First at all latest release could be found on ARRL's official web page in tar.gz format.
After downloading you should extract (usually right click -> extract here) it in one of your home folder(s). It is reccomended to read INSTALL file in TQSL folder extracted from tar.gz archive in order to be familiar what are you doing.
I must mention that installing "as it is",following suggested install procedure will result in lot of errors and unsuccessful installation of TQSL.
After browsing a little I decide to "take a shot" and started following suggested libraries that should be downloaded.
At least beside software center you should have installed Synaptic and use it with your installation procedure with required libraries and programs:

- sudo apt-get install synaptic

I do not know if MONO is obligatory for TQSL but I can suggest also to install this program with 

- sudo apt install mono

The reason why I suggest is that I noticed it is mentioned in some files/libraries that are installed trough Synaptic.

INSTAL suggest these installations to be present on your computer:

- OpenSSL (http://www.openssl.org/) - OpenSSL 1.0.1j was used for TQSL 1.14.
- expat 1.x XML parser library (http://expat.sourceforge.net/) - expat 2.1.0
- zlib (http://zlib.net/) zlib 1.2.8
- Berkeley DB (http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html) - BDB 6.1.19
- wxWidgets (http://wxwidgets.org/downloads) - wxWidgets 2.8.12.
- curl - (http://curl.haxx.se/download.html) - curl 7.39.0


Following libraries/files are installed in terminal with sudo:

1. Required for proper compiling of TQSL

- sudo apt install cmake 

2. As a part of OpenSSL:

- sudo apt install libcurl4-openssl-dev

- sudo apt-get install libssl-dev

3. BerkleyDB


- sudo apt-get install libdb-dev

- sudo apt-get install sqldeveloper-package 



4. Trough Synaptic, using search option you should install these libraries/files as a part of 

   4.1 wxWidgets:
                 
                 libwxbase3.0-0-unofficial

                 libwxbase3.0-dev


                 libwxgtk3.0-0-unofficial


                 libwxgtk3.0-dev


                 wx3.0-headers


                 wx-common


                 libwxbase3.0-dbg


                 libwxgtk3.0-dbg


                 wx3.0-i18n 


Please take note that when you search for files, Synaptic will give you 2 solutions with the same name and the difference is that one have V5 added in it description. For me, I installed both suggested trough my search for above mentioned libraries/files.

    4.2 Zlib , also installed via Synaptic. 
           For this library I installed all suggested that are listed starting with zlib1g in Synaptic. 

   4.3 CURL, check it also in Synaptic is it installed. If not please install it.

EDIT: We almost forgot


     4.4 Expat, do not forget to install expat :)


- Note for above libraries/files: It is enough to use first part of the name as a search criteria (ex. libwxbase3 is enough to search for libwxbase3.0-0-unofficial).



After this you are ready to install latest TQSL on your Ubuntu 18.04 LTS version.

Personally I installed it with root privileges sudo su , although you can install it also with sudo .
Just follow procedure describet in INSTALL:

From the parent directory where TQSL is extracted:
 

cmake .

make


make install


Take a coffee break and your TQSL should be installed in shortly.

Note: No shortcut is made in Menus so to check is it running just type in terminal : tqsl ,and it should start.

Now you only have to make a Menu shortcut and import your signatures in TQSL, following standard procedures for it.

73 de Z34PEC

UPDATE UBUNTU 22.04

If you run Ubuntu 22.04 beside expat from synaptic you should install development package:  

sudo apt-get install -y libexpat1 libexpat1-dev

UPDATE 01.04.2024 (Not a April fools :) )

Latest TQSL require these two things to be installed:

sudo apt install sqlite3

sudo apt-get install libsqlite3-dev


5 comments:

  1. Thanks for posting this! It saved me a lot of time and head scratching.

    These instructions also work for the current Linux Mint distro.

    73! Steve, N8NM

    ReplyDelete
    Replies
    1. Hello Steve.
      It is nice to hear that someone's post have saved someone's nerves :) during some installation procedure. Sometimes I feel like first pioneers conquering wild west in past centuries :)
      Have a pleasant DX-ing and stay well.
      73 de Petrika
      Z34PEC

      Delete
  2. I Really appreciate you posting this. I just installed Ubuntu 20.04 and these instructions work on it as well.

    Thanks!

    ReplyDelete
  3. Hvala na trudu kolega,cijenim

    ReplyDelete