Anyone successfully installed Typesense on Amazon ...
# community-help
y
Anyone successfully installed Typesense on Amazon Linux 2? Was hoping it’d be the same as RPM package on CentOS/RHEL instructions but seeing this:
Copy code
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Examining ./typesense-server-28.0-1.x86_64.rpm: typesense-server-28.0-1.x86_64
Marking ./typesense-server-28.0-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package typesense-server.x86_64 0:28.0-1 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: typesense-server-28.0-1.x86_64
230 packages excluded due to repository priority protections
--> Processing Dependency: libc.so.6(GLIBC_2.30)(64bit) for package: typesense-server-28.0-1.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.27)(64bit) for package: typesense-server-28.0-1.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.29)(64bit) for package: typesense-server-28.0-1.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.30)(64bit) for package: typesense-server-28.0-1.x86_64
--> Finished Dependency Resolution
Error: Package: typesense-server-28.0-1.x86_64 (/typesense-server-28.0-1.x86_64)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: typesense-server-28.0-1.x86_64 (/typesense-server-28.0-1.x86_64)
           Requires: libm.so.6(GLIBC_2.27)(64bit)
Error: Package: typesense-server-28.0-1.x86_64 (/typesense-server-28.0-1.x86_64)
           Requires: libm.so.6(GLIBC_2.29)(64bit)
Error: Package: typesense-server-28.0-1.x86_64 (/typesense-server-28.0-1.x86_64)
           Requires: libc.so.6(GLIBC_2.30)(64bit)
Error: Package: typesense-server-28.0-1.x86_64 (/typesense-server-28.0-1.x86_64)
           Requires: libpthread.so.0(GLIBC_2.30)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
j
CC: @Kishore Nallan
πŸ™ 1
y
I’m on latest amz2 and updated yum
Copy code
at /etc/*release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="<https://amazonlinux.com/>"
SUPPORT_END="2026-06-30"
Amazon Linux release 2 (Karoo)
k
Copy code
ldd --version
Please paste the response of the above command.
y
here you go! version 2.26
Copy code
ldd --version
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
k
I suspect that Amazon Linux 2 is based on an older version of RHEL/CentOS and ships with glibc 2.26, which doesn't satisfy newer dependencies. You've to use a newer distribution like Amazon Linux 2023
y
I’ll give it a shot!
Works like a charm on the
al2023-ami-2023.6.20250317.2-kernel-6.1-x86_64
(AMI
ami-071226ecf16aa7d96
) πŸŽ‰
Copy code
curl -O <https://dl.typesense.org/releases/28.0/typesense-server-28.0-1.x86_64.rpm>
yum -y install ./typesense-server-28.0-1.x86_64.rpm

systemctl start typesense-server
systemctl enable typesense-server

systemctl status typesense-server.service
● typesense-server.service - Typesense Server
     Loaded: loaded (/etc/systemd/system/typesense-server.service; enabled; preset: disabled)
     Active: active (running) since Thu 2025-03-27 14:20:26 UTC; 3h 40min ago
       Docs: <https://typesense.org>
   Main PID: 33491 (typesense-serve)
      Tasks: 567 (limit: 152077)
     Memory: 70.9M
        CPU: 24.681s
     CGroup: /system.slice/typesense-server.service
             └─33491 /usr/bin/typesense-server --config=/etc/typesense/typesense-server.ini
πŸ™Œ 1