Logic and Computation
CS 2800 Fall 2019

Khoury College of Computer Sciences
Northeastern University
Installing ACL2s on Windows

Installing ACL2s on Windows

Installation instructions

  1. Install VirtualBox. This is the VM we will be using to run ACL2s. We recommend that you use the latest version. We tested it with version 6.0.10.
  2. Install the VirtualBox Extension Pack. Make sure the version number of the extension pack matches the version number of VirtualBox. You can open the extension file directly with VirtualBox, or you can download it first, and then 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 extensions file you downloaded.
  3. Install vagrant. We recommend that you use the latest version. We tested it with version 2.2.5.
  4. Create a directory (if you don't 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. Download this Vagrantfile. Rename the file to just Vagrantfile (do this in an xterm to make sure that that ".txt" extension is gone). In the same acl2s directory create a subdirectory with the name 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.)
  5. In the acl2s directory enter the following command (using an xterm/terminal/powershell)

    vagrant up

    This will take a while as various files are downloaded and your virtual machine is created. On Stavros' desktop it took 30 mins and on his laptop it took a bit more than 1 hour. Be patient. Do not close your computer, nor the VirtualBox until the entire process is done. If you get errors about VT-x being disabled, look see this. You have to enable virtualization technology in your bios.
  6. Once the above finishes, log into your new virtual machine (the VirtualBox VM window).

    login: vagrant
    Password: vagrant

  7. Now close VirtualBox using the "Power off machine" option.
  8. Once VirtualBox is closed, bring it back up with the following command (using an xterm/terminal/powershell).

    vagrant up

  9. Next, log into VirtualBox. Alternatively, see the XServer option below.

    login: vagrant
    Password: vagrant

    At the command line type

    startx

    This will open up a window manager.
  10. Click on the "File System" icon, then "opt", then "eclipse" and then double-click (open) eclipse. 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.
  11. To restart ACL2s later follow the instructions above starting with the vagrant up step.

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, by typing the following commands in an xterm/terminal/powershell from the acl2 directory, instead of logging into the VM.

vagrant ssh -- -X
/opt/eclipse/eclipse