LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ¿How can i only install *some* parts of LibreOffice on Manjaro Linux? (https://www.linuxquestions.org/questions/linux-software-2/%BFhow-can-i-only-install-%2Asome%2A-parts-of-libreoffice-on-manjaro-linux-4175686518/)

yabobay 12-09-2020 02:22 AM

¿How can i only install *some* parts of LibreOffice on Manjaro Linux?
 
Hi, i'm on Manjaro Linux using libreoffice-fresh and the package installs every component of the office suite. I only ever tend to use Calc as well as Writer, so how would i have only those installed? The others are just on my computer serving no purpose.

pan64 12-09-2020 02:32 AM

I guess (theoretically) you can [try to] install only libreoffice-calc and/or libreoffice-writer if you wish but will anyway add a lot of common packages too (like libreoffice-base-core, libreoffice-common and others).

l4tt3 12-09-2020 05:45 AM

You unfortunately can't do this (at least with standard Arch-based package installation). The libreoffice-fresh package contains all LibreOffice applications, including Calc.

I thought there might be an AUR package doing what you want, but I can't find one. You could install libreoffice-fresh and then manually delete the files you don't want if you really want to do this, but I wouldn't recommend it.

teckk 12-09-2020 08:20 AM

Code:

pacman -Si libreoffice-still
...
Name            : libreoffice-still
Version        : 6.4.7-4
Description    : LibreOffice maintenance branch
Architecture    : x86_64
URL            : https://www.libreoffice.org/
...
Provides        : libreoffice  libreoffice-en-US
Depends On      : curl>=7.20.0  hunspell>=1.2.8  python>=3.7  libwpd>=0.9.2  libwps  neon>=0.28.6  pango  nspr  libjpeg  libxrandr  libgl  libxslt  redland hyphen  lpsolve  gcc-libs  sh  graphite  icu  lcms2  poppler>=0.24.0  libvisio  libetonyek  libodfgen  libcdr  libmspub  harfbuzz-icu  nss clucene  hicolor-icon-theme  desktop-file-utils  shared-mime-info  libpagemaker  libxinerama  libabw  libmwaw  libe-book  libcups liblangtag  libexttextcat  libcmis  libtommath  libzmf  libatomic_ops  xmlsec  gpgme  libnumbertext  libfreehand  libstaroffice  libepubgen libqxp  libepoxy

Optional Deps  : java-runtime: adds java support
                  java-environment: required by extension-wiki-publisher and extension-nlpsolver
                  pstoedit: translates PostScript and PDF graphics into other vector formats
                  libmythes: for use in thesaurus
                  beanshell: interactive java -- good for prototyping/macros
                  libwpg: library for importing and converting WordPerfect Graphics format
                  sane: for scanner access
                  unixodbc: adds ODBC database support
                  gst-plugins-base-libs: for multimedia content, e.g. in Impress
                  libpaper: takes care of papersize
                  postgresql-libs: for postgresql-connector
                  mariadb-libs: for mysql-connector
                  coin-or-mp: required by the Calc solver
                  gtk3: for GTK3 integration
                  kio: for KF5 KDE desktop integration
Conflicts With  : libreoffice-fresh
Replaces        : None
Download Size  : 131.64 MiB
Installed Size  : 397.18 MiB
...

That's just a huge piece of software.

There are alternatives, that don't work as well
Code:

pacman -Si abiword
...
Name            : abiword
Version        : 3.0.4-3
Description    : Fully-featured word processor
Architecture    : x86_64
URL            : https://www.abisource.com
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : fribidi  wv  goffice  librsvg  enchant  desktop-file-utils  redland  libical  gtk-update-icon-cache  loudmouth  libwpg  libwps  libwmf link-grammar  gtkmathview  aiksaurus  libxslt  libsoup  libots  libgsf  psiconv
Optional Deps  : None
Conflicts With  : abiword-plugins
Replaces        : abiword-plugins
Download Size  : 5.04 MiB
Installed Size  : 23.30 MiB
...


sgosnell 12-09-2020 10:25 AM

The way it's configured, the remaining components - Draw, Math, and Impress - don't really take up that much disk space. I suppose you could try uninstalling those packages, but I don't know what the unintended consequences would be.

EdGr 12-09-2020 10:51 AM

LibreOffice is one program with libraries for the various applications. Doing everything in one program is very impressive engineering, but not modular.
Ed

sgosnell 12-09-2020 11:04 AM

Libreoffice has separate packages for each component, in addition to common libraries. I think it's possible to install only one component, but I've never bothered to try that. I don't know what libraries would be installed that way.

l4tt3 12-09-2020 11:27 AM

Quote:

Originally Posted by sgosnell (Post 6193502)
Libreoffice has separate packages for each component, in addition to common libraries. I think it's possible to install only one component, but I've never bothered to try that. I don't know what libraries would be installed that way.

Debian does have separate packages, but Manjaro's Arch repositories don't

ondoho 12-09-2020 02:03 PM

Quote:

Originally Posted by l4tt3 (Post 6193514)
Debian does have separate packages, but Manjaro's Arch repositories don't

And that should enable one to create an installable Arch package from that:
https://bbs.archlinux.org/viewtopic.php?id=187558

sgosnell 12-09-2020 06:40 PM

If Manjaro chooses to do it that way, that's not the fault of the LibreOffice deveopers. The suite is about as modular as an office suite could be, other than having separate programs and no actual suite.

teckk 12-10-2020 07:34 AM

To the OP.

If you want to alter an official arch package, go get the PKGBUILD, edit it, edit the source if you need to, use makepkg, install it with pacman. Then after you build it and install it, you are responsible for it.

Read these.
https://wiki.archlinux.org/index.php/Arch_Build_System
https://wiki.archlinux.org/index.php/Pacman
https://wiki.archlinux.org/index.php/Makepkg

https://www.archlinux.org/packages/e...eoffice-fresh/

Here is the PKGBUILD
https://github.com/archlinux/svntogi...trunk/PKGBUILD

You can get the source files and alter them however you wish.

Bunch of libre in the AUR. You can get an idea of how to make a PKGBUILD for what you are trying to do.
https://aur.archlinux.org/packages/?K=libreoffice&SB=p

You are not stuck.

DownSouth 12-10-2020 08:07 AM

Quote:

Originally Posted by yabobay (Post 6193302)
Hi, i'm on Manjaro Linux using libreoffice-fresh and the package installs every component of the office suite. I only ever tend to use Calc as well as Writer, so how would i have only those installed? The others are just on my computer serving no purpose.

The simple answer - and the one you probably don't want to hear - is to consider switching to Ubuntu where Calc & Writer
are available individually. Depends how important these are for you. Also, from what other people say on here you would
avoid Manjaro's Microsoft-like updates. :-). And, as teckk said: "that is a huge piece of software".

yabobay 12-10-2020 11:33 AM

Quote:

Originally Posted by DownSouth (Post 6193901)
The simple answer - and the one you probably don't want to hear - is to consider switching to Ubuntu where Calc & Writer
are available individually. Depends how important these are for you. Also, from what other people say on here you would
avoid Manjaro's Microsoft-like updates. :-). And, as teckk said: "that is a huge piece of software".

(I'm replying to this post but i've read all of the replies though.)

Well, i guess then that's not that important. Also how does Manjaro have Microsoft-like updates?

DownSouth 12-12-2020 04:27 AM

Quote:

Originally Posted by yabobay (Post 6193990)
(I'm replying to this post but i've read all of the replies though.)

Well, i guess then that's not that important. Also how does Manjaro have Microsoft-like updates?


Hello yabobay

As for the updates, have a look at Manjaro's sub-forum in "Distributions".
(and that wasn't meant to be an entirely serious comment...)

Regarding your original post - it appeared important enough to create a thread, and I would suggest if it is that important then why not create a USB with Ubuntu (or one of the lighter versions) and run Calc & Writer off that? Best of both worlds. :-)


All times are GMT -5. The time now is 09:50 PM.