C8 Install Libreoffice

Home » CentOS » C8 Install Libreoffice
CentOS 9 Comments

How do you install libreoffice. yum install libreoffice did not do it, doing a search on “CentOS 8 install libreoffice” did not provide anything. Thanks

Jerry

9 thoughts on - C8 Install Libreoffice

  • There is no single package libreoffice in CentOS 8. Instead there are several packages for each libreoffice component like libreoffice-calc, libreoffice-draw and so on.

    You may like to install all of them by executing

    yum group install “Office Suite and Productivity”

    Best regards Ulf

  • Alternatively you may like to learn how to use your package manager to get answers to your questions.

    …snip
    # yum search libreoffice
    … snap…

  • The RHEL 8 Release Notes mention several package managers. Yum3, the older python-based version we have known, yum4, also python but based on the dnf backend, and dnf.

    I assume there is a /usr/bin/yum. Is it yum3 or yum4?

    Is yum4 really dnf in disguise?
    Or is it something intermediate between yum3 and dnf?

    Jon

  • Well, libreoffice packages ARE in AppStream, and a ‘yum list|grep
    ^libreoffice shows a bunch, but there’s no blanket ‘libreoffice’
    package, you’ll need to install each component.

  • There’s some funniness with the groups though:

    # yum group list Last metadata expiration check: 0:00:45 ago on Sun 29 Sep 2019 21:52:39
    BST. Available Environment Groups:
    Server with GUI
    Server
    Minimal Install
    KDE Plasma Workspaces
    Virtualization Host
    Custom Operating System Installed Environment Groups:
    Workstation Available Groups:
    Container Management
    .NET Core Development
    RPM Development Tools
    Smart Card Support
    Development Tools
    Graphical Administration Tools
    Headless Management
    Legacy UNIX Compatibility
    Network Servers
    Scientific Support
    Security Tools
    System Tools
    Fedora Packager

    Can’t see qny sort of office there, however when I do
    # yum group info “office*”
    all the expected LibreOffice stuff is there.

  • You never stop learning. For the last 10 years (my old cluster came with 5.3) I’ve tended to think that groups were a “nice idea” that no-one ever bothered to implement properly. I never realised that all the interesting groups were hidden! Thank goodness for “yum search” and for C5 “yum list | grep”.