环境: Kali Linux 2024.3 amd64
使用dpkg安装clash-verge报错如下,缺少libwebkit2gtk-4.0-37依赖
Unsatisfied dependencies:
libjavascriptcoregtk-4.0-18 : Depends: libicu74 (>= 74.1-1~) but it is not installable
libwebkit2gtk-4.0-37 : Depends: libicu74 (>= 74.1-1~) but it is not installable
Depends: libjpeg8 (>= 8c) but it is not installable
参考官网Ubuntu 24.04 版本无法正常安装
使用wget拉取libwebkit2gtk-4.0-37_2.43.3-1_amd64.deb和libjavascriptcoregtk-4.0-18_2.43.3-1_amd64.deb
再使用apt安装
aptinstall ./libwebkit2gtk-4.0-37_2.43.3-1_amd64.deb ./libjavascriptcoregtk-4.0-18_2.43.3-1_amd64.deb
报错如下,缺少libicu74和libjpeg8
参考libjpeg8 is not installable和https://pkg.kali.org/pkg/libjpeg8, kali源的libjpeg8支持似乎已被移除
于是通过https://ubuntu.pkgs.org/搜索并下载相关依赖(libjpeg8依赖libjpeg-turbo8), wget拉取后使用apt安装即可
下载链接如下
http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_2.0.3-0ubuntu1_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg8-empty/libjpeg8_8c-2ubuntu8_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu74_74.2-1ubuntu3_amd64.deb
综上所述,安装顺序如下:
- wget拉取,apt安装libjpeg-turbo8, libjpeg8_8c, libicu74
- wget拉取,apt安装libwebkit2gtk和libjavascriptcoregtk
- dpkg安装clash-verge
版权归原作者 OrientalGlass 所有, 如有侵权,请联系我们删除。