Ask Your Question
1

LibreOffice Fresh repository for Fedora 20 and later?

asked 2014-11-03 04:44:29 -0500

penyuan gravatar image

updated 2014-11-05 11:50:12 -0500

Hello,

I am running a fully updated instance of Fedora 20, and it has been working well! Thanks so much to all that made this possible!

Anyway, I noticed that by defauly Yum Extender installs LibreOffice 4.2.x from the default repositories, but I would like to always use the Fresh version of LibreOffice (currently the 4.3.x series). I know I could just try to install from the RPM from the LibreOffice website and that Fedora 21 might come with 4.3.x, but I strongly prefer managing this installation semi-automatically from a repository, and being able to choose the specific programs I want (e.g. just Writer, Calc, and Impress).

Does such a solution exist? If so, where and how? Thank you!

EDIT: Unofficial, but fairly regularly updated, repositories are acceptable, too.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2014-11-03 09:38:28 -0500

cgonz31 gravatar image

updated 2014-11-03 09:41:36 -0500

I don't think there are any official LibreOffice RPM repos. If you really want the latest version you will have to download, install, and update yourself by downloading the packages from LibreOffice and updating through yum. The F20 repo only has 4.2.x version. F21 does have 4.3.2.2-5.fc21 version from the F21 repo. But as new versions are released by LibreOffice, I think the repo will not keep up with them. Soon we might be using a previous release and you will need to update yourself if you want to keep up. If you do decide you want to use the LibreOffice "Fresh" version, do not install the F20 repo version. It might cause conflicts.

Personally, I use the F20 (now F21) repo because of the integration through yum and automatic updates. I do not see the advantage of using the latest version if I have to update myself. Plus the LibreOffice version comes with a bunch of extra libraries that are not used by anything else but LibreOffice. The Fedora repo version uses libraries already integrated in Fedora. And through yum, you can select the specific LibreOffice programs you want to install.

edit flag offensive delete link more

Comments

Thanks for your reply! I agree and also like the yum integration that comes with default Fedora. I wonder if there is even an unofficial repository available? I've edited the OP to reflect this.

penyuan gravatar imagepenyuan ( 2014-11-05 11:52:00 -0500 )edit

I don't know. Besides official repos maintained by software companies such as Adobe, Oracle, Google, the only "unofficial" repo I use is RPM Fusion. Even if you find an "unofficial" LibreOffice repo, I would suggest against using it. Who knows what else the packages may contain... The ideal case would be if LibreOffice maintained an official "Fresh" repo but they don't.

cgonz31 gravatar imagecgonz31 ( 2014-11-05 13:55:18 -0500 )edit
1

answered 2014-11-03 12:20:34 -0500

sergiomb gravatar image

updated 2014-11-06 15:33:00 -0500

you have lot of solutions since libreoffice is a little heavy , I suggest use copr , request a build for F20 with https://kojipkgs.fedoraproject.org//packages/libreoffice/4.3.3.1/2.fc22/src/libreoffice-4.3.3.1-2.fc22.src.rpm but may not meet the requirements . yeah does not meet the requirements :

Error: No Package found for pkgconfig(libabw-0.1)
Error: No Package found for pkgconfig(libcdr-0.1)
Error: No Package found for pkgconfig(libe-book-0.1)
Error: No Package found for pkgconfig(libetonyek-0.1)
Error: No Package found for pkgconfig(libfreehand-0.1)
Error: No Package found for pkgconfig(libgltf-0.0)
Error: No Package found for pkgconfig(libmspub-0.1)
Error: No Package found for pkgconfig(libmwaw-0.3)
Error: No Package found for pkgconfig(libodfgen-0.1)
Error: No Package found for pkgconfig(liborcus-0.8)
Error: No Package found for pkgconfig(librevenge-0.0)
Error: No Package found for pkgconfig(libvisio-0.1)
Error: No Package found for pkgconfig(libwpd-0.10)
Error: No Package found for pkgconfig(libwpg-0.3)

so other way :

yum install fedpkg mock (as root) 
/usr/sbin/usermod -a -G mock $USER (also as root) , see man mock

as your user :

fedpkg clone libreoffice -a ( you need -a for anonymous clone , by default try use your fas user ) 
cd libreoffice
fedpkg srpm ( to donwload libreoffice-4.3.3.2.tar.xz from F22) 
fedpkg switch-branch f20
vi libreoffice.spec

change 2nd line:

-%define libo_version 4.2.7
+%define libo_version 4.3.3

and finally :

fedpkg srpm;

send src.rpm to http://copr.fedoraproject.org/ or

mock -r fedora-20-x86_64 --no-clean --rebuild ./libreoffice-4.3.3.2-5.fc20.src.rpm

UPDATE: sorry also doesn't work , it works for small packages this one is very very big , so I'm giving up Sorry

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-11-03 04:44:29 -0500

Seen: 4,358 times

Last updated: Nov 06 '14