walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
676 stars 19 forks source link

[Request] Add binaries for arm-based architectures #122

Closed excited-bore closed 1 year ago

excited-bore commented 1 year ago

Would love to get this to run on a pi

walles commented 1 year ago

Some options

Check for packages

Which Linux distro are you running? On Arch and Gentoo moar is already packaged.

Homebrew

Can be useful for other things as well!

bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install moar

I provide you with binaries

Then I need a Go arch triplet from your Pi.

uname -a output from that machine might do the trick.

excited-bore commented 1 year ago

EDIT: output neofetch

 `.::///+:/-.        --///+//-:``    user@pie 
 `+oooooooooooo:   `+oooooooooooo:    ------------ 
  /oooo++//ooooo:  ooooo+//+ooooo.    OS: Raspbian GNU/Linux 11 (bullseye) armv 
  `+ooooooo:-:oo-  +o+::/ooooooo:     Host: Raspberry Pi 4 Model B Rev 1.4 
   `:oooooooo+``    `.oooooooo+-      Kernel: 5.15.84-v7l+ 
     `:++ooo/.        :+ooo+/.`       Uptime: 4 hours, 33 mins 
        ...`  `.----.` ``..           Packages: 1835 (dpkg), 9 (snap) 
     .::::-``:::::::::.`-:::-`        Shell: bash 5.1.4 
    -:::-`   .:::::::-`  `-:::-       Terminal: /dev/pts/1 
   `::.  `.--.`  `` `.---.``.::`      CPU: BCM2711 (4) @ 1.800GHz 
       .::::::::`  -::::::::` `       Memory: 253MiB / 3838MiB 
 .::` .:::::::::- `::::::::::``::.
-:::` ::::::::::.  ::::::::::.`:::-                           
::::  -::::::::.   `-::::::::  ::::                           
-::-   .-:::-.``....``.-::-.   -::-
 .. ``       .::::::::.     `..`..
   -:::-`   -::::::::::`  .:::::`
   :::::::` -::::::::::` :::::::.
   .:::::::  -::::::::. ::::::::
    `-:::::`   ..--.`   ::::::.
      `...`  `...--..`  `...`
            .::::::::::
             `.-::::-`

uname -a Linux pie 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux

Homebrew sadly doesn't work on a raspberry as brew only supports intel chips Output install brew: bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ==> Checking for `sudo` access (which may request your password)... [sudo] password for user: Sorry, try again. [sudo] password for user: Homebrew on Linux is only supported on Intel processors!

Don't really know what you mean with Go triplets so I hope this suffices

walles commented 1 year ago

To Go that seems to be linux/arm.

No triplets, that was for some other toolchain...

walles commented 1 year ago

Tagged with Debian since if moar had been Debian packaged then you'd likely have had it already: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944035

walles commented 1 year ago

Linux ARM binary: https://github.com/walles/moar/releases/tag/v1.12.0

walles commented 1 year ago

Ref: #137