如何解压下载的 tar.bz2 存档?

ram*_*ram 6 command-line software-installation

我从http://www.yoono.com/下载了 YOONO-Desktop ,并尝试按照以下步骤安装它:

[root@localhost mpatil]# tar xfv yoono-destop-1.8.43.tar
tar: yoono-destop-1.8.43.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[root@localhost mpatil]# tar xfv yoono-destop-1.8.43
tar: yoono-destop-1.8.43: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Run Code Online (Sandbox Code Playgroud)

此文件位于桌面/内存/下载中。但它显示了“没有这样的文件或目录”之类的错误。为什么会显示这个错误?

Chr*_*own 12

从您的描述中可以看出您的文件是用 bzip2 包裹的 tar。以下应该工作:

# You can omit the `j` on newer versions of tar
tar jxf yoono-destop-1.8.43.tar.bz2
Run Code Online (Sandbox Code Playgroud)

看起来您也位于错误的目录中,请转到正确的目录,或将其完整路径传递给 tar。