Notes on setting up Ubuntu 17.04 and various programs on a 2013 Lenovo IdeaPad Yoga 11S.

Ubuntu

Installation

  1. Download the ISO image from the Ubuntu website
  2. Follow the instructions to create a bootable USB stick (Rufus is currently the recommended tool to write the ISO image)
  3. Boot from the USB stick (bring up the boot menu with F12 at startup) and follow the rest of the instructions to install Ubuntu

Fixes

  1. Blacklist the ideapad-laptop module to enable hotkeys and, crucially, the mouse pointer:
    $ sudo nano /etc/modprobe.d/blacklist.conf
    Add:
    blacklist ideapad-laptop
  2. In Ubuntu 17.04 the default behaviour of network-manager is to randomise the MAC address on connection to a WiFi network (see here for details). Disable this with:
    $ sudo nano /etc/NetworkManager/NetworkManager/conf
    Add:
    [device]
    wifi.scan-rand-mac-address=no

Updates

$ sudo apt update
$ sudo apt upgrade

Software

General

  1. Load custom Bash dotfile (apply further changes manually in Edit > Profile Preferences)

Using apt:

  1. Pandoc (and TeX Live):
    $ sudo apt install texlive-full pandoc
  2. VLC:
    $ sudo apt install vlc

Using dpkg ($ sudo dpkg -i ...):

  1. Chrome
  2. Atom
  3. Dropbox

Analysis

  1. Ruby (and Jekyll, with plugins):
    $ sudo apt install ruby-full
    $ sudo gem install jekyll jekyll-redirect-from
  2. Octave, including documentation:
    $ sudo apt install octave octave-doc
  3. Dynare (for Octave), including documentation:
    $ sudo apt install dynare dynare-doc
  4. R:
    $ sudo apt install r-base r-base-dev
  5. Other (Julia, gretl):
    $ sudo apt install julia gretl

Emacs

  1. Emacs and the Inconsolata font:
    $ sudo apt install emacs25 inconsolata
  2. Emacs Speaks Statistics:
    $ sudo apt install ess
  3. Load custom dotfile