LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-27-2012, 01:23 PM   #1
fudmier
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
install libre office on centos 6.2 using yum


i have tried to get libre office installed without success
on my centos 6.2 install
yum install-packages libreoffice
or yum install
I get loaded plugins:fastest mirror, refresh-packageket, security
loading mirror speeds from cached hostfile
* base: mirrors. easynews.com
* c6-media:
* updates:mirrors. easynews.com
base
file:///media/cdrecorder/repodata/respomd.xml:[Errno 14]C/n
open/read file:/// media/cdrom/repodata/respomd.xml
Trying another mirror?
Error file:///media/cdrom/repodata/repomd.xml: Error 14 C/n open/read File:/// media/cdrom/repodata/respmd.xml
Trying other mirror.
Error: c/n retrieve repoistory metadata {repomd.xml for reposition: c6-media. please verify its path and try again.

I ran this from username + su to root
I have tried for a couple of days to find how to get past this" please help.
 
Old 01-27-2012, 01:38 PM   #2
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Rep: Reputation: 38
Quote:
Originally Posted by fudmier View Post
i have tried to get libre office installed without success
on my centos 6.2 install
yum install-packages libreoffice
or yum install
I get loaded plugins:fastest mirror, refresh-packageket, security
loading mirror speeds from cached hostfile
* base: mirrors. easynews.com
* c6-media:
* updates:mirrors. easynews.com
base
file:///media/cdrecorder/repodata/respomd.xml:[Errno 14]C/n
open/read file:/// media/cdrom/repodata/respomd.xml
Trying another mirror?
Error file:///media/cdrom/repodata/repomd.xml: Error 14 C/n open/read File:/// media/cdrom/repodata/respmd.xml
Trying other mirror.
Error: c/n retrieve repoistory metadata {repomd.xml for reposition: c6-media. please verify its path and try again.

I ran this from username + su to root
I have tried for a couple of days to find how to get past this" please help.
Hmm... you seem to have enabled the expected DVD mount path as a repository.

Code:
# Edit:
/etc/yum.repos.d/CentOS-Media.repo 

# And change the line: 
enabled=1 

# to:
enabled=0
Just a guess... hope this helps
 
1 members found this post helpful.
Old 01-27-2012, 05:37 PM   #3
fudmier
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
centoOS_media.repo file change problem?

I was given a recommendation to change as below.
my directory looks like this

drwxr-xr-x
and the file in the directory is
-rw-r--r-- 1 root CentoOS-Media.repo
so I should be able to edit it with vim?
but each time I attempt to edit the file with vim,
I cannot get my cursor to =1 character to change it to =0?
i thought it might be permissions, but they seem right?
no matter what I do the change will not take?


# Edit:
/etc/yum.repos.d/CentOS-Media.repo

# And change the line:
enabled=1

# to:
enabled=0
 
Old 01-27-2012, 05:46 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,231

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
You could read the README file in the
in the zip file ( 64 bit os )
http://www.libreoffice.org/download/
LibO_3.4.5_Linux_x86-64_install-rpm_en-US.tar.gz
and run the rpm command that the install instructions tell you to

but cent might not be able to use the NEW one .You might have to use the STABLE version.
LibO_3.3.4_Linux_x86-64_install-rpm_en-US.tar.gz



Quote:
yum install-packages libreoffice
that also is NOT the command to use .There is no yum command "install-packages"

GoOffice ( a fork of Openoffice) should be in the base repo
try this first

Code:
su -
/* your root password when asked for */ 
yum search office
from that list it should be there.
then install it

Last edited by John VV; 01-27-2012 at 05:47 PM.
 
Old 01-27-2012, 05:57 PM   #5
fudmier
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
centoOS_media.repo file change problem?

I was given a recommendation to change as below.
my directory looks like this

drwxr-xr-x
and the file in the directory is
-rw-r--r-- 1 root CentoOS-Media.repo
so I should be able to edit it with vim?
but each time I attempt to edit the file with vim,
I cannot get my cursor to =1 character to change it to =0?
i thought it might be permissions, but they seem right?
no matter what I do the change will not take?


# Edit:
/etc/yum.repos.d/CentOS-Media.repo

# And change the line:
enabled=1

# to:
enabled=0
 
Old 01-28-2012, 09:04 AM   #6
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Rep: Reputation: 38
Quote:
Originally Posted by fudmier View Post
I was given a recommendation to change as below.
my directory looks like this

drwxr-xr-x
and the file in the directory is
-rw-r--r-- 1 root CentoOS-Media.repo
so I should be able to edit it with vim?
but each time I attempt to edit the file with vim,
I cannot get my cursor to =1 character to change it to =0?
i thought it might be permissions, but they seem right?
no matter what I do the change will not take?


# Edit:
/etc/yum.repos.d/CentOS-Media.repo

# And change the line:
enabled=1

# to:
enabled=0
Dude, seriously. Why are you posting the exact same responses to every suggestion? Are you a robot?

Its not that difficult. Open the repo file and edit it and then let us know if it worked or not. Its not rocket science.

Accept my apologies for being rude.
 
Old 01-28-2012, 09:58 PM   #7
fudmier
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
centos 6.2 install of libre office

1. Allow me to apologize for the dual posting, it was not intentionally.
2. no part of these suggestions worked.
3. I finally broke down, and paid for a solution. but it took the admin
who knows linux well about 3 hours to install libre office on centos 6.
4. for information neither the so called stable version 3.3.4 or 3.3.5 worked as billed.
5. What happened to the one click install ?
I like libre office, but I cannot go through this each time i rebuild my system.
had to reinstall java.

used yum and many work arounds.
thanks for the help, though it did get me started.
where is an authoritative no cost documentation on centos6 to be found on the net?
 
Old 01-28-2012, 11:17 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 13,231

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
Quote:
What happened to the one click install
RHEL / CentOS/SL never had a "one click" install
SELD and openSUSE do ( not recommended)

what i do not understand is why you were not able to install from the cent repo ( mind you i am on sl6.1)
when i do a yum search for office
Code:
yum search office
i get a LARGE output
Quote:
broffice.org-base.i686 : Database frontend for BrOffice.org
broffice.org-brand.i686 : Core brand for BrOffice.org
broffice.org-calc.i686 : BrOffice.org Spreadsheet Application
broffice.org-draw.i686 : BrOffice.org Drawing Application
broffice.org-impress.i686 : BrOffice.org Presentation Application
broffice.org-math.i686 : BrOffice.org Equation Editor Application
broffice.org-writer.i686 : BrOffice.org Word Processor Application
goffice.i686 : Goffice support libraries
goffice-devel.i686 : Libraries and include files for goffice
openoffice.org-base.i686 : Database frontend for OpenOffice.org
openoffice.org-base-core.i686 : Database GUI libraries for OpenOffice.org
openoffice.org-brand.i686 : Core brand for OpenOffice.org
openoffice.org-bsh.i686 : BeanShell support for OpenOffice.org
openoffice.org-calc.i686 : OpenOffice.org Spreadsheet Application
openoffice.org-calc-core.i686 : Spreadsheet libraries for OpenOffice.org
openoffice.org-core.i686 : Core modules for OpenOffice.org
openoffice.org-devel.i686 : Development Libraries for OpenOffice.org
openoffice.org-diafilter.i686 : DIA diagram shape importer and gallery extension
: for OpenOffice.org
openoffice.org-draw.i686 : OpenOffice.org Drawing Application
openoffice.org-draw-core.i686 : Drawing libraries for OpenOffice.org
openoffice.org-emailmerge.i686 : Email mail-merge component for OpenOffice.org
openoffice.org-graphicfilter.i686 : OpenOffice.org Extra Graphic filters
openoffice.org-headless.i686 : OpenOffice.org Headless plugin
openoffice.org-impress.i686 : OpenOffice.org Presentation Application
openoffice.org-impress-core.i686 : Presentation libraries for OpenOffice.org
openoffice.org-javafilter.i686 : Optional javafilter module for OpenOffice.org
openoffice.org-langpack-af_ZA.i686 : Afrikaans language pack for OpenOffice.org
openoffice.org-langpack-ar.i686 : Arabic language pack for OpenOffice.org
openoffice.org-langpack-as_IN.i686 : Assamese language pack for OpenOffice.org
openoffice.org-langpack-bg_BG.i686 : Bulgarian language pack for OpenOffice.org
openoffice.org-langpack-bn.i686 : Bengali language pack for OpenOffice.org
openoffice.org-langpack-ca_ES.i686 : Catalan language pack for OpenOffice.org
openoffice.org-langpack-cs_CZ.i686 : Czech language pack for OpenOffice.org
openoffice.org-langpack-cy_GB.i686 : Welsh language pack for OpenOffice.org
openoffice.org-langpack-da_DK.i686 : Danish language pack for OpenOffice.org
openoffice.org-langpack-de.i686 : German language pack for OpenOffice.org
openoffice.org-langpack-dz.i686 : Dzongkha language pack for OpenOffice.org
openoffice.org-langpack-el_GR.i686 : Greek language pack for OpenOffice.org
openoffice.org-langpack-en.i686 : English language pack for OpenOffice.org
openoffice.org-langpack-es.i686 : Spanish language pack for OpenOffice.org
openoffice.org-langpack-et_EE.i686 : Estonian language pack for OpenOffice.org
openoffice.org-langpack-eu_ES.i686 : Basque language pack for OpenOffice.org
openoffice.org-langpack-fi_FI.i686 : Finnish language pack for OpenOffice.org
openoffice.org-langpack-fr.i686 : French language pack for OpenOffice.org
openoffice.org-langpack-ga_IE.i686 : Irish language pack for OpenOffice.org
openoffice.org-langpack-gl_ES.i686 : Galician language pack for OpenOffice.org
openoffice.org-langpack-gu_IN.i686 : Gujarati language pack for OpenOffice.org
openoffice.org-langpack-he_IL.i686 : Hebrew language pack for OpenOffice.org
openoffice.org-langpack-hi_IN.i686 : Hindi language pack for OpenOffice.org
openoffice.org-langpack-hr_HR.i686 : Croatian language pack for OpenOffice.org
openoffice.org-langpack-hu_HU.i686 : Hungarian language pack for OpenOffice.org
openoffice.org-langpack-it.i686 : Italian language pack for OpenOffice.org
openoffice.org-langpack-ja_JP.i686 : Japanese language pack for OpenOffice.org
openoffice.org-langpack-kn_IN.i686 : Kannada language pack for OpenOffice.org
openoffice.org-langpack-ko_KR.i686 : Korean language pack for OpenOffice.org
openoffice.org-langpack-lt_LT.i686 : Lithuanian language pack for OpenOffice.org
openoffice.org-langpack-mai_IN.i686 : Maithili language pack for OpenOffice.org
openoffice.org-langpack-ml_IN.i686 : Malayalam language pack for OpenOffice.org
openoffice.org-langpack-mr_IN.i686 : Marathi language pack for OpenOffice.org
openoffice.org-langpack-ms_MY.i686 : Malay language pack for OpenOffice.org
openoffice.org-langpack-nb_NO.i686 : Bokmal language pack for OpenOffice.org
openoffice.org-langpack-nl.i686 : Dutch language pack for OpenOffice.org
openoffice.org-langpack-nn_NO.i686 : Nynorsk language pack for OpenOffice.org
openoffice.org-langpack-nr_ZA.i686 : Southern Ndebele language pack for
: OpenOffice.org
openoffice.org-langpack-nso_ZA.i686 : Northern Sotho language pack for
: OpenOffice.org
openoffice.org-langpack-or_IN.i686 : Oriya language pack for OpenOffice.org
openoffice.org-langpack-pa.i686 : Punjabi language pack for OpenOffice.org
openoffice.org-langpack-pl_PL.i686 : Polish language pack for OpenOffice.org
openoffice.org-langpack-pt_BR.i686 : Brazilian Portuguese language pack for
: OpenOffice.org
openoffice.org-langpack-pt_PT.i686 : Portuguese language pack for OpenOffice.org
openoffice.org-langpack-ro.i686 : Romanian language pack for OpenOffice.org
openoffice.org-langpack-ru.i686 : Russian language pack for OpenOffice.org
openoffice.org-langpack-sk_SK.i686 : Slovak language pack for OpenOffice.org
openoffice.org-langpack-sl_SI.i686 : Slovenian language pack for OpenOffice.org
openoffice.org-langpack-sr.i686 : Serbian language pack for OpenOffice.org
openoffice.org-langpack-ss_ZA.i686 : Swati language pack for OpenOffice.org
openoffice.org-langpack-st_ZA.i686 : Southern Sotho language pack for
: OpenOffice.org
openoffice.org-langpack-sv.i686 : Swedish language pack for OpenOffice.org
openoffice.org-langpack-ta_IN.i686 : Tamil language pack for OpenOffice.org
openoffice.org-langpack-te_IN.i686 : Telugu language pack for OpenOffice.org
openoffice.org-langpack-th_TH.i686 : Thai language pack for OpenOffice.org
openoffice.org-langpack-tn_ZA.i686 : Tswana language pack for OpenOffice.org
openoffice.org-langpack-tr_TR.i686 : Turkish language pack for OpenOffice.org
openoffice.org-langpack-ts_ZA.i686 : Tsonga language pack for OpenOffice.org
openoffice.org-langpack-uk.i686 : Ukrainian language pack for OpenOffice.org
openoffice.org-langpack-ur.i686 : Urdu language pack for OpenOffice.org
openoffice.org-langpack-ve_ZA.i686 : Venda language pack for OpenOffice.org
openoffice.org-langpack-xh_ZA.i686 : Xhosa language pack for OpenOffice.org
openoffice.org-langpack-zh_CN.i686 : Simplified Chinese language pack for
: OpenOffice.org
openoffice.org-langpack-zh_TW.i686 : Traditional Chinese language pack for
: OpenOffice.org
openoffice.org-langpack-zu_ZA.i686 : Zulu language pack for OpenOffice.org
openoffice.org-math.i686 : OpenOffice.org Equation Editor Application
openoffice.org-math-core.i686 : Equation editor libraries for OpenOffice.org
openoffice.org-ogltrans.i686 : 3D OpenGL slide transitions for OpenOffice.org
openoffice.org-opensymbol-fonts.noarch : OpenOffice.org dingbats font
openoffice.org-pdfimport.i686 : PDF Importer for OpenOffice.org Draw
openoffice.org-presentation-minimizer.i686 : Shrink OpenOffice.org presentations
openoffice.org-presenter-screen.i686 : Presenter Screen for OpenOffice.org
: Presentations
openoffice.org-pyuno.i686 : Python support for OpenOffice.org
openoffice.org-report-builder.i686 : Create database reports from OpenOffice.org
openoffice.org-rhino.i686 : JavaScript support for OpenOffice.org
openoffice.org-sdk.i686 : Software Development Kit for OpenOffice.org
openoffice.org-sdk-doc.i686 : Software Development Kit documentation for
: OpenOffice.org
openoffice.org-testtools.i686 : Testtools for OpenOffice.org
openoffice.org-wiki-publisher.i686 : Create Wiki articles on MediaWiki servers
: with OpenOffice.org
openoffice.org-writer.i686 : OpenOffice.org Word Processor Application
openoffice.org-writer-core.i686 : Word Processor libraries for OpenOffice.org
openoffice.org-xsltfilter.i686 : Optional xsltfilter module for OpenOffice.org
python-openoffice.noarch : Python libraries for interacting with OpenOffice.org
trytond-openoffice.noarch : OpenOffice.org support for Tryton Server
catdoc.i686 : A program which converts Microsoft office files to plain text
imposter.i686 : Standalone viewer for OpenOffice presentations
kacst-office-fonts.noarch : Fonts for arabic from arabeyes project
openoffice.org-ure.i686 : UNO Runtime Environment
pidgin-sipe.i686 : Pidgin protocol plugin to connect to MS Office Communicator
purple-sipe.i686 : Libpurple protocol plugin to connect to MS Office
: Communicator
unoconv.noarch : Tool to convert between any document format supported by
: OpenOffice
GoOffice AND OpenOffice are there

and when i run
Code:
yum grouplist
i have
" Office Suite and Productivity"
so
by running
Code:
su -
yum groupinstall " Office Suite and Productivity"
that will install EVERYTHING

mind you i have these repos installed and running
( output from " yum repolist" )
Code:
adobe-linux-i386 Adobe Systems Incorporated                                 15+2
elrepo           ELRepo.org Community Enterprise Linux Repository -       122+17
elrepo-extras    ELRepo.org Community Enterprise Linux Repository -          0+6
elrepo-kernel    ELRepo.org Community Enterprise Linux Kernel Reposi        14+2
epel             Extra Packages for Enterprise Linux 6 - i386           5,556+75
rpmforge         RHEL 6.1 - RPMforge.net - dag                       3,122+1,094
sl               Scientific Linux 6.1 - i386                               4,777
sl-security      Scientific Linux 6.1 - i386 - security updates              663

Last edited by John VV; 01-28-2012 at 11:28 PM.
 
Old 01-28-2012, 11:29 PM   #9
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Rep: Reputation: 38
Quote:
Originally Posted by fudmier View Post
1. Allow me to apologize for the dual posting, it was not intentionally.
2. no part of these suggestions worked.
3. I finally broke down, and paid for a solution. but it took the admin
who knows linux well about 3 hours to install libre office on centos 6.
4. for information neither the so called stable version 3.3.4 or 3.3.5 worked as billed.
5. What happened to the one click install ?
I like libre office, but I cannot go through this each time i rebuild my system.
had to reinstall java.

used yum and many work arounds.
thanks for the help, though it did get me started.
where is an authoritative no cost documentation on centos6 to be found on the net?
I'm personally sorry you had so much trouble, but this should have been a 2 minute fix. Yum wasn't letting you install packages because it wanted to update a repo that doesn't exist (on your DVD) so all you had to do was disable that repo.

LibreOffice is in the repo and it is a one-click installation.

It sounds like your Linux "admin", doesn't really know Linux at all because the error message is perfectly clear.

In any event, your problem is resolved and thats the important thing!

Cheers!
 
Old 02-12-2013, 09:29 AM   #10
linuxexplore
LQ Newbie
 
Registered: Oct 2012
Location: India
Distribution: CentOS, Ubuntu
Posts: 6
Blog Entries: 1

Rep: Reputation: Disabled
Thumbs up

I think LibreOffice 4.0 is now a good option to install, its very fast and feature rich. You can download its RPMs for CentOS 6 directly from libreoffice.org and install them. Its very easy. You can click libreoffice 4 in CentOS 6 to find the installation instruction.

Thanks
Linux Explore
 
Old 02-12-2013, 08:43 PM   #11
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
I agree with this from JohnVV
Code:
su -
yum groupinstall " Office Suite and Productivity"
but on RHEL + Centos, you'll get LibreOffice, not OpenOffice (by default).

(Checked on Centos 6.3)

As per comments above, the fix should have been very quick

1. disable the Install Media repo
2. enable the repos in the /etc/yum.repos.d/CentOS-Base.repo file
 
Old 02-13-2013, 12:41 AM   #12
John VV
Guru
 
Registered: Aug 2005
Posts: 13,231

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
linuxexplore you are aware that this thread is 13 months old .
my last post was on " 01-28-12" 2012

and centos 6.1 is no longer supported 6.3 is

mind you that cent like RHEL will never change the major version of a program over the 10/13 year life span
third party repos might but not the base and updates
 
  


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
Libre Office database jdtiede Linux - Software 1 12-11-2011 05:22 AM
install libre office mposwal Slackware 12 11-03-2011 08:34 PM
[SOLVED] PNG in .doc files in Libre/Open Office darkduck Linux - Software 3 03-03-2011 07:29 PM
LXer: Libre Office Initial plans for the free office suite [German] LXer Syndicated Linux News 2 11-14-2010 06:14 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration