LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-28-2009, 06:32 PM   #1
goboydj
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Rep: Reputation: 0
Help with Linux installing Open Office


I really don't understand Linux at all, and am hoping someone can shed some light on this.

I am trying "desperately" to install OpenOffice.org on Debian. So far not much luck.

I tried to install Open Office but then i got this message.


Error: Failed to extract the Java Runtime Environment (JRE) files. (exit code 7)


So i looked up on the net and found out I need to download JRE 6 - which is fine, i don't understand why i need to download it, but i did it. I followed the instructions and installed it - all fine.

The Guide on the Sun website told me to use the following line in the terminal to change permissions:

chmod +x 6<version>-linux-i586.bin

i don't really understand that command, well it didn't work anyway.even when in place of it after chmod +x, i used the name of the file which was "jre-6u11-linux-i586.bin" - didn't work either. in the end i right-clicked on file, went to properties, permissions tab and enabled permissions from there and that worked. and JRE installed fine.

on the open office webite it says the following:

"Install a jre and then point setup to it." BUT I don't know what that line means let alone how to do it

it then states this line: sudo apt-get install sun-java6-bin - i'm assuming this is in relation to the staement above, but it doesn't work anyway.

basically i just want OpenOffice to install properly. that's it. so can someone please shed some light on this make this easy to understand for me, because this task is pretty trivial in Windows - you just double-click an exe and follow the instructions. i thought it would be straightforward regardless of the OS??

thanks,

John
 
Old 01-28-2009, 07:48 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Become root (or use sudo if you set it up). Then do aptitude install openoffice.org. That should be it. Or if you have a graphical package manager (like Synaptic), just browse through it and select openoffice.org.
 
Old 01-29-2009, 06:57 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
As previous comment, it looks like you are trying to make life hard for yourself by not using the package manager. This may or may not be deliberate, but if it is deliberate, please give me a clue why you are doing this.

If you have a gui and synaptic, using synaptic is the easiest way; otherwise aptitude and the command line isn't a bad approach at all.

Something like Open Office ought to be in the basic repositories that are already configured, but maybe not the very latest version. If that is what you need, you may have to find out what repository to add (& I don't know for Debian, I'm afraid) but a quick Google search on 'OpenOffice', 'Debian' & 'Repository' ought to sort that out.
 
Old 01-29-2009, 07:10 AM   #4
Matey
Member
 
Registered: Jan 2009
Posts: 114

