Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The question very simple and short. I am following this article to install OpenOffice headless:

sudo apt-get install openoffice.org-headless openoffice.org-writer openoffice.org-draw

And I get the following error :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openoffice.org-headless
E: Couldn't find any package by regex 'openoffice.org-headless'

UPDATE:

apt-cache search openoffice.org

output: http://pastebin.ubuntu.com/1262902/

share|improve this question
    
what is the output of apt-cache search openoffice.org –  user61928 Sep 29 '12 at 9:18
    
Output is pretty huge. What should I find from there ? or should I paste it here ? –  Subhransu Sep 29 '12 at 9:28
    
so sudo apt-get update then try installing adain –  user61928 Sep 29 '12 at 9:55
    
THat does not helps, please check the output –  Subhransu Sep 29 '12 at 10:43
add comment

5 Answers

up vote 7 down vote accepted
+50

Install OpenOffice following the instruction given at their Website.

The installation procedure is as follows:

  1. First Download the openOffice.org all in one tar package.

  2. Then extract the .tar.gz file into a suitable directory. I downloaded in my home directory.

  3. Then open a terminal and go the the directory containing the .deb files. If you extracted in Home directory, the command is

    cd ~/en-US/DEBS/
    
  4. Then install all the .deb files with the command:

    sudo dpkg -i *.deb
    
  5. Since, OpenOffice 2.3 it can be started in headless mode. So, you can start it in headless mode with the command

    soffice --headless 
    

Hope this will help.

share|improve this answer
    
Thank you for your time. Your answer is indeed helpful. –  Subhransu Oct 9 '12 at 7:28
add comment

Ubuntu switched to libreoffice instead of openoffice quite a while ago.

Install libreoffice-common, then you can run the libreoffice service by adding the "--headless" runtime argument.

$ /usr/bin/libreoffice --headless

The rest of that article should be compatible if you replace "openoffice.org" with "libreoffice" across the board.

share|improve this answer
    
I am intended to use openoffice for batch conversion by the use of PyODConverter . So could you provide possible solution to install openoffice ? –  Subhransu Sep 30 '12 at 9:05
1  
You can use the upstream packages (OpenOffice.org/download). Most distributions no longer offer it. –  Eric Sep 30 '12 at 10:06
    
Thanks Eric for your time. –  Subhransu Sep 30 '12 at 10:15
    
Eric is right, LibreOffice has replaced OpenOffice. It's just a fork of the same program, but without licensing restrictions. –  Sepero Oct 3 '12 at 22:24
2  
According to its github page, PyODConverter supports both LibreOffice and OpenOffice. github.com/mirkonasato/pyodconverter –  andrewsomething Oct 5 '12 at 23:48
show 2 more comments

Download open office headless from here

Although it is the Hardy package, but it should work for you

share|improve this answer
add comment

Make sure that you have first completely removed LibreOffice, then follow Olive Twist's installation instructions and that should work for you.

share|improve this answer
add comment

OpenOffice.org Headless install:

apt-get install openoffice.org-core
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.