LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   open MS-office file in linux (https://www.linuxquestions.org/questions/linux-newbie-8/open-ms-office-file-in-linux-4175417501/)

Arjun 07-19-2012 12:32 AM

open MS-office file in linux
 
I am getting problem in opening MS office file in my linux system

When i try to open the file, then i gets an error message

Quote:

Could not display "/root/Desktop/file.doc".
How can i open and edit this file ?

Thanks

evo2 07-19-2012 02:05 AM

Hi,

what did you try to "open" the file with? Do you have openoffice.org, libreoffice, abiword, etc installed?

Evo2.

PS. It looks like you are running X as root... but that is for another thread.

dundu 07-19-2012 02:11 AM

I think open office not installed in your linux
check #rpm -qa *open-office*

Arjun 07-19-2012 02:32 AM

OK

So how can i install it ?

Thanks

sharadchhetri 07-19-2012 03:57 AM

Quote:

Originally Posted by Arjun (Post 4732365)
OK

So how can i install it ?

Thanks

We do not know what distro you are using. So it is good to give you this link.
Download it and install.

http://www.openoffice.org/download/

knudfl 07-19-2012 05:04 AM

Fedora, Redhat EL6, CentOS 6 :
# yum install libreoffice-core libreoffice-writer

Backtrack 5 : apt-get install openoffice.org

chrism01 07-19-2012 06:23 PM

Don't download direct from that link; get it from your distro's repositories.
As above, you tell us what it is, we'll tell you how.
try this to find your distro+version
Code:

cat /etc/*release*

Arjun 07-20-2012 01:33 AM

Quote:

Originally Posted by knudfl (Post 4732493)
Fedora, Redhat EL6, CentOS 6 :
# yum install libreoffice-core libreoffice-writer

Backtrack 5 : apt-get install openoffice.org

Thanks for your help

Quote:

Originally Posted by chrism01 (Post 4733193)
Don't download direct from that link; get it from your distro's repositories.
As above, you tell us what it is, we'll tell you how.
try this to find your distro+version
Code:

cat /etc/*release*

Here is what i got

Quote:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"
I am using backtrack 5 r2


All times are GMT -5. The time now is 06:44 PM.