Installing AMC on macOS with MacPorts¶
The installation guide requires some knowledge about Unix tools, the use of command lines, the installation of MacPorts. You must also have administrative rights on the computer. It is therefore not intended for everyone.
To work with its interface, AMC requires the Linux Libertine and the MacPorts installation system.
Linux Libertine font¶
Linux Libertine font is a free font that covers code pages for Latin languages, Greek, Cyrillic languages, Hebrew, the International Phonetic Alphabet (and other). You need to download the package "OTF" on sourceforge site.
Caution: X Window System does not recognize the fonts installed in the user's folder. You must install the fonts by moving them in the "
MacPorts is a system that compiles, installs and manages open source software. You need to download the installation package for your version of macOS from the MacPorts and install MacPorts. Follow the instructions carefully and don't forget to install Xcode.
It is possible to install one of the two versions of AMC. Either the
stable version (currently, version 1.6.0 of 2/6/2023), or the
development version (currently, also version 1.6.0 of 2/6/2023). The
stable version evolves slowly and version changes are infrequent. Several months or years may pass between two version changes. The
development version is subject to more frequent changes. Some of the new features have not been fully tested and may not work as expected but many corrections are incorporated to the development version.
It is not possible to install both the
stable and the
development version. If one of these versions is installed, you must uninstall it before installing the other version.
For installation and operation AMC requires a
LaTeX environment. The standard installation will use MacPorts to install this environment. If you are using MacTeX and want AMC to use
MacTeX instead of the MacPort environment, the installation process differs from the standard installation. You should follow either the instructions of the standard installation, or those of the installation of a version of AMC using MacTeX. These descriptions assume that you have a fresh and up-to-date MacPorts installation.
If needed, update you Macports installation with the following commands.
sudo port selfupdate sudo port upgrade outdated
The standard installation uses MacPorts to install the LaTeX environment needed by AMC. Use the following command to install the
stable version of AMC.
sudo port install auto-multiple-choice -x11 +no_x11 +quartz
Or use the following command to install the
development version of AMC.
sudo port install auto-multiple-choice-devel -x11 +no_x11 +quartz
Installing AMC for use with MacTeX¶
MacPorts build tools must be able to access MacTeX tools. For example, with the MacTeX 2018 installation, these tools are available in the
"/Library/TeX/texbin" folder. The MacPorts configuration needs to be changed to include this folder in MacPorts
Be careful, as noted in the MacPorts documentation, changing MacPorts'
path can have unpredictable effects and consequences for others tools. It must be avoided.
/opt/local/etc/macports/macports.conf file to add the following line.
For the stable version of AMC, you must start the installation with the following command.
sudo port install auto-multiple-choice +mactex
And for the development version of AMC it is necessary to use the command which follows.
sudo port install auto-multiple-choice-devel +mactex
The installation may take a while. When it is complete and if there is no error, AMC is ready to be used.
You should start from the terminal.
This command will launch AMC application.
AMC window should appear.
Auto-multiple-choice is now ready to work.