(xubuntu)Thunar使用技巧一则 Bash 使用技巧大补贴[转]
Apr 01

  我安装的是xubuntu6.1,里面的openoffice还是2.0的,openoffice2.2发布有一段日子了。可是源里面一直没有更新。昨天找了好久看有没有edgy的openoffice的源。都没有找到。就决定手动安装2.2。去openoffice.org下载了最新的linux包。不过都是rpm的包。就装了alien来转化rpm包。在ubuntu forums里面找到了一篇帖子。

  Just make sure you install alien first. (sudo aptitude install alien)

1) download OO 2.2 from openoffice.org
2) remove the Ubuntu version of open office -- it's broken anyway

Code:
 dpkg -l | grep -i openoffice | cut -d " " -f 3 | sudo xargs apt-get -y --purge remove
sudo apt-get autoremove
3) convert the downloaded openoffice files from rpm to deb:
Code:
cd dir_where_you_extracted_the_OO_zip_file
cd RPMS
sudo alien --scripts --keep-version *.rpm
4) install the new version of openoffice:
Code:
sudo dpkg -i *.deb
cd desktop-integration/
sudo dpkg -i *.deb
This should work for dapper as well; ymmv

大家试试吧。我已经用上了。


Like others

Leave a Reply

Identifying Code