[chirp_users] Cannot install on Ubuntu 21.10
D.J.J. Ring, Jr.
Fri May 27 02:51:22 PDT 2022
Anne Ranch,
Uninstall "using Ubuntu software", that was your error, just use flatpak.
irst thing you need to do is download the latest .flatpak file from here:
https://trac.chirp.danplanet.com/chirp_daily/LATEST/
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-20201014.flatpak
You’re done! You can run chirp from your applications menu or from the
command like like this:
$ flatpak run com.danplanet.chirp
Remember, this is only a temporary solution until the Python 3
conversion of Chirp has been completely rolled out. However, in the
interim if you want to easily update the flatpak, or automate it with
a cron job, here is a script that works for me:
#!/bin/bash
#
#
# This script updats chirp flatpak to latest daily build
# Add this to root's crontab for automatic updates
# If run as standard user, you will get a popop asking for admin password
#
#
#Make download folder if doesn't exist
mkdir -p ~/Downloads/ChirpFP
#Move to Download folder
cd ~/Downloads/ChirpFP
#Remove previously downloaded flatpaks
rm *.flatpak
#Pull link from download page and download latest flatpak
wget `lynx -dump https://trac.chirp.danplanet.com/chirp_daily/LATEST/
| awk '/http/{print $2}' | grep flatpak`
#Install the file
flatpak install -y --noninteractive *.flatpak
Best regards,
DR
N1EA
On Thu, May 26, 2022 at 3:15 PM Anne Ranch <anneranch2442 at gmail.com> wrote:
>
> Running Ubuntu 21.10 , have "flatpack" installed - after download tried "using Ubuntu software " and got something to the effect of "invalid option".
> Do not want to "upgrade to "22.xx"
> _______________________________________________
> chirp_users mailing list
> chirp_users at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_users
> This message was sent to D.J.J. Ring, Jr. at n1ea at arrl.net
> To unsubscribe, send an email to chirp_users-unsubscribe at intrepid.danplanet.com
> To report this email as off-topic, please email chirp_users-owner at intrepid.danplanet.com
More information about the chirp_users
mailing list