尝试在 16.04 上安装 Foxit Reader 2.4.1 - 消息无法执行二进制文件

Bob*_*ser 3 software-installation foxitreader

使用“ https://www.foxitsoftware.com/pdf-reader/ ”上的说明,我下载了该软件并按照说明进行操作。在最后一步,我收到消息:“ cannot execute binary file: Exec format error” 我选择了 64 位下载。我还尝试过其他有关较旧 Foxit Reader 版本的说明,但都出现了同样的问题。

Please follow the steps below to install Foxit Reader for Linux:
  •   Change to the directory containing the downloaded
      file (used /tmp as the example):
      # cd /tmp 
  •   Uncompress the executable
      # gzip -d 'FoxitReader_version_Setup.run.tar.gz'
  •   Untar the .tar file:
      # tar xvf 'FoxitReader_version_Setup.run.tar'
  •   Run the installer:
      # ./'FoxitReader_version_Setup.run'  ***Error on this step***
  •   Follow the steps on the screen to complete the
      installation
Run Code Online (Sandbox Code Playgroud)

添加这里是终端会话的打印输出。

bob@bob-PORTEGE-Z30-B:~$ cd Downloads
bob@bob-PORTEGE-Z30-B:~/Downloads$ ls
FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar.gz
linux-brprinter-installer-2.0.0-1.gz
mfcj885dwcupswrapper-1.0.0-0.i386.deb
mfcj885dwlpr-1.0.0-0.i386.deb
bob@bob-PORTEGE-Z30-B:~/Downloads$ gzip -d 'FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar.gz'
bob@bob-PORTEGE-Z30-B:~/Downloads$ ls
FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar
linux-brprinter-installer-2.0.0-1.gz
mfcj885dwcupswrapper-1.0.0-0.i386.deb
mfcj885dwlpr-1.0.0-0.i386.deb
bob@bob-PORTEGE-Z30-B:~/Downloads$ tar xvf 'FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar'
FoxitReader.enu.setup.2.4.1.0609(r08f07f8).x64.run
bob@bob-PORTEGE-Z30-B:~/Downloads$ ls
FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar
FoxitReader.enu.setup.2.4.1.0609(r08f07f8).x64.run
linux-brprinter-installer-2.0.0-1.gz
mfcj885dwcupswrapper-1.0.0-0.i386.deb
mfcj885dwlpr-1.0.0-0.i386.deb
bob@bob-PORTEGE-Z30-B:~/Downloads$ ./'FoxitReader.enu.setup.2.4.1.0609(r08f07f8).x64.run'
bash: ./FoxitReader.enu.setup.2.4.1.0609(r08f07f8).x64.run: cannot execute binary file: Exec format error
bob@bob-PORTEGE-Z30-B:~/Downloads$
Run Code Online (Sandbox Code Playgroud)

问题已解决 - 试图在 32 位 ubuntu 上安装 64 位软件。注意:硬件 BIOS 说是 64,但 ubuntu 说是 32。

Cha*_*een 5

如果您完全按照问题中所示输入说明,您将失败。 Foxit Reader期望您将“ version ”替换为您下载的文件的版本号。请尝试以下操作:

在终端中,切换到包含要安装的下载文件的目录。请确保目录中只有一个版本的福昕软件...

Entergzip -d Foxit然后按tab, and enter-t和之间没有空格tab。这应该使用 gz 文件的名称完成命令。

Entertar xvf Foxit然后按tab, 和enter- 这应该使用 tar 文件的名称完成命令。

Enter./Foxit然后按tab, 和enter- 这应该用可执行文件的名称完成命令。