LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2012, 09:17 PM   #1
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
find openoffice home directory


I installed openoffice in ubutu using


sudo add-apt-repository ppa:upubuntu-com/office


sudo apt-get update


sudo apt-get install openoffice

installation was complete no problems , now I want to to find openoffice home directory , I could not find .Please advice where can I find openoffice home directory or openoffice installation directory.
 
Old 09-07-2012, 09:40 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,132
Blog Entries: 14

Rep: Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067Reputation: 3067
There is no "openoffice" home directory, if by that you mean something similar to "program files" directories you find in Windows. The linux file structure is completely different. Files are installed in directories according to their types and functions. See this for more information: http://www.tuxfiles.org/linuxhelp/linuxdir.html

To find the locations of openoffice files, you can run the command locate openoffice in a terminal.

In Ubuntu, the installation process normally puts programs installed with the package manager on the menu automatically. If it's not there, let us know and tell us what desk environment you are using, and we can point you to instructions about how to add it.
 
Old 09-07-2012, 09:42 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Quote:
Originally Posted by frankbell View Post
In Ubuntu, the installation process normally puts programs installed with the package manager on the menu automatically. If it's not there, let us know and tell us what desk environment you are using, and we can point you to instructions about how to add it.
Or you can just invoke it from the command line

"oocalc" is like excel
"oowriter" is like word
"ooimpress" is like powerpoint
 
Old 09-07-2012, 10:03 PM   #4
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Original Poster
Rep: Reputation: 1
I tried to locate and to start writer
Code:
ubuntu@ip-10-72-243-182:/opt$ oowriter
The program 'oowriter' is currently not installed.  You can install it by typing:
sudo apt-get install openoffice.org-writer
ubuntu@ip-10-72-243-182:/opt$ locate openoffice
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
ubuntu@ip-10-72-243-182:/opt$ sudo locate openoffice
does this mean I dont have openoffice installed ?, how can I verify if openoffice is installed , I need the directory where openoffice is installed , I am using jodconverter this needs the home directory of openoffice.

I tried find openoffice
Code:
ubuntu@ip-10-72-243-182:/opt$ sudo find / -name *Open
ubuntu@ip-10-72-243-182:/opt$ sudo find / -name *office
/usr/share/doc/openoffice
/usr/bin/soffice
ubuntu@ip-10-72-243-182:/opt$ ll /usr/bin/so
soelim           soffice          soffice.tar.bz2  sort             
ubuntu@ip-10-72-243-182:/opt$ ll /usr/bin/soffice
lrwxrwxrwx 1 ubuntu ubuntu 36 Apr 19 08:49 /usr/bin/soffice -> /opt/openoffice.org3/program/soffice

Last edited by fachhoch@gmail.com; 09-07-2012 at 10:04 PM.
 
Old 09-07-2012, 11:50 PM   #5
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 419

Rep: Reputation: 82
With Ubuntu, the binaries for a program like that would normally be in usr/bin (that's where mine are). If you didn't install it from the default Ubuntu repositories it's hard to say what happened.
 
Old 09-08-2012, 03:40 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,625

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
This command will show where 'openoffice' is installed :

dpkg -L openoffice

The main application : /opt/opt.zip
( Is uncopressed to /opt/openoffice.org, /opt/openoffice.org3 at install time.)

The shell scricpt (A text file) to start openoffice : /usr/bin/openoffice.org3
( Commands are e.g. 'openoffice.org3 -writer', 'openoffice.org3 -calc', etc.)

The menu scripts, icons, etc. : /usr/share/

.

Last edited by knudfl; 09-08-2012 at 04:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Home directory already exists. Please enter another home directory path." Daravon Ubuntu 2 02-15-2009 10:26 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
NIS/NFS can't find home directory extendedping Linux - Software 4 08-29-2007 12:33 PM
Cannot find user in home directory shipon_97 Linux - Networking 2 10-15-2006 04:42 AM
Cant find home directory? BajaNick Linux - Software 2 07-28-2003 09:04 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration