linuxmemes

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

v81, in Linux users when

Great, you can accomplish the bare essentials with Linux.

Now how do I install a program called chirp for programming 2 way radios?

Searched for a week and gave up as each set of instructions lead down a broken, redundant dependency rabbit hole with no solution in sight, Flatpack this, snap that, no explanation or even a searchable clue that could begin me a solution.

In windows I just unzip the nightly build to a directory of my choice, run the executable and it works.

Sure… Not everyone knows or needs to know about these edge case applications, but point stands, it works in windows, and everyone encounters an edge case sooner or later.

I’m keen to ditch the Microsoft hole, and I have no issue with making an effort to learn, but I can’t afford to or my life in hold for hours or days at a time in order to accomplish things that already work in seconds.

I think my simple issue here is… I’m not incompetent. I can comfortably navigate a fine system in a shell, can mount and unmount, can tar -xvzf a tarball, can do most things up to writing a shell script from scratch (could cobble something

TacoDog,
TacoDog,

yay -S chirp-next worked with zero rabbit holes, and chirp-next worked immediately.

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

I just installed chirp on my Linux Mint machine from the GUI package manager. It’s packaged as a .deb file. Don’t know what your issue is.

v81,

Neither do I. If the errors made sense or the tutorials were more current I suspect I’d have no issue.

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

Investigating further I think I do see your issue. You started out installing software the way you do on Windows: Going out to the vendor’s website and downloading a .exe. I went straight to my distro’s package manager and installed a .deb, which worked fine…even if I got a 4-year old version of the software.

I will notice that on chrip.danplanet.com, it does briefly mention the legacy version can be installed “On Linux, via flatpak” which doesn’t seem to be true at least anymore; neither Mint’s software manager nor flathub.org return any relevant hits for “chirp.”

Let’s see if I can get it installed on my Mint machine by simply copy-pasting the commands listed on this page.

One criticism I can level right now about this tutorial page: Step 1. Install Distro Packages branches, you’re supposed to use the APT command if using Debian, Ubuntu, Mint, Raspbian etc . or the DNF command if using Fedora and compatible (which would include Red Hat, Nobara etc. Instructions for Arch-based distros are not included, I suppose if you Arch btw you don’t need them. It’s probably in the AUR. Point is this is a branching path, but doesn’t have a 1.1 or 1.2. Next up, under Install CHIRP (and Python dependencies) this also branches, but has a 2.1 and 2.2 notation. My distro, Mint 21.1, is based on Ubuntu 22.04, so I cound in the Ubuntu 22.10 and earlier section, so I’ll run that command.

It returns an error, and on further examination, it’s pretty clear as to why. PIP is Python’s package manager, which can and usually does download packages from a central repository, but in this case the ./ in the command means its looking for a file in this directory. Just above this, in a place that doesn’t look like a step in this process, it’s telling us to download the latest .tar.gz from another page.

So I go to this page and download the chirp-20231223-py3-none-any.whl file, noticing that this is a different file name than the one listed in the tutorial command. Since I used Firefox to download this file, I know that it landed in my ~/Downloads folder. I cd ~/Downloads, then run the pip command, substituting the name of the file I just downloaded.

The next instruction is to run ~/.local/bin/chirp, so it apparently installed it in the .local/bin hidden directory. Running that command launched the program successfully. It prompted me if I wanted to create a desktop icon, which isn’t exactly what this did. What it did was create a .desktop file, which added CHIRP to my application menu…which is what I wanted it to do anyway. But I could have done this manually because it told me what the command to launch the program was.

The documentation isn’t 100% straightforward. The formatting of two different either/or branches are not formatted similarly, and the “download the file” part doesn’t look like a step, it’s mentioned in insufficient detail as part of the description of the next step. There isn’t enough information in this tutorial alone to figure this out, you have to have looked around the site a bit and have some experience doing this to figure it out.

This is also a personal note, but I would prefer that end-user applications not be installed with PIP. If you’re not going to publish to the native package formats like .deb or .rpm, I would prefer you published a Flatpak on Flathub, or if you’re being really lazy an appimage.

I think I’m going to contact the webmaster here with these critiques, to hopefully make it more consistent and clearer.

v81,

My first attempt was apt-get install. I’m fairly comfortable with Linux as a server (basic lamp setup) though I make no claims if being an expert.

It’s clearly not in the default repos for Raspian (at least not when I tried), and that could be half my issue, my hardware while popular is not x86 or x86-64.

Chobbes,

Huh. I’ve used chirp under Linux before and I just installed it with my package manager. Maybe it wasn’t available on your distro? Then it can get a lot more tricky. The other problem with these things can be permissions… once you have chirp installed maybe you need to add your user to the dial out group in order to be able to use the serial port to flash the radios.

GravelPieceOfSword, (edited )

No software is guaranteed to run on all platforms: the developers choose to make it available or not.

I did some quick googling, and it seems fairly easy to install it:

Use Ubuntu (if you’re not familiar with, and don’t want to be familiar with terminal basics), and install chirp from the Ubuntu App store. Snap is just a name of their package format, and their app store links to snap craft.

If you’re not using Ubuntu, that’s your choice, you’ll either have to install snap, then do the same, but it’s more work. Or play with the terminal just a bit to follow their instructions.

Details

If you’re on Ubuntu or have snap installed - it’s a one click operation to install chirp: snapcraft.io/chirp-snap

If you’re on another distribution by choice: chirp.danplanet.com/projects/…/ChirpOnLinux

this page has a 3 step install for mainstream Linux distributions:

  1. Install dependencies (they’ve listed the commands)
  2. Install chirp and Python dependencies (commands provided)
  3. Run chirp

https://lemmy.ca/pictrs/image/a6ae7df8-dba2-4611-932c-4cee2f24824c.jpeghttps://lemmy.ca/pictrs/image/121275d4-348a-4878-a60e-7ccfe27e63cb.jpeg

v81,

I’m no bash wizard, but I grew up with computers through the 80’s and am comfortable with using a cli, doesn’t bother me at all.

My OP got messed up with the Lemmy app I’m using and thus a large chunk went missing.

I’m actually using Raspian on a raspberry pi, and I don’t think there is a binary for armhf available through the more typical means.

For everything else I just apt-get install xxx.

I’ll revisit later.

I appreciate the effort in your post.

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

Given how Python-centric the manual install process is, I don’t think CHIRP is distributed as a compiled binary, I think it’s a Python application.

nickwitha_k,

Supposing that you’re asking in good faith, the answer appears to be to make a Lemmy post. There is a fair overlap with the HAM and *nix communities, especially the PubNixes. Chirp is fairly well-known so, package manager is likely the way to go.

v81,

Don’t know why I could not see this repply until today. It’s been ascertained that chirp is not in the repo for Raspian Linux, so indeed that option never worked.

nickwitha_k,

My home instance has been having federation issues, unfortunately.

cashews_best_nut, in Linux users when

paru -S floorp

not_again, in Can't relate to be honest, I still use MBR boot

I feel this.

Although my last bootloader is adventure was pretty easy…installed a completely separate drive for Linux and wanted to boot off of that drive (sdb). A bug in the Linux mint installer put the bootloader on my the windows drive instead (sda).

Was fairly straightforward to switch over though (change in fstab then installing grub). I use the bios boot selector (F11) for me to select either the win loader or my Linux mint efi.

Am switching over to Linux as primary driver. So tired of nags, ads, “switch to Edge”, long updates, etc. love being able to ssh+x onto that (relatively beefy) box from my laptop and run ides and such.

Unyieldingly, in Can't relate to be honest, I still use MBR boot
Steamymoomilk, (edited ) in Linux users when

no, no, no its too easy, Wheres the terminals? and the long compile time.

(this post was written partially from and intel compute stick running gentoo, which started compiling 7hours ago and still is) https://sh.itjust.works/pictrs/image/f1e74bd4-ede0-401a-815c-33c20441feb6.png

mmmm tasty 2GB of ram

uis,
@uis@lemmy.world avatar

Set EMERGE_DEFAULT_OPTS=“-a” in make.conf and never bother writing --ask again

Steamymoomilk,

I will half to do that thanks for the tip!!

uis,
@uis@lemmy.world avatar

You can shorten this list of flags to -DuN. For comedic effect you can run emerge -DuN -DuN -DuuuN @world

mrchampion,

Dear god, just yesterday I had to wait pretty much an entire day just for ungoogled-chromium to compile, and I have 8 cores with 16GB of ram. I can’t imagine having to do that with just 2GB of ram with 4 cores.

nightwatch_admin,

Noob. Back in my day, I needed 7 (seven) days to compile my custom kernel (1.x without RLL and MFM support) and when I booted it, it often panic’d lol.

prettydarknwild, in Can't relate to be honest, I still use MBR boot
@prettydarknwild@lemmy.world avatar

i prefer EFI, MBR breaks easily and dual booting with it is horrible

pete_the_cat,

Unless you have two EFI partitions on different disks, the same breakage happens with EFI. I’ve had Windows wipe out Grub on multiple occasions.

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

I have litelarly never broken MBR boot while dual booting and I have done it for at least a decade now. Windows updates and everything, not once has MBR boot been broken for me.

prettydarknwild,
@prettydarknwild@lemmy.world avatar

at least i wasnt able to install windows in my old computer again because the windows bootloarder keeped overwriting grub, and grub overwrited the windows bootloader, and os-prober didnt worked at all

0x4E4F,
@0x4E4F@sh.itjust.works avatar

You install Windows first, then Linux. Or install Windows, make an image, repartition, install Linux, whatever, then bring back the Windows image, just not the EFI partition or the MBR.

trk, in Linux users when
@trk@aussie.zone avatar

Firefox is literally already right there tho…

TurboHarbinger, in Linux users when

Bro this is like pineapple on pizza, you know some people like it, but you also know that is objectively fucking WRONG. WTF

These days I wouldn’t dare to even chrome my windows.

renzev,

Chrome is literally the same shit as Chromium but with (more) spyware. Like, there are no other added features. And some people still choose to download Chrome. WHY!?!?!?

Urist,
@Urist@lemmy.ml avatar

Some consider the spyware to be a feature ^TM^

Chriswild,

Pineapple is delicious on pizza thank you.

Arthur_Leywin,

You’re welcome

Classy, in Can't relate to be honest, I still use MBR boot

I’ve been struggling with the boot loader for four days now and now my laptop boot loops and I can’t even access my primary OS (still windows) and can only access Ubuntu via flash drive. So yeah this meme is too fucking on.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

Chroot into the main Ubuntu partition from the live USB and update GRUB.

HansSlonzok, in Linux users when

Chrome? Never! Only firefox. Eventually chromium.

0x2d, (edited ) in Linux users when

browsers i have:

firefox (main)

librewolf (😏)

vivaldi (no longer have installed except on my phone)

chromium (for webusb)

cashews_best_nut,

Get yourself a copy of Floorp. It’ like Librewolf but better.

MapleEngineer, in Can't relate to be honest, I still use MBR boot

Nuke the boot loader and burn your compiled code directly onto the bare metal the way the designers intended.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

OK, how do we do that?

swab148,
@swab148@startrek.website avatar

Gotta be real precise with a lighter

rickyrigatoni, in Can't relate to be honest, I still use MBR boot

I had used Arch for years before and never once messed up my bootloader. What are yinz doing over there?

Matthew,

PA dripping off this comment

rickyrigatoni,

Nyehehe :3

pete_the_cat,

My problems are usually during the installation, not necessarily related to Arch, but more so that EFI requires its own partition. I’ll partition my disk, forget that I need a FAT32 partition and then have to destroy a partition so I can add in the EFS . The other problem I’ve had is that the bootloader entry sometimes doesn’t get written after installation, so you reboot and then nothing, so you have to boot back into the ISO, remount everything, reinstall the bootloader (in my case, Grub), and reboot again.

0x4E4F,
@0x4E4F@sh.itjust.works avatar

You probably had it installed in MBR mode. UEFI boot is why there are so many problems of this kind nowadays. Switch to MBR, the problems go away.

backhdlp, in Title
@backhdlp@lemmy.blahaj.zone avatar

It’s called unixporn for a reason

XyliaSky, in Linux users when

I’ve got a Steam Deck, and just installed Bazzite onto it, and I’m currently wishing that installing everything was as simple as this. Back when I used Linux daily there wasn’t this whole idea of “rootless” and immutable and sandboxed environments, and just figuring out how to get yad installed for steamtinkerlaunch to work had me faffing about with Nix and Fleek and Distrobox, and they’re all neat if I had the time to learn them but long story short I wish everything was package managers with a simple GUI.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #