Author Topic: [SOLVED] Install OOo on a partition other than /?  (Read 458 times)

Offline mikkl

  • Hero Member
  • *****
  • Posts: 872
[SOLVED] Install OOo on a partition other than /?
« on: July 23, 2010, 02:50:53 PM »
Is there a way to install OpenOffice on a partition other than /?

I have a ASUS eeepc900 and 780Mb of free space left on / (which, on this machine, is a separate SSD and so no room to expand /).  I suspect that with some tweaking of GetOpenOffice, or doing a manual install, I could get OOo to install and have ~200 - 300 Mb of space left on /.  

I am concerned that this is not enough space for future updates, etc and so am thinking I would be better off installing OOo on the second partition/hard drive.

Opinions and pointers are appreciated.

mikkl
« Last Edit: July 31, 2010, 05:50:46 AM by mikkl »

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: Install OOo on a partition other than /?
« Reply #1 on: July 23, 2010, 04:03:04 PM »
There might be a way, as OOO lives in /opt which is rarely used by other apps. If you have nothing else in /opt or /opt doesn't exist you can just do what's below. Otherwise you might have to copy the current contents of /opt (preferable as an archive - cp -a ...) to the new location first.

What is on the second partition? If it is blank you could simply set /opt as its mount point in PCC and mount it. Voila!

If it is /home, you could create a directory called /home/opt and then create /opt as a symbolic link to /home/opt.

Either way, OOO should now install to the new location on the other partition.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline mikkl

  • Hero Member
  • *****
  • Posts: 872
Re: [SOLVED] Install OOo on a partition other than /?
« Reply #2 on: July 31, 2010, 05:55:49 AM »
Thanks, that was a good pointer.  /opt was not empty, so I used cp -a to create /home/opt and then, using Konq as root I deleted /opt and then made a link titled /opt pointing to /home/opt.

Finished up by using GetOpenOffice and successfully installed OOo where desired.

Thanks.

mikkl