Linux install instructions for sdrtrunk v0.5.0-beta2 using rtl-sdr

2,217 views
Skip to first unread message

James Welch

unread,
Mar 25, 2022, 11:03:15 PM3/25/22
to sdrtrunk
I'm rather new to Linux and want to get SDRtrunk installed and running on my computer.
I am using Linux Mint Cinnamon 20.3 and I have 2 rtl-sdr  and have downloaded v0.5.0-beta2 of SDRtrunk. I have no clue on how to install it on Linux drivers and all else that is needed to get it up and running on Linux. A how to website with instructions or videos that walk you thru would be great. It the instructions on the web are for an older version do they still apply to the current version with the changes that have been made by the developer?
Any help getting it up and running would be greatly appreciated. Also when a newer version comes out any thing special i need to do when upgrading.

Aaron Spears

unread,
Mar 25, 2022, 11:34:55 PM3/25/22
to James Welch, sdrtrunk

Hi.


So far as I've been able to tell, being in the same position you are, extract the zip file somewhere, open the extracted folder, go into bin and run the shell script that's called sdr-trunk. There's a .bat file, run the file above or just left of that unless your sort order is weird. It should open an SDR Trunk window and a calibrate CPU window. Calibration can take a long time.


I'm blind and both of these windows are completely unusable with a screen reader at the moment, so I don't know any more details than that yet.



Cheers:
Aaron Spears, AKA Valiant8086 General Partner at Valiant Galaxy Associates "we make (VERY GOOD AUDIOGAMES) for the blind comunity" http://valiantGalaxy.com
--
You received this message because you are subscribed to the Google Groups "sdrtrunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdrtrunk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sdrtrunk/e799a7f1-0fee-4a78-bca3-8ed0da1d878fn%40googlegroups.com.

charley....@gmail.com

unread,
Mar 26, 2022, 1:12:40 PM3/26/22
to sdrtrunk
Have you considered the boatbod version of OP25?  It does not rely on Java which might be helpful for your situation but is a Linux only program.   Lightweight in terms of system resources as some people run it on Raspberry Pis.  It has a rather complex setup process however, but the boatbod version uses a script which automates the installation to some extent.

charley....@gmail.com

unread,
Mar 26, 2022, 1:16:04 PM3/26/22
to sdrtrunk
There are a few how to videos up on You Tube for Alpha 6 on Linux.  This guy uses a terminal interface to do the initial installation, but it is straightforward.

charley....@gmail.com

unread,
Mar 26, 2022, 1:18:28 PM3/26/22
to sdrtrunk
The only difference in installation between Alpha 6 and Beta 2 is the CPU configuration which is done once and from within the program similar to the Java config.

wemana...@gmail.com

unread,
Mar 26, 2022, 8:44:51 PM3/26/22
to sdrtrunk
On Friday, March 25, 2022 at 11:03:15 PM UTC-4 jwel...@gmail.com wrote:
I'm rather new to Linux and want to get SDRtrunk installed and running on my computer.
I am using Linux Mint Cinnamon 20.3 and I have 2 rtl-sdr  and have downloaded v0.5.0-beta2 of SDRtrunk.

First you need to install drivers for RTL-SDR's if you have not done so:

you need to open a terminal window

there you need to enter:

sudo apt-get update

sudo apt-get install rtl-sdr

This will install the drivers you to so that the dongles can be used as SDR's and not what the linux kernel sees the 820T chips as DVB TV receivers

REMOVE ANY SDR dongles and re insert into USB ports. This will cause the kernel to use the SDR drivers v. the DVB ones

After the above completes
lsusb

That should produce something like:

 $ lsusb
Bus 001 Device 007: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T

Then do the following:

rtl-test

That should produce some output if you are now using the correct SDR drivers... Hit CTRL-C to exit it.

To install SDRT you can DL it from the assets section for that release, you need the Linux-X86_64 one.

You can DL via your most comfortable method, GUI via web browser OR
via the CLI in the terminal window

wget https://github.com/DSheirer/sdrtrunk/releases/download/v0.5.0-beta.2/sdr-trunk-linux-x86_64-v0.5.0-beta2.zip

**I* put each release into a directory based on version for this, its 050b2 which is version 0.50 beta 2

you can do this via
mkdir 050b2

Then change to it via :
cd 050b2

Then copy the source zip to here
cp (USE THE PATH TO WHERE YOU DL'd /sdr-trunk-linux-x86_64-v0.5.0-beta2.zip .

Thats a SPACE and A PERIOD at the end.

Then do an unzip of it

unzip sdr-trunk-linux-x86_64-v0.5.0-beta2.zip

Then  you can cd sdr-trunk-linux-x86_64-v0.5.0-beta2.zip/bin

There will be about 3 files in there , one for Linux and several for other things..

To run the program you do:

./sdr-trunk

That will start the program

*** I **** compile the JMBE library for audio via a specialized LXC container that compiles it when I need to...**** !!! THE PROGRAM HAS AN OPTION TO DO THIS WITHIN THE PROGRAM NOW !!! ***  This is the simplest... I suggest to use it for now.

YOU CAN use GUI tools such as ARK to unzip things via GUI to where you want as well... I just don't use them, that much, and just do it via terminal much easier and quicker **FOR ME***
You also can use a GUI based file management system to create directory tree etc.. again, *for me ** its quicker to just type stuff...

You will need to SETUP The JMBE library to get the audio out...tell it where its located... in the USER PREFERENCES ***AFTER*** you compile it.

With these steps completed you can now use the program and setup your channels etc..

Further questions????
 

J O

unread,
May 8, 2022, 6:15:18 PM5/8/22
to sdrtrunk

Following the abo on a Pi4, I get the following error
./sdr-trunk
./sdr-trunk: 156: exec: /home/pi/Downloads/sdr-trunk-linux-x86_64-v0.5.0-beta2/bin/java: Exec format error

wemana...@gmail.com

unread,
May 8, 2022, 9:41:36 PM5/8/22
to sdrtrunk
On Sunday, May 8, 2022 at 6:15:18 PM UTC-4 J O wrote:

Following the abo on a Pi4, I get the following error
./sdr-trunk
./sdr-trunk: 156: exec: /home/pi/Downloads/sdr-trunk-linux-x86_64-v0.5.0-beta2/bin/java: Exec format error

You are trying to run the LINUX VERSION On a  PI. Won't work.

You need to DOWNLOAD THE PI VERSION which is  ARM 64b, and you MUST HAVE A 64B OS VERSION TO USE. So if you are using Raspbian, you will have to have the 64b, or the Ubuntu ARM 64B version.

PI VERSION: https://github.com/DSheirer/sdrtrunk/releases/download/v0.5.0-beta.3/sdr-trunk-linux-aarch64-v0.5.0-beta3.zip

THE DEFAULT RASPIAN is 32B!

Raspbian 64B
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit

https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/

Reply all
Reply to author
Forward
0 new messages