FlightAware Discussions

Install Piaware 5.0 On x86_64 Machines and RPi armv7l & aarch64

Thank you for this.

There was an issue with version number and it was showing “Skyaware unknown version” but after a few minutes it updated to Skyaware 5.0

Hey @abcd567 I want to thank you for the great scripts and tutorial! I have been running my station for over six years and it died, so I had to set up a new one. I used your scripts to install Piaware 5 on Debian and everything went well. I also added a second receiver and set up UAT, too. I’m using a small indoor antenna for the UAT, but I’m going to add an outdoor antenna. I bought a FlightAware antenna for 1090 and have been using it for a couple of years. Hope you’re doing well! Thanks again. Joe

1 Like

Thank you for the scripts, @abcd567! Really appreciate the ease and automation.

Any plans to add a native 64-bit version for public use, @obj?

I’m happy to take build fixes etc for building on whatever target OS, but at the moment there are no plans to produce prebuilt binaries for anything other than standard 32-bit Raspbian.

Have you had a chance to test and see if your scripts work on Debian 11 (bullseye), which was recently released? I don’t dare upgrade my old PC running these services until we know things actually function. Thanks @abcd567 !!

https://www.debian.org/News/2021/20210814

 

OS Installation CD (iso) used:
debian-11.0.0-amd64-netinst.iso
 

Following bash scripts built and installed dump1090-fa and piaware from their source code:

(1) DUMP1090-FA

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

 

(2) PIAWARE

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware.sh)"

 

 

2 Likes
No luck installing piaware on debain 11 yet
i tried

@suffolk3000
Using the scripts in the first post of this thread / Github, both the dump1090-fa 5.0 and piaware 5.0 got installed without trouble, and are working perfectly well on Debian 11 installed on Oracle VM / Windows 10 PC.

What distro you used?
I used debian-11.0.0-amd64-netinst.iso

What is your CPU?
My CPU is
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit

I used following commands to see details:

abcd@debian11:~$ uname -a
Linux debian11 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux

 

abcd@debian11:~$ lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   48 bits physical, 48 bits virtual
CPU(s):                          1
On-line CPU(s) list:             0
Thread(s) per core:              1
Core(s) per socket:              1
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           24
Model name:                      AMD Ryzen 3 3200G with Radeon Vega Graphics
Stepping:                        1
CPU MHz:                         3593.252
BogoMIPS:                        7186.50
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       32 KiB
L1i cache:                       64 KiB
L2 cache:                        512 KiB
L3 cache:                        4 MiB
NUMA node0 CPU(s):               0
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled v
                                 ia prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user
                                  pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full AMD retpoline, STIBP disabled,
                                  RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtr
                                 r pge mca cmov pat pse36 clflush mmx fxsr sse s
                                 se2 ht syscall nx mmxext fxsr_opt rdtscp lm con
                                 stant_tsc rep_good nopl nonstop_tsc cpuid extd_
                                 apicid tsc_known_freq pni pclmulqdq monitor sss
                                 e3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes x
                                 save avx rdrand hypervisor lahf_lm cr8_legacy a
                                 bm sse4a misalignsse 3dnowprefetch ssbd vmmcall
                                  fsgsbase avx2 rdseed clflushopt arat
Linux PC 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
type opcc@PC:~$ lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              2
Core(s) per socket:              4
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           60
Model name:                      Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Stepping:                        3
CPU MHz:                         1319.191
CPU max MHz:                     4000.0000
CPU min MHz:                     800.0000
BogoMIPS:                        7183.97
Virtualization:                  VT-x
L1d cache:                       128 KiB
L1i cache:                       128 KiB
L2 cache:                        1 MiB
L3 cache:                        8 MiB
NUMA node0 CPU(s):               0-7
1 Like

@suffolk3000
Your distro and cpu seems ok.
Did the script build the piaware package "piaware_5.0_amd64.deb"?
You can check this by following commands:

 

abcd@debian11:~$ cd piaware_builder

