SoftMaker Office: Difference between revisions
imported>Yannickloth fix hash/sha256 for 21.05 |
imported>Yannickloth m Add instructions to install SoftMaker Office 2021 version 1060 |
||
Line 11: | Line 11: | ||
== Installing the latest version (of the latest edition) of SoftMaker Office == | == Installing the latest version (of the latest edition) of SoftMaker Office == | ||
'''As of 2021-05-28:''' edition: SoftMaker Office 2021; version: | === SoftMaker Office 2021; version: 1032 === | ||
'''As of 2021-05-28:''' edition: SoftMaker Office 2021; version: 1032 | |||
Simply add softmaker-office to your system packages: | Simply add softmaker-office to your system packages: | ||
Line 19: | Line 20: | ||
systemPackages = with pkgs; [ | systemPackages = with pkgs; [ | ||
softmaker-office | softmaker-office | ||
]; | |||
}; | |||
</syntaxhighlight> | |||
=== SoftMaker Office 2021; version: 1060 === | |||
<syntaxhighlight lang="nix"> | |||
environment = { | |||
systemPackages = with pkgs; [ | |||
(softmaker-office.override { | |||
officeVersion = { | |||
edition = "2021"; | |||
version = "1060"; | |||
hash = "sha256-cS+sDwN2EALxhbm83iTdu9iQe4VEe/4fo6rGH1Z54P0="; | |||
}; | |||
}) | |||
]; | ]; | ||
}; | }; |
Revision as of 09:52, 2 November 2023
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
SoftMaker Office 2021; version: 1032
As of 2021-05-28: edition: SoftMaker Office 2021; version: 1032
Simply add softmaker-office to your system packages:
environment = {
systemPackages = with pkgs; [
softmaker-office
];
};
SoftMaker Office 2021; version: 1060
environment = {
systemPackages = with pkgs; [
(softmaker-office.override {
officeVersion = {
edition = "2021";
version = "1060";
hash = "sha256-cS+sDwN2EALxhbm83iTdu9iQe4VEe/4fo6rGH1Z54P0=";
};
})
];
};
Installing a previous edition of SoftMaker Office
You'll need to override the package configuration.
Install SoftMaker Office 2018
On NixOS 21.05
environment = {
systemPackages = with pkgs; [
(softmaker-office.override {
officeVersion = {
edition = "2018";
version = "982";
hash = "sha256-A45q/irWxKTLszyd7Rv56WeqkwHtWg4zY9YVxqA/KmQ=";
};
})
];
};
On NixOS 20.09
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
).