Using a computer instead of a Pi for PiAware

I’m considering setting up a PiAware system, but was wondering if it would be possible to just use a regular computer, instead of a RaspberryPi? Since it’s just Linux, it should still function the same on either, unless there’s something in this custom build that’s kernel-specific to only a Pi.

Will a regular computer work for this?

You’ll need to compile the software, piaware and dump1090-fa work fine on x86 (or x86-64).

Building dump1090 fa from source · wiedehopf/adsb-wiki Wiki · GitHub
Building piaware from source · wiedehopf/adsb-wiki Wiki · GitHub

Using a linux with the debian package system is gonna be much easier.
So Debian/Ubuntu/Raspbian Desktop … or any of the derivates of those.

Without the debian package system you’ll have to know how to install a systemd service and stuff.
It’s annoying and not straight forward.
I mean it’s straight forward but you need to unpack the debian package, see what directories it creates and which files are needed.
And so forth.

1 Like

This is an automated installation with scripts that do the compiling, so it works on x86:

Except it doesn’t compile dump1090-fa because usually the version is not the correct one.

(Relying on a version number and then using master is just a bad idea.)

Automated installation of dump1090-fa on x64 & x86 computers with OS Debian 9 & 10 and Ubuntu 18 & 19

Clones and buils from source code of master branch (without specifying version number or branch), so always installs the latest version.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/fr24feed-debian-ubuntu-amd64/master/install-dump1090-fa.sh)"

1 Like

Here is the install script which is used in the bash command in my above post:

#!/bin/bash
echo -e "\e[33mupdating.....\e[39m"
apt update

echo -e "\e[33mDUMP1090-FA\e[39m"
echo "Installing packages needed to build, and needed to fulfill dependencies....\e[39m"
apt install -y git lighttpd build-essential debhelper librtlsdr-dev
apt install -y pkg-config dh-systemd libncurses5-dev libbladerf-dev 

echo ""
echo ""
echo -e "\e[33mInstallation of dump1090-fa dependencies & tools completed...\e[39m"
echo ""
echo -e "\e[33mCLONING THE SOURCE FILES.....\e[39m"
git clone https://github.com/flightaware/dump1090.git dump1090-fa

echo ""
echo -e "\e[33mMOVING INTO CLONED DIRECTORY ....\e[39m"
cd ${PWD}/dump1090-fa
echo ""
echo -e "\e[33mBUILDING DUMP1090-FA PACKAGE ....\e[39m"
dpkg-buildpackage -b
echo ""
echo -e "\e[33mINSTALLING THE DUMP1090-FA PACKAGE ....\e[39m"
cd ../
dpkg -i dump1090-fa_*.deb
echo ""
echo ""
echo -e "\e[33mWORKAROUND (Ajax call Failure) ....\e[39m"
wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
echo ""
echo ""
echo -e "\e[32m===============\e[39m"
echo -e "\e[32mALL DONE - dump1090-fa (Flightaware version)\e[39m"
echo -e "\e[32m===============\e[39m"
echo -e "\e[32m(1) In your browser, go to web interface at\e[39m"
echo -e "\e[39m     http://$(ip route | grep -m1 -o -P 'src \K[0-9,.]*')/dump1090-fa/ \e[39m"
echo " "
echo -e "\e[31mREBOOT YOUR COMPUTER IF MAP DOES NOT SHOW, OR SHOWS ERROR MESSAGE\e[39m"
echo -e "\e[33mIn case you want to change/add settings of dump1090-fa, edit following files:\e[39m"
echo "  sudo nano /etc/default/dump1090-fa "
echo "  sudo nano /usr/share/dump1090-fa/html/config.js "
echo ""

So this needs to be complied on a Linux system and then copied over to a windows PC?

Huh? The question is about a PC running Linux. Nothing about Windows in the thread.

Sorry, thought it was about windows. Brain just thought windows when I read PC is all.

Thanks for the help. Will give this a shot.

Sorry, one other question…

Ubuntu is Debian-based, would that also work, with minimal differences to the Debian comments listed above?

YES.
I have tested it on intel PC on following 4 distros. Works like a charm on all 4.

  • Debian 9 amd64
  • Debian 10 amd64
  • Ubuntu 18 amd64
  • Ubuntu 19 amd64

Just copy-paste into terminal the bash script given below, and it build and installs dump1090-fa.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/fr24feed-debian-ubuntu-amd64/master/install-dump1090-fa.sh)"

Clones and builds from source code of master branch, so always builds the latest version of dump1090-fa.

1 Like