如何在ubuntu中提取SFX文件?

时间:2014-07-27 03:29:57

标签: ubuntu virtualbox

我正在尝试为Windows8.1 / IE11提取Microsoft Virtual Box图像

主机系统是Ubuntu ......

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty

我下载了4个文件,part1是SFX文件,2,3和4部分是RAR文件。

在所有文件上运行chmod 777后,我尝试使用./filename.sfx解压缩归档,但失败并显示错误:

daniel@daniel-son:~/Desktop/vBoxImages/Win$ ./IE11.Win8.1.For.LinuxVirtualBox.part1.sfx 
./IE11.Win8.1.For.LinuxVirtualBox.part1.sfx: line 2: syntax error near unexpected token `)'

我试过使用unzipsfx但是我得到了......

daniel@daniel-son:~/Desktop/vBoxImages/Win$ unzipsfx IE11.Win8.1.For.LinuxVirtualBox.part1.sfx 
UnZipSFX 6.00 of 20 April 2009, by Info-ZIP (http://www.info-zip.org).
unzipsfx:  cannot find myself! [unzipsfx]
daniel@daniel-son:~/Desktop/vBoxImages/Win$

unrar命令说SFX不是rar存档

如果我尝试和unrar第2部分说它......

  

警告:您需要从先前的卷开始提取以解压缩   IE11 - Win8.1.ova

4个文件是我正在使用的目录中的唯一文件

如何在Ubuntu上提取这些内容?请帮忙

1 个答案:

答案 0 :(得分:1)

after running chmod 777 on all files, I tried to extract the archive using ./filename.sfx but this failed with the error ...

daniel@daniel-son:~/Desktop/vBoxImages/Win$ ./IE11.Win8.1.For.LinuxVirtualBox.part1.sfx
     

./ IE11.Win8.1.For.LinuxVirtualBox.part1.sfx:第2行:语法错误附近   意外的令牌`)'

在文件开头缺少其他指令,shell将尝试执行其内容,就好像它是一个shell命令列表一样。

我真诚地怀疑,如果存档是在Windows(或其他操作系统)上创建的,您将能够在Linux下“自行提取”它。

我怀疑所有都是同一个RAR文件的一部分,其中.SFX文件是第一部分,如果执行则会获取剩余的部分。进行细分以保持大小可接受(当电子邮件服务器有严格限制时,这是必须的。)

  

part1是SFX文件,2,3和4部分是RAR文件。

它们是同一个大型RAR文件的所有部分。您必须从第一个(.sfx)文件开始,其余文件应自动继续(它们必须位于同一目录中)。

unrar命令是立即返回,还是需要几秒钟?在后一种情况下,文件可以受密码保护。

最后,文件可能是使用较新版本的RAR创建的,而不是你的unrar能够解压缩。

推论:永远不要使用RAR来压缩Linux上的档案。顺便说一句,.OVA文件已经压缩。

相关问题