SoftMaker Office: Difference between revisions
imported>Yannickloth Explain how to install latest and previous editions of SoftMaker Office |
imported>Yannickloth No edit summary |
||
Line 48: | Line 48: | ||
2. Generate the sha256 hash (don't forget to fix the path and filename of the .tgz) : <syntaxhighlight lang="sh">nix to-sri --type sha256 $(sha256sum ~/Downloads/softmaker-office-2018-982-amd64.tgz | cut -d ' ' -f1)</syntaxhighlight> | 2. Generate the sha256 hash (don't forget to fix the path and filename of the .tgz) : <syntaxhighlight lang="sh">nix to-sri --type sha256 $(sha256sum ~/Downloads/softmaker-office-2018-982-amd64.tgz | cut -d ' ' -f1)</syntaxhighlight> | ||
3. Add the specification into {{ic|/etc/nixos/configuration.nix}} as for installing the 2018 edition, and adapt the three variables with your values ({{ic|edition}}, {{ic|version}} and {{ic|sha256}}). | 3. Add the specification into {{ic|/etc/nixos/configuration.nix}} as for installing the 2018 edition, and adapt the three variables with your values ({{ic|edition}}, {{ic|version}} and {{ic|sha256}}). | ||
[[Category:Guide]] |
Revision as of 16:14, 28 May 2021
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.
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)
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
).