Vagrant
Vagrant
- Install VirtualBox version 6.1.16 either by downloading the installer from the VirtualBox website or using your package manager. We have tested on version 6.1.16, but it is possible that other Virtualbox 6.1 releases will also work.
- Open VirtualBox, and leave it open.
- Download, then install the VirtualBox extensions for your VirtualBox Version. After downloading the file, you have to actually install the extensions. If you click on
Preferences > Extensionsyou will see a green+icon that allows you to add extensions. Select the file you downloaded. - Install Vagrant version 2.2.10 either using your package manager or by using the installer from the Vagrant website. Any version of Vagrant >= 2.2.7 will probably work, but we’ve only tested 2.2.10.
- Create a directory on your machine where you want ACL2s to reside.
- Place the following Vagrantfile in that newly-created directory. Ensure that the file doesn’t have any extension; it should be just
Vagrantfile. - In this same newly-created directory, create a sub-directory named
workspace. This will be a synced directory, allowing you to access your ACL2s files outside of the virtual machine. (Read about virtual machines if you do not know what a synced directory is.) Do not enterworkspace, stay in this same directory. -
In the directory we had you create (the one we suggested naming
acl2s) enter the following command in a terminal:vagrant upThis will take a while (perhaps up to ~10 minutes) as your computer downloads a collection of files and creates your virtual machine. Do not close the VirtualBox or move on to the next step until the process is done. You will know the installation finished when that terminal where you ran
vagrant upprints your shell prompt again. -
After this finishes, in the same terminal and in the directory we suggested naming
acl2s(NB not the VirtualBox window), start ACL2s by typing the following commands:vagrant ssh -- -Y eclipseIf you get errors about not being able to set the display, you may need to install
xauthusing your package manager (xauthon Ubuntu,xorg-xauthon Arch,xorg-x11-xauthon Fedora). If that fails, you can consider using the Startx Option. - Make sure that you choose the default workspace location so that the aforementioned synced directories.
- When you close the
VirtualBoxmachine choose thePower off machineoption. You have other options, but this is the most robust. - To restart ACL2s later follow the instructions above starting with the
vagrant upstep.
Startx Option
This is optional, but potentially useful if you have persistent display problems with vagrant ssh. After following the above installion instructions, to run ACL2s inside the VM you would
- Open a terminal.
- Go to the directory we suggested naming
acl2s. - If the VM is not running, start it with
vagrant up. -
Log into the VirtualBox VM window.
login: vagrant password: vagrantIf the text in the VM is very small, you can change the scaling of the virtual screen (View -> Virtual Screen 1 -> 200% (or whatever value you want)). You can also use the VirtualBox menu,
Machine > Settingsto change display settings. -
After logging in, at the command line type
startxfce4This will open up a window manager (i.e. “GUI”)
- Click on
eclipse.shon your desktop. - Make sure that you choose the default workspace location so that the synced directories work mentioned above work.
- When you close the VirtualBox machine choose the
Power off machineoption. You have other options, but this is the most robust.