Build Notion packages for Redhat, using resources extracted from Notion's Windows or macOS packages.
See Releases
-
Install Node.js, e.g. using dnf:
sudo dnf install nodejs
-
Install
asar
,electron-packager
andelectron-installer-debian
:sudo npm -g install asar electron-packager electron-installer-redhat electron-installer-debian
-
Install packages required for
7z
,convert
,fakeroot
anddpkg
.Using Redhat:
sudo dnf install p7zip-plugins ImageMagick fakeroot
Or, using macOS:
brew install p7zip imagemagick fakeroot dpkg
-
Download the latest Notion Windows or macOS installer, as
notion.exe
ornotion.dmg
respectively, e.g. using wget:wget 'https://desktop-release.notion-static.com/Notion%20Setup%202.0.8.exe' -O notion.exe
Run the build script:
./build.sh <platform>
replacing <platform>
with either windows
or mac
, depending on which sources you would like to build from.
Once complete, you should have a RPM package in the dist/installers
directory.