SoftMaker Office: Difference between revisions

From NixOS Wiki
imported>Yannickloth
No edit summary
imported>Yannickloth
m Yannickloth moved page SoftMakerOffice to SoftMaker Office: Title is not correct without space
(No difference)

Revision as of 16:15, 28 May 2021

Note: This package is unfree and requires extra steps to install.

SoftMaker Office is a proprietary office suite from SoftMaker (https://www.softmaker.com/en).

Users buy a license for a given edition (let's say "2018") and can the install all versions of this edition (usually, each edition has multiple versions). This edition is eventually replaced by a newer one, for which a new license is needed. Users remain able to install older editions for which they acquired a license, but can't use newer editions with their old license.

This guide explains how to install SoftMaker office.

Note: With the current packaging (2021-05-28), it is not possible to install multiple editions (let's say 2016 and 2021) of SoftMaker Office simultaneously.

Installing the latest version (of the latest edition) of SoftMaker Office

As of 2021-05-28: edition: SoftMaker Office 2021; version: 1030

Simply add softmaker-office to your system packages:

environment = {
    systemPackages = with pkgs; [
        softmaker-office
    ];
};

Installing a previous edition of SoftMaker Office

You'll need to override the package configuration.

Install SoftMaker Office 2018

environment = {
    systemPackages = with pkgs; [
        (softmaker-office.override {
            officeVersion = {
                edition = "2018";
                version = "982";
                sha256 = "A45q/irWxKTLszyd7Rv56WeqkwHtWg4zY9YVxqA/KmQ=";
             };
         })
    ];
};

Install other editions (2016)

Note: This has not been tested yet, but should work.

1. Go to https://www.softmaker.com/en/old-versions, and download the corresponding amd64 .tgz file (for Linux). Take note of the edition and version.

2. Generate the sha256 hash (don't forget to fix the path and filename of the .tgz) :

nix to-sri --type sha256 $(sha256sum ~/Downloads/softmaker-office-2018-982-amd64.tgz | cut -d ' ' -f1)

3. Add the specification into /etc/nixos/configuration.nix as for installing the 2018 edition, and adapt the three variables with your values (edition, version and sha256).