Here we go.
Installing ACL2s on Windows
(N.B. You need about 9GB of free space on your hard drive to install and run the VM.)
- Install VirtualBox version 6.0.14. This is the VM we will be using to run ACL2s. We require version is 6.0.14 because we have tested with this version; other versions may cause installation problems later. The latest version 6.1 is not supported by vagrant, which we need, so certainly do not use it.
- Open VirtualBox, and leave it open.
- Download, then install the VirtualBox extensions for VirtualBox Version 6.0.14. 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.6 (x86_64) (i686).
- Open Powershell or another terminal of your choosing; keep it open.
- On your machine, from that terminal, create a directory right inside your home folder where you want ACL2s to reside—for instance
acl2s. Make sure there are no spaces in the full directory name or path. (If you do not understand this step so far, read an introduction to basic unix commands, and then return.) - Place the following Vagrantfile in that newly-created directory. In your terminal, rename the file to just
Vagrantfile. We say to do this in an terminal to make sure-sure that you removed the.txtextension. - 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 (again, in the terminal you have open)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. If you get errors about VT-x being disabled, look see this post. You have to enable virtualization technology in your bios. -
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
startxThis 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. - To restart ACL2s later follow the instructions above starting with the
vagrant upstep.
XServer Option
This is optional, but for those of you who you have an Xserver on your machine, such as Xming, you can run ACL2s using your Xserver instead of logging into the VM.
-
Type the following commands in an xterm/terminal/powershell from the acl2 directory.
vagrant ssh -- -X eclipse - 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.