abcd@debian11:~/piaware_builder$ ls
buster       jessie                       piaware_5.0_amd64.deb         stretch
changelog    package-buster               piaware-dbgsym_5.0_amd64.deb
common       piaware_5.0_amd64.buildinfo  README.md
Jenkinsfile  piaware_5.0_amd64.changes    sensible-build.sh
pcc@PC:~$ cd piaware_builder
-bash: cd: piaware_builder: No such file or directory
pcc@PC:~$ ls
Desktop    Music                             piaware-repository_5.0_all.deb.2  Templates
Documents  piaware-repository_5.0_all.deb    Pictures                          Videos
Downloads  piaware-repository_5.0_all.deb.1  Public

For some reason, the script failed to clone the source code folder piaware_builder.

Please run the bash script again.

I am wondering how you got all the following?

piaware-repository_5.0_all.deb  
piaware-repository_5.0_all.deb.1 
piaware-repository_5.0_all.deb.2
root@PC:/home/pcc# sudo dpkg -i piaware-repository_5.0_all.deb
(Reading database ... 141787 files and directories currently installed.)
Preparing to unpack piaware-repository_5.0_all.deb ...
Unpacking piaware-repository (5.0) over (5.0) ...
Setting up piaware-repository (5.0) ...
root@PC:/home/pcc# ls
Desktop    Music                             piaware-repository_5.0_all.deb.2  Templates
Documents  piaware-repository_5.0_all.deb    Pictures                          Videos
Downloads  piaware-repository_5.0_all.deb.1  Public
root@PC:/home/pcc# cd piaware_builder
bash: cd: piaware_builder: No such file or directory

root@PC:/home/pcc# ls
Desktop    Downloads  piaware-repository_5.0_all.deb  Public     Videos
Documents  Music      Pictures                        Templates
root@PC:/home/pcc# cd piaware_builder
bash: cd: piaware_builder: No such file or directory
root@PC:/home/pcc#

Please do NOT use piaware-repository_5.0_all.deb
The bash script does not need it, and it may cause conflict.
First purge the repository:

sudo dpkg --purge piaware-repository  

Now run the bash script below.
It will clone the source-code folder “piaware_builder”, build the piaware package, and install it.

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware.sh)"

 

1 Like
Yes silly me i got hold of wrong files 
all sorted now 
going to add  aarch64 now  
thanx abcd567

Thanks, Debian 11 (bullseye) upgrade went off (mostly) without a hitch. MLAT didn’t immediately resume, had to re-run the script, and default settings kept forcing my machine to sleep, but i have now disabled suspend. Appreciate your extensive testing and shared expertise via these extremely detailed writeups, @abcd567 sir. Be safe.
image

1 Like

Very nice, fits the bill perfectly. I ran the scripts today and ended up with a 6.0 installation.I ran into one issue on the piaware script. The old version number is hard-coded, or it seems to be, near the end of the installation. This is the output near the end of the build:

—begin output—
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
Installing piaware package
dpkg: error: cannot access archive ‘piaware_5.0-14-g6c6f0e9_*.deb’: No such file or directory
Failed to enable unit: Unit file piaware.service does not exist.
Failed to restart piaware.service: Unit piaware.service not found.

PIAWARE INSTALLATION COMPLETED
—end output—

I changed directory to ~/piaware_builder and ran sudo dpkg -i piaware_6.0_armhf.deb to complete but I don’t know if there were any commands missed after that depended on it being installed…

Thanks for the scripts! I was having issues trying to feel my way around a piaware image build on a pi 4b installed in an Argon heat sink case.

Oops, today FA has released ver 6.0, while script was meant for ver 5.0

$ cd piaware_builder
$ VER=$(git describe --tags | sed 's/^v//')
$ echo ${VER}
5.0-14-g6c6f0e9

$ git log
commit 6c6f0e9f81fd080903fa030348e2c1b410cb7583 (HEAD -> master, origin/master, origin/HEAD)
Author: eric1tran <eric1tran@gmail.com>
Date:   Tue Aug 31 22:02:24 2021 +0000

    Release PiAware 6.0

1 Like

Should I rebuild or will it run fine?