热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

linuxfirefox显示PDF,让Linux中的Firefox直接打开PDF文档

Installationsuccessful.usrlibFirefox-3.5.5pluginsnppdf.soTryingtoinstallpluginforbrowser-m

Installation successful. /usr/lib/Firefox-3.5.5/plugins/nppdf.so

Trying to install plugin for browser - mozilla

Installation failed

Finished with automatic install.

Do you want to perform manual installation ? [y/n]

此时再输入一个y,回车,然后出现如下语句:

Acroread path specified - /usr/local/Adobe/Acrobat7.0

1. Perform global installation

2. Perform user-specific installation (Mozilla/Firefox/Netscape)

3. Quit

Enter your choice [1/2/3]

这里是关键的步骤,在这儿输入一个2,然后回车,然后直接再输入一个y,回车,当显示如下语句时,表示安装成功了:

Installation successful.

/home/hao/.mozilla/plugins/nppdf.so has been added.

This will enable the plugin for Mozilla, Firefox and Netscape.

Press to continue ...

直接再按一下回车就ok了。最后再在终端里输入3,回车,出现:If you are facing any problem in getting the installation to work for your browser, please copy the following file to the plugin folder of the browser:

/usr/local/Adobe/Acrobat7.0/Browser/intelLinux/nppdf.so

In case of difficulties please refer to the documentation provided along with the browser for addition of new plugins.

Please login again for changes to MIME types and icons to take effect.的时候就算是大功告成了。

如果你的系统支持rpm包的话,那就更简单了,直接在

下载一个安装就ok了,太容易不过了。

这次用Firefox打开pdf文档就可以直接看了。如下图:

ae0ffb040c9c8df740595d0f18da1f60.png0b1331709591d260c1c78e86d0c51c18.png



推荐阅读
author-avatar
感伤花沙
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有