¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

This might be a dumb question.... (Build a Pi on Laptop?)


 

Is it possible to run the Build-A-Pi script on a regular linux machine?? I have a pi running the build a pi (getting ready to update to version 3) but I wanted to install a bunch of these same utilities and programs on my linux laptop. Just hoping to save myself 500 commands :)

Thanks in advance
Jim
KI7URL


 

Now that would be a big learning experience! I call it the P&Ming. (plagurize & modify). ?That's my way of learning.
Going to be interesting to see the results.
W4GHV?


 

On Wed, Jun 24, 2020 at 07:42 AM, <stithjim@...> wrote:
Is it possible to run the Build-A-Pi script on a regular linux machine?? I have a pi running the build a pi (getting ready to update to version 3) but I wanted to install a bunch of these same utilities and programs on my linux laptop. Just hoping to save myself 500 commands :)
Probably not going to work. The pi uses an ARM processor and your laptop probably uses an x86 processor. Sorry.
?
--
73, de KM4ACK
|
|


 

Jason

I loaded your build a Pi on local ham laptop at our Saturday coffee break. I found that deirwolf.conf was missing in the home directory. Jim (va7shg) helped with getting ve7sjt running Pat Winlink, SSTV, and APRS on his laptop. When I did this I was?just starting to?play and learn about Build A Pi.?

?Our Saturday coffee break with our quarterly SSTV and now APRS messaging is getting the new ham and old hams to play with the PI and Linux. We had to modify our coffee break to meet in a park, outcomes the power pack, HT and PI's, and with our local Linux gurus point us to getting Build a PI question worked out.? This Conv19 thing really put a damper on our meeting at first.?

I trust all of the hams are well and working around the restriction and the YouTube videos do help.

Thank You for what you are doing for us old guy with bad eyes and arthritic hands

73

Don va7dgp/va7qu?

Don Poaps
New Westminster, BC
VA7DGP DATA
VA7QU ? VOICE


Winlink: va7qu@...
Subject://wl2k ? ? ? ? ??



? ? ? ? ? ? ? ? ? ??
??




?


On Wed, Jun 24, 2020 at 7:01 AM km4ack <jason.oleham@...> wrote:
On Wed, Jun 24, 2020 at 07:42 AM, <stithjim@...> wrote:
Is it possible to run the Build-A-Pi script on a regular linux machine?? I have a pi running the build a pi (getting ready to update to version 3) but I wanted to install a bunch of these same utilities and programs on my linux laptop. Just hoping to save myself 500 commands :)
Probably not going to work. The pi uses an ARM processor and your laptop probably uses an x86 processor. Sorry.
?
--
73, de KM4ACK
|
|


 

Thinking about it, you might have better luck than first thought. If you use the Debian distribution and all of the package installs (any apt or apt-get commands) use ¡°generic¡± package names that don¡¯t contain ¡°armhf¡± then you will be very close , if not fully successful.

I don¡¯t use Debian to be able to test but would be interested in the results of any attempts!

Jay
73 de N0SR


 

It should come close to working on most debian/ubuntu systems. I haven't gone line-by-line on the script yet but it doesn't look like much would need to be changed for a full x86 system. The only issues I can see with a quick look are the RTC, hotspot, and no pi user that might give you problems.

Make sure you fork it on github so we(I) can all use(steal) it when you get it working.?


 

Jay and Tim are right. Somethings will work. I just don't want anyone to think it will work out of the box. The FLDIGI suite, hamlib, and direwolf should build fine. JS8, WSJTX, and Pat all grab the armhf deb files so those will be a no go.

You will need to mod the build-a-pi script at line 82 as it verifies the user is "pi". Comment out those lines to bypass the check.

In addition, several scripts (Pat Menu for one) use /run/user/1000 directory to write temp data. Since this directory is in ram, it saves writes to the SD card. This directory may not be available on other systems but could be created in ram to make things work.
--
73, de KM4ACK
|
|


 

Jason, I would love to see the elimination of having to use the ¡®pi¡¯ user to install BAP. First thing I did was comment out the requirement to use pi and there are some quirks, I¡¯m sure are related to /run/user/1000. If I can get to it (I¡¯m well past round ones right now), I¡¯ll put in a feature request.

I¡¯ve been very tied up with remodeling my basement and now moving things in so I¡¯ve been rather off-grid, so to speak. Some light at the end of THAT tunnel and it finally isn¡¯t a train!

Jay
73 de N0SR


 

I now am able to repurpose a laptop with broken screen hinges via hdmi into my tv and have tried both Debian and MintOS (a Debian/Ubuntu fork) clean installs. Mint uses the Ubuntu repos directly BTW. ?


I wanted to see how the individual packages installed manually before attempting the BAP script. I am sad to report that JS8Call and WSJT-X fail to install due to older dependencies that I was ultimately unable to resolve! I¡¯m rather shocked!

I still have several irons in the fire and this week is shaping up to be rough so I won¡¯t be able to get back to it for a bit, but I will update as I play with the other components. But without FT8/FT4 capability this is a nothing-burger for me.

Jay
73 de N0SR


 

Pat is a golang program. You will need to build a go development platform for your target architecture and recompile. That should be all.

IMHO, golang is the one true successor to C :)

--KG5WHQ