hstr icon indicating copy to clipboard operation
hstr copied to clipboard

Is there any way to install on ARM - Raspi ?

Open REPTILEHAUS opened this issue 4 years ago • 1 comments

Looking to install on Rasbian i.e raspberry pi

REPTILEHAUS avatar Jun 24 '20 18:06 REPTILEHAUS

A bit late, but still may be useful for someone.

Raspberry Pi OS is pretty much like Debian https://github.com/dvorka/hstr/blob/master/INSTALLATION.md#build-on-debian and it mostly works it that way, but there may be no separate "autotools" package, and installation via a package manager is more preferable than make install IMO, so on Raspbian 10 it may be something like this:

Install dependencies

sudo apt install checkinstall autoconf automake gcc make libncursesw5-dev libreadline-dev

Clone the repo and build

git clone https://github.com/dvorka/hstr.git
cd ./hstr/build/tarball && ./tarball-automake.sh && cd ../..
./configure && make

Make deb package, accept defaults in checkinstall wizard. In case of "The package version "2.3.0 blablabla" is not a debian policy compliant one. Please specify an alternate one" enter "2.3.0"

checkinstall --install=no

Install deb package

sudo dpkg -i hstr_2.3.0-1_armhf.deb

(if you have troubles with checkinstall and/or decide to go without package manager, then make && make install is fine too)

RealJTG avatar Oct 27 '21 12:10 RealJTG