Installing LaBB-CAT

LaBB-CAT is a web-browser based application, and is primarily designed to run on a central web server accessible over the internet, so that multiple collaborators can easily work on the same corpus data from different locations.

However, it is possible to have a ‘private’ installation of LaBB-CAT which runs directly on your personal computer. These instructions explain how to achieve that.

Windows

On Windows, before you can install LaBB-CAT, you first must have Java installed.

1. Check Java

Use the following steps to check whether you already have Java installed.

  1. Press the Start menu button.
  2. Type Control Panel
  3. Select the Control Panel option that appears.
  4. Type Java

If a Java icon appears as shown in Figure 1, then you already have Java, and can skip section 2.

Figure 1: Java in the Control Panel

If there’s no Java icon in the Control Panel, follow the steps in the next section to install it.

2. Install Java

  1. Open the Java website in your browser:
    https://www.java.com/
  2. Press the Download Java button.
  3. Press the Download Java button on the next page and save the resulting installer file.
  4. Click the installer to run it.
Figure 2: The Java installer
  1. Press Install.
Figure 3: Java installation is complete
  1. Press Close.

3. Install LaBB-CAT

Once Java is installed, you can install LaBB-CAT:

  1. Open the following page in your web browser:
    https://sourceforge.net/projects/labbcat/files/install/
    This page has all versions of the LaBB-CAT installer, both for personal computer installations
    and also for web-server installations. The the files are listed most recent first.
  2. Download the first file named install-labbcat_yyyymmdd.jar (where yyyymmdd are numbers).
  3. Double-click on the file you just downloaded to open it.

You should see the LaBB-CAT installer program (Figure 4).

Figure 4: LaBB-CAT Installer
  1. Press Start.

You should see a progress bar while components are installed and files are copied.

Once the installation is finished, the progress bar will be all blue, and there will be a button labelled Finished (Figure 15).

Figure 5: Installer finished
  1. Press Finished.

The LaBB-CAT Server application will appear, as shown in Figure 6.

Figure 6: LaBB-CAT Server

Then your default web browser will open on your LaBB-CAT home page, as shown in Figure 7.

Figure 7: LaBB-CAT is successfully installed and running
  1. If you are shown the LaBB-CAT Licence page, scroll to the bottom and press I Agree.

As seen in Figure 8, in your Start Menu, you will see that there is a LaBB-CAT app that can be used to start and access LaBB-CAT from now on.

Figure 8: Use Start/LaBB-CAT to open LaBB-CAT

This starts the LaBB-CAT Server app (Figure 6), which must be running when you’re using LaBB-CAT. It can be closed once you’ve finished working with LaBB-CAT.

Mac

Important

LaBB-CAT can only be installed on newer M-series Macs.

These instructions will not work for older Intel-based Macs. Sorry!

On OS X, there are two prerequisites that must be installed before you can install LaBB-CAT:

  1. Homebrew
  2. Java

You may already have one or other of these installed; if so, you can skip the corresponding section below.

1. Install Homebrew

Homebrew is a ‘package manager’ for Mac computers, which allows you to install other programes, including Java.

  1. Open the following page in your web browser:
    https://github.com/Homebrew/brew/releases/latest
  2. Scroll down to the Assets section.
    Assets
  3. Click the file called Homebrew-n.n.n.pkg (where n.n.n is the version number) to download the file.
  4. Once the file has been downloaded, double-click on it to run the installer.
    Homebrew Installer
  5. Click Continue, Continue, Agree and Install to complete the installation.

2. Install Java

  1. Open Launchpad and type Terminal.
  2. Double click Terminal to open a command shell.
  3. Type in the following command:
    brew install openjdk
  4. Press the return key on your keyboard to enter the command.
    Some text will appear in the Terminal window while Homebrew downloads everything it needs to install Java
    Once it’s finished, you’ll see the % shell prompt again.
Figure 9: brew install openjdk

3. Install LaBB-CAT

Once Homebew and Java are installed, you can install LaBB-CAT:

  1. Open the following page in your web browser:
    https://sourceforge.net/projects/labbcat/files/install/
    This page has all versions of the LaBB-CAT installer, both for personal computer installations
    and also for web-server installations. The the files are listed most recent first.
  2. Download the first file named install-labbcat_yyyymmdd.jar (where yyyymmdd are numbers).
  3. Double-click on the file you just downloaded to open it.
    Most likely you will see a message that the files was “Not Opened” as show in Figure 10.
Figure 10: install-labbcat…jar Not Opened
  1. Go to the Apple menu and select System Settings.
  2. Select the section labelled Privacy and Security.
  3. Scroll to the bottom and under the Security heading you will see a message saying that install-labbcat_yyyymmdd.jar “was blocked to protect your Mac.” as shown in Figure 11
Figure 11: Privacy and Security: Open Anyway
  1. Press Open Anyway.
    You will see another warning message as shown in Figure 12
Figure 12: Open Anyway (again)
  1. Press Open Anyway.
    You may see a request for Java to access your Downloads folder like in Figure 13.
Figure 13: Allow Java access to Downloads
  1. If so, press Allow.

You should see the LaBB-CAT installer program (Figure 14).

Figure 14: LaBB-CAT Installer
  1. Press Start.

You should see a progress bar while components are installed and files are copied.

Once the installation is finished, the progress bar will be all blue, and there will be a button labelled Finished (Figure 15).

Figure 15: Installer finished
  1. Press Finished.

Your default web browser will open on your LaBB-CAT home page, as show in Figure 16.

Figure 16: LaBB-CAT is successfully installed and running
  1. If you a shown the LaBB-CAT Licence page, scroll to the bottom and press I Agree.

As seen in Figure 17, in your Applications folder, you will see that there is a LaBB-CAT entry that can be used to access LaBB-CAT from now on.

Figure 17: Use Applications/LaBB-CAT to open LaBB-CAT

Uninstalling LaBB-CAT

In future you may want to uninstall LaBB-CAT, in which case you can use the same installer you used to install it.

If you run install-labbcat_yyyymmdd.jar and LaBB-CAT is already installed, after pressing Start it will offer further options.

Running install-labbcat_yyyymmdd.jar when LaBB-CAT is already installed

The options are:

  • Upgrade – Install this version of LaBB-CAT, keeping all your corpus data intact.
  • Replace – Install LaBB-CAT afresh, deleting all your existing corpus data and leaving you with an empty LaBB-CAT installation.
  • Uninstall – Remove LaBB-CAT from your personal computer.
  • Cancel – Close the installer without taking any action.

Reuse