Github .sh script not working for Rasberry Pi 5

On the web page:

https://www.adsbexchange.com/using-the-raspberry-pi-5/

I tried to run the github command as shown:

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/ADSBexchange/image-builder/master/image-setup.sh)"

I got a failure when it gets to the line systemctl disable dphys-swapfile.service in the image-setup.sh script. This is due to dphys-swapfile not being a part of the Raspberry Pi OS Lite (Debian Bookworm) . I decided to manually install dphys-swapfile and re-ran the script, but another failure occurred on “Line 75” where it does ‘wget’ on the piaware-repository_5.1_all.deb:

wget -O piaware-repo.deb https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_5.1_all.deb

First Question: How do i install adsbexchange utility onto my Pi 5?

Second (and not as important) Question: Why is adsbexchange pointing to a script that is for their competitor (Flight Aware)?

Those instructions are probably a bit outdated now. The ADSBx v9.0 image should work on a Pi5 (although I don’t have one to test on).

Feeding FA and FR24 is (somewhat) supported, as many want to feed them as well as ADSBx.