Skip to content

Instantly share code, notes, and snippets.

@organisciak
Created March 20, 2019 02:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save organisciak/3e12e5138e44a2fed75240f4a4985b4f to your computer and use it in GitHub Desktop.
Save organisciak/3e12e5138e44a2fed75240f4a4985b4f to your computer and use it in GitHub Desktop.
Running OpenRefine on a Pixelbook or Other Chromebook

If you have a Chromebook with Linux, you can run OpenRefine on your computer.

Running OpenRefine

If you're new to this, see the 'First Time Preparation' section below.

  1. Go to the OpenRefine folder.
    • cd openrefine-3.1 for the version that I have, your directory name may be different.
  2. Run Open refine on the internal hostname (which is not 127.0.0.1)
    • ./refine -i $(hostname -I)
  3. Point your browser to http://penguin.linux.test:3333. That 'penguin' URL repoints to the hostname (march 19), but if it changes in the future, you can get the IP address directly with a command, hostname -I, and point to that directly. It will change between restarts, though.

Tip: if you're not familiar with command line conventions, know that 'Ctrl+C' is how you stop the running process (i.e. the program).

First Time Preparation

Some of these step you may have already done before.

  1. First, you need to set up the Linux terminal. See: https://support.google.com/chromebook/answer/9145439?hl=en

  2. Download OpenRefine. If you open the Terminal, you can do so with wget {link_to_open_refine}. The Linux Kit link can be copied from the OpenRefine downloads page: http://openrefine.org/download.html.

  3. Extract OpenRefine to a directory with tar -xvf {compressed_filename}. If you're new to the Terminal, don't worry about writing the whole thing: you can start typing the filename (openrefine-linux-) then tap TAB to autofill the rest.

4 You can delete the compressed file, which ends with tar.gz, by using rm {filename}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment