Skip to content
Colin Cogle edited this page Oct 10, 2024 · 5 revisions

aprs-weather-submit on Linux

The way it should be.

System Requirements

Linux.

How to Get It

Use my PPA (for Ubuntu and other Debian-based Linuxes)

The simplest way to install my app and have it update automatically is to add my PPA. Do this:

# The add-apt-repository command is not included in Raspbian by default.
# This will install it on your computer.
sudo apt install software-properties-common

# Now we can add my PPA!
sudo add-apt-repository ppa:signofzeta/aprs-weather-submit
sudo apt update
sudo apt install aprs-weather-submit

Use my PPA by adding it manually

If you don't want to use the add-apt-repository command, follow these instructions to do it the long way.

# Download my PPA's GPG key.
curl https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xee9de8a8ca2f3f87049a6424d6d3a14d49360d49 | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/colincogle-launchpad.gpg

# Create an APT source file.
# NOTE:  If you are using a different version of Ubuntu, replace "noble" with your version name.
# If you're using another Debian-based OS, [find and use the equivalent name](https://askubuntu.com/questions/445487/what-debian-version-are-the-different-ubuntu-versions-based-on#445496).
echo "deb [signed-by=/etc/apt/trusted.gpg.d/colincogle-launchpad.gpg] https://ppa.launchpadcontent.net/signofzeta/aprs-weather-submit/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/aprs-weather-submit.list
echo "deb-src [signed-by=/etc/apt/trusted.gpg.d/colincogle-launchpad.gpg] https://ppa.launchpadcontent.net/signofzeta/aprs-weather-submit/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/aprs-weather-submit.list
sudo apt update && sudo apt install -y aprs-weather-submit

Installing a .deb file (Debian-based Linuxes)

Compiling from Source Code

If you're not using a Debian-based version of Linux, more power to you! Fortunately, I use the same tools that most Linux packages use, so this shouldn't be too bad.

Prerequisites

You will need a C compiler (such as GCC), as well as the Automake tools. If these aren't installed by default, look at your package manager and figure out how to install them. On Debian-based systems, this can be installed with:

sudo apt install build-essential automake

Building

Extract the source code, change into that folder, then run these four commands.

./autogen.sh
./configure
make
sudo make install

The binary will be installed in /usr/bin with the man page available as well.

Roadmap

I'm an Automake noob

Can I improve the packaging and compilation experience? Probably. If you can recommend changes to my autogen.sh, configure script, or Makefile, let me know! Please!

Clone this wiki locally