diff --git a/bin/wkhtmltopdf b/bin/wkhtmltopdf
index d2028d1..55e90c1 100755
--- a/bin/wkhtmltopdf
+++ b/bin/wkhtmltopdf
@@ -47,7 +47,7 @@ suffix = case RbConfig::CONFIG['host_os']
os.start_with?('tuxedo_22.') ||
os.start_with?('linuxmint_22')
- os = 'centos_6' if (os.start_with?('amzn_') && os != 'amzn_2') ||
+ os = 'centos_6' if (os.start_with?('amzn_') && os != 'amzn_2' && os != 'amzn_2023') ||
(os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6'))
os = 'centos_7' if (os.start_with?('amzn_2') && !os.start_with?('amzn_20')) ||
@@ -56,7 +56,8 @@ suffix = case RbConfig::CONFIG['host_os']
os = 'centos_8' if os.start_with?('rocky_8') ||
os.start_with?('rhel_8.') ||
os.start_with?('ol_8.') ||
- os.start_with?('alinux_')
+ os.start_with?('alinux_') ||
+ os == 'amzn_2023'
os_based_on_debian_9 = os.start_with?('debian_9') ||
os.start_with?('deepin')