Installing Mayhap on macOS, Windows and Linux
Mayhap is a desktop app for macOS, Windows and Linux, and one licence covers all three. How you install it decides how it gets new versions: a copy installed from mayhap.app updates itself, while a copy a package manager installed is updated by that package manager.
Downloading Mayhap
To get started, open the Download page. It offers the installer for the system you're on, with the others listed under it. The same download works with or without a licence key: Mayhap opens your documents straight away, and a key lets you write in them.
Mayhap runs on:
- macOS
- macOS 10.15 Catalina or newer, on Apple silicon and Intel.
- Windows
- Windows 10 or newer, 64-bit.
- Linux
- 64-bit, with glibc 2.31 or newer: Ubuntu 20.04, Debian 11, Fedora 32 or later. It runs on Wayland or X11 and needs a Vulkan driver.
Installing on macOS
Mayhap for macOS comes as a disk image, Mayhap-1.0.0-macos-universal.dmg. Open it, and a window shows Mayhap on the left and your Applications folder on the right. Drag Mayhap onto Applications, then start it from Applications or Launchpad.
Once Mayhap is in Applications, you may eject the disk image and delete it. From then on, .mayhap files open in Mayhap from Finder, and Mayhap updates itself when a new version comes out. You can learn more about this in Updates.
Installing on Windows
On Windows, open the setup, Mayhap-1.0.0-windows-x86_64-setup.exe. It installs Mayhap for your Windows account only, so it never asks for administrator rights. The setup walks you through the licence, the folder (%LOCALAPPDATA%\Programs\Mayhap unless you choose another) and whether you'd like a desktop shortcut. The Start menu entry is always made.
On the last page, leave Launch Mayhap ticked to start it. From then on, .mayhap files open in Mayhap from Explorer. A newer setup run later updates the copy you have in place; if Mayhap is open, the setup offers to close it first.
Linux: choosing a package
Linux has a few ways in, and each gives you the whole of Mayhap. Pick the one that suits how you keep your other apps. The AppImage runs on any distribution without installing anything. The .deb and .rpm packages let your system's updates bring new versions. A single command installs Mayhap for you alone, without a package.
Whichever you choose, Mayhap keeps AI keys in your desktop's keyring, such as GNOME Keyring or KWallet.
Linux: the AppImage
The AppImage, Mayhap-1.0.0-x86_64.AppImage, works on any distribution. Before its first start, allow it to run as a program. In most file managers that's a checkbox in the file's Properties. In a terminal, run this in the folder you downloaded it to:
chmod +x Mayhap-1.0.0-x86_64.AppImageThen double-click it.
The AppImage updates itself, replacing its own file with the new version.
Linux: Ubuntu, Debian and Mint
On Ubuntu, Debian and Mint, download the .deb and open it with your software installer, or install it from a terminal:
sudo apt install ./mayhap-1.0.0-linux-x86_64.debAlong with Mayhap, the package adds Mayhap's own apt repository and its signing key. This is so new versions arrive with your system's other updates.
Linux: Fedora and openSUSE
On Fedora, install the .rpm with dnf. Like the .deb, it adds Mayhap's repository, so dnf brings the updates:
sudo dnf install ./mayhap-1.0.0-linux-x86_64.rpmOn openSUSE, zypper installs it:
sudo zypper install ./mayhap-1.0.0-linux-x86_64.rpmHowever, zypper doesn't read that repository, so to update you install the newer .rpm the same way.
Linux: one command
If you would like Mayhap without a package, run this in a terminal:
curl -fL https://mayhap.app/install.sh | shThe script downloads the latest version, checks it, and installs it for you alone in ~/.local, with its entry in your app launcher. If your system lacks a library Mayhap needs, the script names it, so you may install it with your package manager.
A copy installed this way updates itself.
Linux: Arch and the AUR
On Arch Linux and the distributions built on it, Mayhap is in the AUR as mayhap-bin. Install it with your AUR helper, for example yay:
yay -S mayhap-binIt then updates with your other packages.
If your system warns you
The first time you open an app downloaded from a website, your system may ask whether you trust it before it starts.
- macOS
- If macOS says it can't open Mayhap or can't check it, Control-click Mayhap in Applications, choose Open, then Open again in the message. If the message offers no Open, go to System Settings › Privacy & Security, scroll down to Security and click Open Anyway beside the line about Mayhap.
- Windows
- If a window says Windows protected your PC, click More info, then Run anyway.
The first start
The first time Mayhap starts, it opens A first page, a short document that shows how Mayhap works by letting you try it. You may type on it without a key. Once you're ready to write your own pages, you'll need a licence key: Your licence key explains buying and adding one.
Removing Mayhap
Removing Mayhap never touches your documents or your settings. They stay where they are, ready for the next time you install it. If you're leaving this computer for good, free its seat first, as Your computers explains.
- macOS
- Drag Mayhap from Applications to the Trash.
- Windows
- Open Settings › Apps, find Mayhap and choose Uninstall.
- Linux
- Remove it the way you installed it. Delete the AppImage's file, or remove the package with your package manager, as below.
On Ubuntu, Debian and Mint:
sudo apt remove mayhapOn Fedora:
sudo dnf remove mayhapOn Arch Linux:
sudo pacman -R mayhap-binFor the one-command install, run the script again with --uninstall:
curl -fL https://mayhap.app/install.sh | sh -s -- --uninstall