Rep: Reputation: 17
I tried this and it worked (came up and asked if I wanted to use 49.1 megabytes additional space on my disk? (y/n)
try this; (in ubuntu which is like debian i guess)?

sudo apt-get install openoffice.org
 
Old 01-29-2009, 07:14 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
How did you install Debian? If you used a netinstall CD, then chose the Desktop option, Open Office should be installed by default.
 
Old 01-29-2009, 05:38 PM   #6
goboydj
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
thanks guys for your help, i appreciate i probably am making it more difficult for myself, but then i'm pretty good at that. i have tried with linux in the past, but for some reason i have always managed to ruin the setup, lose windows, or ruin the boot configuration, so i thought it was best to try a "safer" alternative

i have debian running in VMware. I am testing out different distros. at least it actually works perfectly unlike fedora which is apparently not supported. i was using opensuse 11.1 for a while but had problems with display/resolution kept reverting to 1024x768, even with vmware tools installed. which i thought was a bit odd.

anyway, i wanted to install the updated version of OO.o which is 3.01 i believe, if i'm not mistaken, and for some reason that updated version is not on the package manager, i guess because it is a moderately new release. i'm not sure, if i have to add another repo then so be it, i'll have a look.
 
Old 01-29-2009, 05:44 PM   #7
goboydj
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
on another note, sudo does not work.

whenever i use sudo and type in my password i get "john is not in the sudoers file. this incident will be reported."

so how do i fix this? when i installed Debian it never asked me to input a root password, is that what this is about? if so how do i create one?
 
Old 01-30-2009, 07:35 AM   #8
Matey
Member
 
Registered: Jan 2009
Posts: 114

Rep: Reputation: 17
Quote:
Originally Posted by goboydj View Post
on another note, sudo does not work.

whenever i use sudo and type in my password i get "john is not in the sudoers file. this incident will be reported."

so how do i fix this? when i installed Debian it never asked me to input a root password, is that what this is about? if so how do i create one?
So did you say this was a virtual machine/server?
seems like th root account hasnt been completely set up?!
You can do either set password for root if you havent already or you can close the virtual machine then mount it then chroot in its folder then change the root password (I have done those both things and I used Ubunut and Xen VM and both worked).
 
Old 01-30-2009, 10:39 AM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
if i'm not mistaken, and for some reason that updated version is not on the package manager
Debian aims for stability and dependability to a level that is good for business computers and servers but not so good for your average desktop. The long-and-short of this is that they won't upgrade packages until the next Debian release, in 1.5 to 2 years time (they will however keep up with security and bugfix updates during that time).

Distros like Ubuntu, Mandriva, Opensuse and Fedora have shorter release cycles (6 months or so) so will have more recent versions of software in their package managers, they're also more focused on the desktop user so you'd do better with one of them.

If you've already got into the package manager you don't need to worry about using sudo to do the same thing from the command line.
 
Old 01-31-2009, 04:15 AM   #10
goboydj
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
moving on to mandriva

okay, fair enough i'm trying mandriva now. although i get a really strange error. during the setup it says "Fatal error during initialization", i checked out the log and i have attached the screenshot. any idea what this means? i am mounting the iso in vmware and installing from that. do you think i need to download the iso again and/or burn to disc?
Attached Thumbnails
Click image for larger version

Name:	screen.jpg
Views:	9
Size:	74.7 KB
ID:	56  
 
Old 01-31-2009, 04:28 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by goboydj View Post
on another note, sudo does not work.

whenever i use sudo and type in my password i get "john is not in the sudoers file. this incident will be reported."

so how do i fix this? when i installed Debian it never asked me to input a root password, is that what this is about? if so how do i create one?
That's an easy one.
1. Open your favourite editor as root.
2. Open the /etc/sudoers file with that editor.
3. Add the line
Code:
<your username>    ALL=(ALL) ALL
just below the
Code:
root    ALL=(ALL) ALL
in sudoers.
If you don't have an /etc/sudoers file then you need to install sudo.
As root
Code:
aptitude update && aptitude install sudo
that's it.
jdk
 
Old 01-31-2009, 06:44 AM   #12
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
any idea what this means? i am mounting the iso in vmware and installing from that. do you think i need to download the iso again and/or burn to disc?
Check the md5 sum of the ISO (there should be instructions on the download page), you don't need to burn the disc to use it in VMware.

Quote:
1. Open your favourite editor as root.
Better to use visudo as that will check for syntax errors.
 
Old 01-31-2009, 11:06 AM   #13
goboydj
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
for some reason the iso downloaded via internet explorer was capped at ~350mb when it should have been ~4.4gb so i managed to get it going perfectly with the 64-bit version of Mandriva.

i was trying to edit the sudoers file but oddly enough visudo does not exist on mandriva. i would have thought it was a pretty compulsory piece of kit. is there any other editor i can use?

cheers for all your help so far, thanks for being patient with me.

Last edited by goboydj; 01-31-2009 at 11:10 AM.
 
Old 01-31-2009, 11:31 AM   #14
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Originally Posted by goboydj View Post
i was trying to edit the sudoers file but oddly enough visudo does not exist on mandriva. i would have thought it was a pretty compulsory piece of kit. is there any other editor i can use?
It comes installed by default I think (it's part of the sudo package so you can't have sudo without it). To use it you need to become root with 'su -' so that the locations of the system administrator tools (/usr/sbin and /sbin) are added to your path. Or you can run it with the full path /usr/sbin/visudo
 
Old 02-10-2009, 11:59 PM   #15
ksjyothi
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Thumbs up ksjyothi

Quote:
Originally Posted by goboydj View Post
I really don't understand Linux at all, and am hoping someone can shed some light on this.

I am trying "desperately" to install OpenOffice.org on Debian. So far not much luck.

I tried to install Open Office but then i got this message.


Error: Failed to extract the Java Runtime Environment (JRE) files. (exit code 7)



thanks,

John

you need rpm to install .sh installers this will solve the problem. do reply when it works

Type sudo apt-get install rpm
 
  


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
Installing Open Office 2.4 taj SUSE / openSUSE 8 05-29-2008 09:18 PM
Installing Open Office richtable Linux - Newbie 11 04-15-2006 11:13 PM
installing open office BackwardsDown Linux - Newbie 2 11-20-2005 09:58 AM
Installing Open Office buzzard Linux - Newbie 1 04-01-2005 04:10 PM
Installing Open Office JHuizingh Linux - Software 4 03-31-2002 03:48 AM


All times are GMT -5. The time now is 01:10 PM.

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