MkPage Project is a set of command line programs run from a shell like Bash. NOTE: mkpage depends on Pandoc (>= v3).
The following experimental installer should work for macOS and Linux (e.g. Debian, Ubuntu, Raspberry Pi OS)
Copy and run the following command in your shell (e.g. Terminal)
curl https://caltechlibrary.github.io/mkpage/installer.sh | sh
With Windows you can use the Powershell command.
irm https://caltechlibrary.github.io/mkpage/installer.ps1 | iex
For latest the released versions of mkpage
go to the
project page on GitHub and click latest release
https://github.com/caltechlibrary/mkpage/releases/latest
You will seea list of filenames is in the form of
mkpage-VERSION_NO-PLATFORM_NAME.zip
.
VERSION_NUMBER is a symantic version number (e.g. v0.1.1)
PLATFROM_NAME is a description of a platform (e.g. windows-amd64, macos-amd64).
Compiled versions are available for macOS (Intel and M1/M2 processors, macOS-x86_64, macOS-arm64), Linux (Intel processor, Linux-x86_64), Windows (Intel processor, Windows-x86_64) and Rapsberry Pi (ARM7 processor, RaspberryPiOS-arm7).
Platform | Zip Filename |
---|---|
Windows (Intel) | mkpage-VERSION_NUMBER-Windows-x86_64.zip |
Windows (ARM64) | mkpage-VERSION_NUMBER-Windows-x86_64.zip |
macOS (Intel) | mkpage-VERSION_NUMBER-macOS-x86_64.zip |
macOS (M1/M2) | mkpage-VERSION_NUMBER-macOS-arm64.zip |
Linux (Intel) | mkpage-VERSION_NUMBER-Linux-x86_64.zip |
Linux (ARM64) | mkpage-VERSION_NUMBER-Linux-aarch64.zip |
Raspbery Pi | mkpage-VERSION_NUMBER-RaspberryPiOS-arm7.zip |
Here’s an example of the commands run in the Terminal App after downloading the zip file.
cd Downloads/
unzip mkpage-*-macOS-x86_64.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
mkpage -version
Here’s an example of the commands run in from the Bash shell on Windows 10 after downloading the zip file.
cd Downloads/
unzip mkpage-*-Windows-x86_64.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
mkpage -version
$HOME/bin
(or a folder in your
path)
Here’s an example of the commands run in from the Bash shell after downloading the zip file.
cd Downloads/
unzip mkpage-*-Linux-x86_64.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
mkpage -version
Released version is for a Raspberry Pi 2 or later use (i.e. requires ARM 7 support).
$HOME/bin
(or a folder in your
path)
Here’s an example of the commands run in from the Bash shell after downloading the zip file.
cd Downloads/
unzip mkpage-*-RaspberryPiOS-arm7.zip
mkdir -p $HOME/bin
cp -v bin/* $HOME/bin/
export PATH=$HOME/bin:$PATH
mkpage -version
mkpage is “go gettable”. Use the “go get” command to download the dependant packages as well as mkpage’s source code.
go get -u github.com/caltechlibrary/pkgassets/...
go get -u github.com/caltechlibrary/mkpage/...
Or clone the repository and then compile
cd
git clone https://github.com/caltechlibrary/pkgassets src/github.com/caltechlibrary/pkgassets
cd src/github.com/caltechlibrary/pkgassets
make
make test
make install
cd
git clone https://github.com/caltechlibrary/mkpage src/github.com/caltechlibrary/mkpage
cd src/github.com/caltechlibrary/mkpage
make
make test
make install