[日期:2013-06-03]
 
有人说Linux下不是有open office 和libre office么?是啊,可是将windows下的doc文档或者ppt放到Libreoffice上打开的时候我们很明显的可以看到格式完全不统一!所有的排版都已经失效!所以我们在LInux下安装一个wps是很有必要的!!!
下面废话不多说,我们直接进入正题,首先我们进入官网,我们会发现wps for Linux已经发展到Alpha 10版了!点击“进入下载”我们进入下载界面,下载的时候我们会发现我们下载的是Beta1 版,对于Ubuntu/Debian用户下载deb安装包,对于Fedora和Red Hat用户当然得下载rpm安装包了!对于其他Linux 用户我们可能需要下载xz压缩包了!(对于xz压缩文件的打开,参见这篇 http://www.linuxidc.com/Linux/2013-03/81526.htm)
下载好了,先别急着安装,我们先点击WiKi看看还有什么在安装之前需要注意的事项,我们最关注的还是依赖关系这一条,打开我们可以看到,我们需要这三个库:
libtiff.so.4
libpng12.so.0
libjpeg.so.62
我当前使用的是Ubuntu 13.04,使用aptitude search 搜索这些库即可,如果未安装,先安装上!like this :
www.linuxidc.com@long-Ubuntu:~/下载$ aptitude search  libtiff
v  libtiff-dev                    -                                          
p  libtiff-doc                    - TIFF manipulation and conversion documenta
p  libtiff-opengl                  - TIFF manipulation and conversion tools    
p  libtiff-tools                  - TIFF manipulation and conversion tools    
p  libtiff4                        - Tag Image File Format (TIFF) library (old 
p  libtiff4-dev                    - Tag Image File Format (TIFF) library (old 
i  libtiff5                        - Tag Image File Format (TIFF) library      
p  libtiff5-alt-dev                - Tag Image File Format library (TIFF), alte
p  libtiff5-dev                    - Tag Image File Format library (TIFF), deve
p  libtiffxx0c2                    - Tag Image File Format (TIFF) library (old 
p  libtiffxx5                      - Tag Image File Format (TIFF) library -- C+
p  python-libtiff                  - wrapper to the libtiff library to Python u
v  python2.7-libtiff              -                                          
www.linuxidc.com@long-Ubuntu:~/下载$ sudo apt-get install  libtiff4
注 : 如果是64位用户,还需要通过安装32 bit的库来获得支持。
sudo apt-get install ia32-libs
更多64位兼容问题可以参见wiki上的介绍!
之后我们安装上面所下载的wps for linux 的deb安装包即可:
dpkg -i wps-office_8.1.0.3724~b1p2_i386.deb
安装完毕,在bash下打开wps :
 
看着和windows下几乎一模一样的LOGO是否有那么一点兴奋?
我们打开后会发现有字体冲突
 
解决办法:
我们可以找到很多种解决办法,其中Ubuntu和Debian用户下载一个deb安装包即可安装好所有的字体库,下载后安装,安装完成后重启wps 所有冲突即已解决!!!
免费下载地址在 http://linux.linuxidc.com/
用户名与密码都是www.linuxidc.com
具体下载目录在 /2013年资料/6月/3日/Ubuntu 13.04下安装WPS for Linux
解压后开始安装:
sudo dpkg -i symbol-fonts_1.1_all.deb
下面我们看看xz包里面是什么一个东东:
# ls
# xz -d wps-office_8.1.0.3724~b1p2_x86.tar.xz
...
# ls
wps-office_8.1.0.3724~b1p2_x86.tar
# tar -xvf wps-office_8.1.0.3724~b1p2_x86.tar
...
# ls
wps-office_8.1.0.3724~b1p2_x86      wps-office_8.1.0.3724~b1p2_x86.tar
#cd wps-office_8.1.0.3724~b1p2_x86
#ls
et    install_fonts  README.txt  utility  wps
fonts  office6        templates  wpp      wps_error_check.sh
读一下README,我们会发现,这是一个绿色版、无需安装版!
在此目录下我们使用 ./et 即可打开 wps表格,./ wps即可打开wps文字,./wpp 即可打开wps演示!是不是相当简单???
 
对于这样的情况,我们可以写一个脚本放在 /bin目录下,简化以后我们使用wps:
 
比如说写一个 wps.sh脚本:
#!/bin/sh
./wps-office_8.1.0.3724~b1p2_x86/wps
当然在此情况下,我们打开的wps会提示字体错误!(假设没有上面安装wps的步骤直接看xz的情况下)
我们使用  ./install_fonts 安装字体即可!
 
 
 
---------------------------------------------------
Cannot install ia32-libs
Since ia32-libs is now a transitional wrapper package around the set of multiarch-enabled libraries that were previously shipped bundled in ia32-libs, all of these library packages must be installable. In a released version of Ubuntu (such as in the precise and precise-updates pockets), packages will always be individually installable; however, multiarch imposes an additional restriction on installability: the library package must be at the exact same version across all architectures that you are installing it for.
In one of the examples given here, the libcairo-gobject2 package is implicated. This package has recently been updated for 12.04 as an SRU; which means that trying to install ia32-libs requires the amd64 version of libcairo-gobject2 on your system to match the i386 version that will be downloaded.
To ensure you're getting the correct versions of all library packages, do the following:
Launch Update Manager
Choose Settings at the bottom of the window
Under Updates, make sure that Recommended Updates (precise-updates) is selected.
Click Check to scan for any new software updates
Click Install Updates to ensure your existing packages are all up to date
If you currently have a broken package installed which depends on ia32-libs, this may ask to remove it. You should proceed with the removal and reinstall once the operation is completed. You should then be able to run
sudo apt-get install ia32-libs
to install ia32-libs, or download package from http://packages.ubuntu.com/ and
sudo dpkg -i /path/to/package.deb
sudo apt-get -f install
to install your package and automatically pull in ia32-libs as a dependency.
Note that ia32-libs is considered deprecated in any case. For most software, you should instead install the i386 version of the package and let it directly pull the i386 libraries that it needs as dependencies, instead of using ia32-libs which is a catch-all.
shareimprove this answer
edited Sep 8 '12 at 18:15
 
Community
1
answered Jun 8 '12 at 19:41

Ubuntu 13.04下安装WPS for Linux的更多相关文章

  1. Ubuntu 13.04下安装Vmware tools 9.2.3

    更新13.04后 VmwareTools安装会出现三个问题 找不到generic kernel headers头文件 编译vmci出错 编译vmhgfs出错 第一个问题是系统的文件位置换了,而VMTO ...

  2. eclipse在Ubuntu 13.04下的安装过程

    eclipse在Ubuntu 13.04下的安装过程及问题小记 一.eclipse安装过程 首先确保在安装eclipse之前已经安装好Java虚拟机 1. eclipse官网下载压缩包 下载地址:ht ...

  3. Ubuntu 14.04下安装功能强大的屏幕截图软件 Shutter

    [注释]试用了一下,果然很强大,牛逼 一款功能强大的屏幕截图软件——Shutter,Shutter最基本的就是截图功能了,在设计上可以自由选定区域,同时选定之 后依然可以通过上下左右四个地方来改变选区 ...

  4. 分布式进阶(四)Ubuntu 14.04下安装Tomcat 6

    Ubuntu 10.04下安装Tomcat 6 1,下载apache-tomcat6, 地址链接:http://archive.apache.org/dist/tomcat/tomcat-6/v6.0 ...

  5. 分布式进阶(二)Ubuntu 14.04下安装Dockr图文教程(一)

    当前,完全硬件虚拟化技术(KVM.Xen.Hyper-V 等)能在一个物理主机上很好地运行多个互相独立的操作系统,但这也带来一些问题:性能不佳,资源浪费,系统反应迟缓等.有时候对用户来说,完全的硬件虚 ...

  6. Ubuntu 14.04 下安装 OpenCV

    参考: Installation in Linux Error compiling OpenCV, fatal error: stdlib.h: No such file or directory 图 ...

  7. Ubuntu 14.04 下 安装Protocol Buffers

    参考: Protocol Buffers - Google's data interchange format Ubuntu 14.04 下 安装Protocol Buffers 环境 Ubuntu ...

  8. [转载] Ubuntu 12.04下安装git,SSH及出现的Permission denied解决办法

    如何安装ssh http://os.51cto.com/art/201109/291634.htm 仅需要阅读至成功开启ssh服务即可 http://www.linuxidc.com/Linux/20 ...

  9. Ubuntu 14.04 下安装Skype

    操作1: Ubuntu 14.04 下安装Skype,使用 Ctr+Alt+T组合键打开终端Terminal,输入如下即可: wget -O skype.deb http://download.sky ...

随机推荐

  1. 用 .NET Memory Profiler 跟踪.net 应用内存使用情况--基本应用篇(转)

    .net 框架号称永远不会发生内存泄漏,原因是其引入了内存回收的机制.但实际应用中,往往我们分配了对象但没有释放指向该对象的引用,导致对象永远无法释放.最 常见的情况就是给对象添加了事件处理函数,但当 ...

  2. [leetcode]Pascal's Triangle @ Python

    原题地址:https://oj.leetcode.com/problems/pascals-triangle/ 题意: Given numRows, generate the first numRow ...

  3. 算法-强连通分量和Kosaraju算法

    有向图中,连通性比较好理解,如果两个顶点V和顶点W是可达的,可以称之为强连通的,即存在路径A→B,同时也存在一条有向路径B→A.从之前的有向环的判定过程中其实我们可以得到一个结论就是两个是强连通的当且 ...

  4. Ubuntu升级到18.04

    1.更新 sudo apt-get update 2.升级 sudo apt-get upgrade 3.检测最新版本 sudo update-manager -c -d 然后就会弹出窗口,提示ubu ...

  5. 带监督的文本分类算法FastText

    该算法由facebook在2016年开源,典型应用场景是“带监督的文本分类问题”.   模型 模型的优化目标如下:   其中,$<x_n,y_n>$是一条训练样本,$y_n$是训练目标,$ ...

  6. 机器学习算法与Python实践之(七)逻辑回归(Logistic Regression)

    http://blog.csdn.net/zouxy09/article/details/20319673 机器学习算法与Python实践之(七)逻辑回归(Logistic Regression) z ...

  7. mahout安装

    mahout是hadoop的一种高级应用.运行mahout需要提前安装好hadoop.hadoop的安装网上很多.而且也不复杂,这里不再讲述.这里默认hadoop已经安装完成. 1:下载二进制解压安装 ...

  8. 深入理解FFM原理与实践

    原文:http://tech.meituan.com/deep-understanding-of-ffm-principles-and-practices.html 深入理解FFM原理与实践 del2 ...

  9. 10gocm-&gt;session3-&gt;数据备份与恢复

    这个实验考查我们当数据库出现问题宕机.数据丢失的情况下怎样挽回我们的损失,怎样在最短时间内恢复我们的数据库服务. RMAN规划 host target库 catalog库 ocm01 ocmdb   ...

  10. 【Python】使用hashlib进行MD5和sha1摘要计算

    代码: import hashlib hash = hashlib.md5() hash.update('http://www.cnblogs.com/xiandedanteng'.encode('u ...