atuin icon indicating copy to clipboard operation
atuin copied to clipboard

How to install atuin on Synology NAS

Open brucmao opened this issue 1 year ago • 3 comments

I use the install script bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)

Detected Linux!
Checking distro...
lsb_release could not be found, unable to determine your distribution
If you are using Arch Linux, please get community/lsb-release

os -verison

uname -a

Linux yds918 4.4.59+ #25426 SMP PREEMPT Mon Dec 14 18:48:50 CST 2020 x86_64 GNU/Linux synology_apollolake_918+


cat /etc/VERSION

majorversion="6"
minorversion="2"
productversion="6.2.3"
buildphase="GM"
buildnumber="25426"
smallfixnumber="3"
builddate="2020/12/14"
buildtime="06:14:27"

brucmao avatar Aug 27 '22 03:08 brucmao

Seems like synology uses a package manager we're not on. If you're on x86 platform, you can download the prebuilt release: https://github.com/ellie/atuin/releases/download/v0.10.0/atuin-v0.10.0-x86_64-unknown-linux-gnu.tar.gz

conradludgate avatar Aug 27 '22 05:08 conradludgate

Seems like synology uses a package manager we're not on. If you're on x86 platform, you can download the prebuilt release: https://github.com/ellie/atuin/releases/download/v0.10.0/atuin-v0.10.0-x86_64-unknown-linux-gnu.tar.gz

Thanks for you reply, seems do not work.

/opt/bin# ./atuin
./atuin: /lib/libc.so.6: version `GLIBC_2.25' not found (required by ./atuin)

brucmao avatar Aug 27 '22 07:08 brucmao

Ah, right, libc... I think you'll have to build from source then using cargo. In the readme is a section about installing with cargo

conradludgate avatar Aug 27 '22 07:08 conradludgate

I wonder how easy it would be to make a Synology package python , node etc are done like this. I have also heard of people installing and using ipkg and opkg. I would guess opkg more so.

If you want to run server component on NAS you could use a docker image

andrewcrook avatar Sep 24 '22 10:09 andrewcrook

I wonder how easy it would be to make a Synology package

If we have anyone willing to set that up + maintain it then sure!

I don't own or have access to a Synology and afaik neither does @conradludgate, so for now the only method we can really support is building from source :/

ellie avatar Oct 08 '22 04:10 ellie

Our binary uses a reasonably modern glibc - you should be able to build from source without issues though

On Sat, Aug 27, 2022 at 08:20, brucmao @.***> wrote:

Seems like synology uses a package manager we're not on. If you're on x86 platform, you can download the prebuilt release: https://github.com/ellie/atuin/releases/download/v0.10.0/atuin-v0.10.0-x86_64-unknown-linux-gnu.tar.gz

thanks for you reply, seem do not work.

/opt/bin# ./atuin ./atuin: /lib/libc.so.6: version `GLIBC_2.25' not found (required by ./atuin)

— Reply to this email directly, view it on GitHub https://github.com/ellie/atuin/issues/512#issuecomment-1229141094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWYN3WGR2VFYNDMUGYN2V3V3G6U5ANCNFSM57YUC4DA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ellie avatar Oct 11 '22 09:10 ellie