ubuntu14.10 下 wps 安装

今天将办公环境改为了ubuntu ,为了方便写文档,就想着下个wps来用用,结果费了不少时间解决问题。写篇博客总结一下


wps 下载:

http://wdl1.cache.wps.cn/wps/download/Linux/unstable/wps-office_8.1.0.3724~b1p2_i386.deb

选择的一般来说下载好后会保存在用户主目录的 Download 文件夹下。

在网上看了不少资料,说是有两种安装方式,一是直接双击 下载好的安装包,然后自动进入到 software center 进行安装,期间会自动解决所有的依赖关系。

抱着试试的心态双击后等了好久,卡在90%左右就不动了。没办法只好试试第二种,使用dpkg 命令安装


cd Download

$ sudo dpkg -i --force-architecture  wps-office_8.1.0.3724~b1p2_i386.deb

会报如下错误:
Selecting previously unselected package wps-office.
(Reading database ... 206900 files and directories currently installed.)
Preparing to unpack wps-office_8.1.0.3724~b1p2_i386.deb ...
Unpacking wps-office (8.1.0.3724~b1p2) ...
dpkg: dependency problems prevent configuration of wps-office:
 wps-office depends on libglu1-mesa.

dpkg: error processing package wps-office (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Errors were encountered while processing:
 wps-office


然后使用  sudo apt-get  install -f  来解决依赖关系。

安装好之后  我在命令行中执行   $ wps   时,出现

Package ia32-libs is not available, but is referred to by another package.

错误,大致意思就是64位系统要运行32的程序,就需要安装ia32-libs

当然这个包直接安装是不行的,因为缺少相应的apt源。于是在一个论他里看到这个解决方案

  1. sudo -i
  2. cd /etc/apt/sources.list.d
  3. echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
  4. apt-get update
  5. apt-get install ia32-libs
实践证明,这个源已经不能用了。最后在 stackoverflow 中找到了最终解决方案:

You can try this to install 32 lib(not all in ia32-libs): apt-get install program:i386.

Or if you want to install the whole ia32-lib instead, try the following order:

sudo -i
cd /etc/apt/sources.list.d
echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs

附上截图一张


安装ia32-libs 时 会装进去很多包,装好之后最好将新加的源删掉,避免安装其他包时发生干扰。

装好之后再使用

sudo dpkg -i  安装包

即可。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值