我试图在我的 ubuntu 20.04.1 LTS 上安装 torrent。首先,我从 torrent 官方网站下载了 tar 文件关联
我选择了这个µTorrent Server for Ubuntu 13.04
,然后跟着视频关联
我输入了以下命令:
cd Downloads
sudo tar -xvzf utserver.tar.gz -C /opt/
sudo chmod -R 755 /opt/utorrent-server-alpha-v3_3/
sudo ln -s /opt/utorrent-server-alpha-v3_3/utorrent /usr/bin/utorrent
当我执行时utorrent -settingspath /opt/utorrent-server-alpha-v3_3/
出现错误
utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
然后我尝试sudo apt-get install libssl1.0.0 libssl-dev
然后我得到了
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
然后我搜索了一下,发现 libssl1.0.1 不再适用于 ubuntu 18.0 及更高版本。所以我尝试了sudo apt install libssl1.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl1.1 is already the newest version (1.1.1f-1ubuntu2).
libssl1.1 set to manually installed.
The following packages were automatically installed and are no longer required:
libfprint-2-tod1 libllvm9 libllvm9:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
但后来我又遇到了同样的错误然后我尝试了这个解决方案关联 然后我执行
cd /lib/x86_64-linux-gnu/
sudo ln -s libssl.so.1.1 libssl.so.1.0.0
sudo ln -s libcrypto.so.1.1 libcrypto.so.1.0.0
当我执行时utserver -settingspath /opt/utorrent-server-alpha-v3_3/
我得到了
utserver: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by utserver)
utserver: /lib/x86_64-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by utserver)
我是 ubuntu 新手,如果我做错了什么,请提出建议。