无法安装 unrar 来打开 .rar 文件:连接到 www.rarlab.com (www.rarlab.com)|5.135.104.98|:80... 已连接

无法安装 unrar 来打开 .rar 文件:连接到 www.rarlab.com (www.rarlab.com)|5.135.104.98|:80... 已连接

我想在 Ubuntu 17.04 中使用 unrar 打开 .rar 文件。
所以我尝试了这些命令关联

sudo apt-get install unrar
cd /tmp
wget http://www.rarlab.com/rar/rarlinux-3.9.1.tar.gz

第三条命令的输出:

--2017-11-01 20:02:38--  http://www.rarlab.com/rar/rarlinux-3.9.1.tar.gz
Resolving www.rarlab.com (www.rarlab.com)... 5.135.104.98
Connecting to www.rarlab.com (www.rarlab.com)|5.135.104.98|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2017-11-01 20:02:46--  (try: 2)  http://www.rarlab.com/rar/rarlinux-3.9.1.tar.gz
Connecting to www.rarlab.com (www.rarlab.com)|5.135.104.98|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2017-11-01 20:02:55--  (try: 3)  http://www.rarlab.com/rar/rarlinux-3.9.1.tar.gz
Connecting to www.rarlab.com (www.rarlab.com)|5.135.104.98|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

^C

直到我按下CTRL+ C
我该怎么办?

输出ping -c 3 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=569 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=569 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=570 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=572 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=573 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=573 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=575 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=278 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=278 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=278 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=281 ms (DUP!)
64 bytes from 8.8.8.8: icmp_seq=3 ttl=47 time=198 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, +9 duplicates, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 198.663/443.238/575.646/153.742 ms

答案1

unrar当您运行该命令时,您已经安装好了apt

只需从终端运行它(参见man unrar):

unrar e myrar.rar

如果你想制作 rar文件,安装rar包:

sudo apt install rar

答案2

您可以使用 .deb 安装程序安装 UnRAR(UnRAR Debian amd64) https://www.rarlab.com/rar_add.htm

相关内容