您如何查看.CAB文件的内容?


13

我将尝试从Simply Accounting迁移出去,并且需要以某种方式提取Windows CAB文件的内容,这就是Simply用于备份的内容。

在Ubuntu上打开CAB文件的最佳方法是什么?

Answers:


15

安装软件包cabextract: sudo apt-get install cabextract

从命令行,您现在可以执行 cabextract file.cab

一旦安装了cabextract,您还可以配置Archive Manager GUI来打开cab文件。

双击cab文件。您将被告知无法显示,但实际上并非如此。按Select Application

替代文字

Archive Manager从“打开方式”对话框中选择,然后选中“记住此应用程序”框。

替代文字

现在,您可以处理cab文件,例如zip或rar文件。您可以使用“在此处提取”右键单击选项或双击以在Archive Manager中打开。


1
通过命令行使用cabextract有效,但是归档管理器对我不起作用。我必须怎么做才能告诉它使用cabextract?
大卫·奥尼尔

9

我必须安装并使用“ unshield”来提取一些显然“受保护”的cab文件的内容...

kimberly@kimberly-desktop:~/Downloads/M12PlusV4302World$ cabextract -l *.cab | grep -i \.fw
data1.cab: WARNING; found InstallShield header. This is probably an InstallShield file. Use unshield (from the unshield package) to unpack it.
data1.cab: no valid cabinets found


root@kimberly-desktop:/usr/share/sane/gt68xx# apt-get install unshield
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libexiv2-10
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libunshield0
The following NEW packages will be installed:
  libunshield0 unshield
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.9kB of archives.
After this operation, 156kB of additional disk space will be used.
...


kimberly@kimberly-desktop:~/Downloads/M12PlusV4302World$ unshield -d temp x *.cab
Cabinet: data1.cab
  extracting: temp/_Support_Spanish_String_Tables/StringTable-000a-Spanish.ips
  extracting: temp/Twain-P/TWAIN_32.RDL
  extracting: temp/Twain-P/Ds.chm
  extracting: temp/AM32-E/SCANRes.dll
  extracting: temp/AM32-E/StartRes.dll
  extracting: temp/AM32-E/Language.ini
  extracting: temp/_Support_English_Files/_IsRes.dll
...

1

您需要cabextract,我认为:

cabextract -l file.cab

列出内容。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.