Ubuntu installation list

September 23, 2015

Installation of Ubuntu

Readers are referred to the following links for the creation of a bootable USB stick on different platform.

Installation instruction of Ubuntu is available here. However, the installation is relatively easy even without these instruction.


PPA List

  1. Chrome (double check if it is necessary)

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/chrome.list'
    
  2. Thunderbird

    sudo add-apt-repository ppa:mozillateam/thunderbird-next
    
  3. RStudio ( This repository currently does not support Ubuntu Vivid. Please ignore this line if you are using Ubuntu 15.04. )

    sudo add-apt-repository ppa:opencpu/rstudio
    
  4. Julia

    sudo add-apt-repository ppa:staticfloat/juliareleases
    

At the end of adding these repository, we need the following commands to update the package list and upgrade installed packages.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

It is also suggested to run sudo apt-get autoremove to remove unnecessary packages.


Installation List

  1. Ubuntu Restricted Extras

    sudo apt-get install ubuntu-restricted-extras
    
  2. Chrome

    sudo apt-get install google-chrome-beta
    

    And following extensions are useful:

    • Hangouts
    • Unblock Youku
  3. Git

    sudo apt-get install git
    
  4. LaTeX and Texmaker

    sudo apt-get install texlive-full
    sudo apt-get install texmaker
    
  5. Vim

    sudo apt-get install vim
    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    

    The vimrc file can be found here.

  6. Dropbox

    sudo apt-get install nautilus-dropbox
    
  7. Thunderbird Thunderbird is installed by default and only upgrading is required. And following add-ons are useful:
    • Grammar Checker
    • LaTeX It!
    • MinimizeToTray revived
  8. Openssh Server

    sudo apt-get install openssh-server
    
  9. Kerberos

    sudo apt-get install krb5-user
    

    Configure the kerberos. Here is an example for corn machines at Stanford.

    1. Create a folder for Control ticket.

      mkdir ~/.krblog
      
    2. Set up configuration for ssh. Copy the following lines into ~/.ssh/config file.

      Host corn corn?? corn.stanford.edu corn??.stanford.edu
      GSSAPIKeyExchange yes
      GSSAPIAuthentication yes
      GSSAPIDelegateCredentials yes
      ControlMaster auto
      ControlPath ~/.krblog/.%r@%h:%p
      ControlPersist yes
      ServerAliveInterval 60
      ServerAliveCountMax 3
      
  10. MPICH

    sudo apt-get install mpich
    
  11. R and RStudio

    sudo apt-get install r-base
    sudo apt-get install r-base-dev
    
  12. Python, numpy, scipy, matplotlib, ipython and ipython-notebook

    sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook
    
  13. Jekyll

    sudo apt-get install ruby-dev
    sudo gem install jekyll
    sudo gem install jekyll-sitemap
    sudo apt-get install nodejs
    
    sudo apt-get install ruby-dev
    sudo gem install jekyll
    sudo gem install jekyll-sitemap
    sudo apt-get install nodejs
    
  14. Julia

    sudo apt-get install julia
    
  15. CMake

    sudo apt-get install cmake
    
  16. Valgrind

    sudo apt-get install valgrind
    
  17. Pinyin Input

    Install ibus-pinyin for Ubuntu 10-14.

    sudo apt-get install ibus-pinyin
    

    Install fcitx for Ubuntu 15.

    sudo apt-get install fcitx
    

    With the ibus-pinyin or fcitx installed, we follow the following steps:

    1. Click System Settings/Language Support
    2. Click Install/Remove Languages... and add Chinese
    3. Click System Settings/Language Support and select IBus (Ubuntu 10-14) or fcitx (Ubuntu 15) as the Keyboard input method system.
    4. Logout and Re-Login.
    5. Configure pinyin input based on different systems. Here we only show an example for Ubuntu 15,
      • Click keyboard button on the status bar, and select Configure.
      • Add Chinese pinyin ( uncheck Only Show Current Language ). The instructions for Ubuntu 10-14 are detailed here.

    For detailed instructions, readers are referred to Pinyin Joe’s.

  18. Dput, Uploading packages to PPA

    sudo apt-get install dput
    
  19. Exfat related packages

    sudo apt-get install exfat-utils
    sudo apt-get install exfat-fuse
    

Updating List:

  1. 2015-09-25: Added the first version of the Ubuntu package installation instructions.

  2. 2015-09-28: Added instructions for Chinese pinyin input.

  3. 2015-09-30: Added instructions for dput to upload packages to PPA. And updated the instruction order to avoid the usage of the not installed package.

  4. 2015-10-03: Added instructions for Ubuntu restricted extras. This installation includes many useful plug-ins.

  5. 2015-10-24: Added instructions for Exfat format related packages. Such that any Exfat format UBS can be read.


Please let me know if any of these packages are not updated via the repositories.

 

Yingzhou Li

Discussion

I'm a faculty at Fudan University. Follow me on Github and Bitbucket. Hopefully, you will find my code useful. You are also welcome to either email me or post comments below to discuss on these posts.