Here's how
to install flatpak. $ just means your using the regular user
terminal,
if you
typed "sudo su" you'd be at the root terminal which is #.
As of this
moment the current version is
https://trac.chirp.danplanet.com/chirp_daily/LATEST/chirp-daily-20220515.flatpak
Rest of the work is from the terminal.
First, install Flatpak:
$ sudo apt install flatpak
The other howtos seem to have missed this next step. You
need to use
flatpak to install the “freedesktop” platform. First update
flatpak
and your paths.
$ flatpak update -v
This will give you a warning about paths, something like:
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/[username]/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS
environment
variable, so applications installed by Flatpak may not
appear on your
desktop until the session is restarted.
Since we now have to log out anyway, now might be a good
time to make
sure you are in the dialout group.
Use the groups command to list your active groups. If the
group
“dialout” does not appear, add yourself to the group
(replace
[username] with your username):
$ sudo usermod -aG dialout [username]
Now restart your session (or computer) and return to the
terminal.
~$ flatpak update -v
Looking for updates…
Nothing to do.
Don’t worry about installation directory warnings if you
haven’t
installed anything yet. Those will be created later.
Important is that
we got rid of the path warning. Moving on….
Now you need to get the Freedesktop repository installed:
$ flatpak remote-add --if-not-exists flathub
https://flathub.org/repo/flathub.flatpakrepo
and then install the Freedesktop Platform:
$ flatpak install flathub org.freedesktop.Platform//19.08
This might take a while its a big (~0.5Gb) download. Grab
some coffee
and make some QSO’s….. Maybe check out my club’s website:
http://w6ek.org
Finally we can install Chirp! (replace .flatpack filename
with your
downloaded version)
$ flatpak install Downloads/chirp-daily-20220515.flatpak
You’re done! You can run chirp from your applications menu
or from the
command like like this:
$ flatpak run com.danplanet.chirp
My distro
has a defective GIMP application so I used flatpak to
install the app from there, the only negative is that I
cannot type "gmp" from a terminal and have gimp run, I have
to use teh menu entry.
Try it -
it's excellent and it's the future of applications in Linux.