Installing ACL2s on Windows
Installation instructions
Note: You need about 9GB of free space on your hard drive to install and run the VM- Install VirtualBox. This is the VM we will be using to run ACL2s. We recommended that you use version is 6.0.14 because we have tested with this version, so other versions may cause installation problems later. Similarly, the latest version 6.1 is not supported by vagrant, so do not use it.
- Install the VirtualBox extensions. Maku sure the version number of the extension pack matches the version number of VirtualBox. The above link is for 6.0.14. After downloading the file, you have to open VirtualBox and install the extensions. If you click on "Preferences" and "Extensions" you will see a green "+" icon that allows you to add extensions. Select the file you downloaded.
- Install vagrant.The recommended version is Vagrant 2.2.6.
- Create a directory (if you do not know what this is, read an
introduction to basic unix commands, as suggested above) on your
machine, say
acl2s
, where you want ACL2s to reside. Make sure there are no spaces in the full directory name. Place the following Vagrantfile. Rename the file to justVagrantfile
(do this in an xterm to make sure that that ".txt" extension is gone). In the sameacl2s
directory create a subdirectory with the nameworkspace
. 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.) - In the
acl2s
directory enter the following command (using Powershell or another terminal)
This will take a while (~10 minutes) as various files are downloaded and your virtual machine is created. Do not close the VirtualBox or move on to the next step until the process is done. You will know the process is done when the terminal in which the vagrant up command was run prints your shell prompt again. If you get errors about VT-x being disabled, look see this. You have to enable virtualization technology in your bios.vagrant up
- Once the above finishes, log into your new machine (the
VirtualBox VM window). Alternatively, see the
XServer Option. If 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
, thenSettings
to chage display settings.
At the command line typelogin: vagrant
Password: vagrant
This will open up a window manager Click on "eclipse.sh" on your desktop.startx
- Make sure that you choose the default workspace location so that the synced directories work mentioned above work. Also, when you close the VirtualBox machine choose the "Power off machine" option. You have other options, but this is the most robust.
- To restart ACL2s later follow the instructions above starting
with the
vagrant up
step.
acl2
directory, instead of logging into the
VM.
vagrant ssh -- -X
eclipse