Tuesday, May 11, 2010

Upgrading OpenOffice in Ubuntu 9.10

I thought it would update to 3.2 automatically through apt-get (and it might - I might not have the proper repositories configured?), but as it doesn't I had to find another way.
Being new to Linux and the way of doing things, I relied upon the Google-results I would get.

I found these steps to be easy enough to follow. This post is basically just a repost of those for my own benefit so I'll find them again later.

Instead of making the three small files in the guide I found, I just entered the commands in a single terminal window, one by one, continuing as they would finish, while adding a new one (wget). I definitely see the benefit of having them as files, making it a lot easier to use on multiple systems, and updatable with newer versions. However, for a one-off thing, typing them all in a single terminal-window works just as well.
  • wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_LinuxIntel_install_en-US_deb.tar.gz
  • cd Downloads
    • Puts us in the /home/Downloads-folder. This is where wget puts the files downloaded unless otherwise is specified.
  • sudo apt-get remove openoffice*.*
    • This removes whatever OpenOffice installation installed on the system after you've entered your password.
  • tar -zxvf OOo_3.2.0_LinuxIntel_install_en-US_deb.tar.gz
    • This unpacks the contents of the downloaded archive and puts the files into /home/Downloads/OOo_3.2.0_LinuxIntel_install_en-US_deb. I could probably rename it to something simpler, but I haven't toyed around to do so.
  • cd OOO320_m12_native_packed-1_en-US.9483/DEBS/
    • Puts us in that folder.
  • sudo dpkg -i *.deb
    • Goes through all the .deb-packages in the folder we just cd'd into and installs the software in them.
  • cd desktop-integration
    • Puts us in the folder /home/OOO320_m12_native_packed-1_en-US.9483/DEBS/
  • sudo dpkg -i openoffice.org.3.2-debian-menus_3.2-9472_all.deb
    • Installs the package in that folder.
Feel free to suggest improvements to this process in the comments.

    No comments:

    Post a Comment