Notes on Ubuntu (Linux) computing

Brief notes on installation, setup and other tasks in the Ubuntu world

Archive for the ‘Uncategorized’ Category

Install jedi vim plugin

with 4 comments

The jedi plugin will allow nice autocomplete features when developing Python code. First we install the python package using pip

sudo pip install jedi

Next, we install the jedi plugin for vim using pathogen

cd ~/.vim/bundle
git clone https://github.com/davidhalter/jedi-vim.git

To take advantage of new powers, try these basic commands

  1. cntrl-space — autocomplete partially type function/class and see args
  2. shift-k — use pydoc to find function/class documentation

Written by Chris S

April 12, 2013 at 9:24 pm

Posted in Uncategorized

Install Clementine music player

leave a comment »

I will install the Clementine music player — seems nice and allows for scrobbling to lastfm. They have a ppa for this, so following their instructions we do the following at the terminal:

sudo add-apt-repository ppa:me-davidsansome/clementine
sudo apt-get update
sudo apt-get install clementine

Written by Chris S

March 12, 2013 at 5:26 pm

Posted in Uncategorized

Installing pomp in R

leave a comment »

pomp (partially-observed Markov processes) is a package in R for simulating stochastic and deterministic mathematical models as well as to infer parameters using observed data — also see the r-forge page. I will provide (very) brief install instructions here and provide examples of use in later posts.

Install by going to the command line and starting R using sudo (I assume you are using Ubuntu here):

sudo R

Once in R, type:

install.packages('pomp', dep = TRUE)

The pomp package and other packages it requires will be downoaded, compiled, and installed. You can test that pomp is available by loading the package in an R session:

library(pomp)

Written by Chris S

December 22, 2012 at 7:02 pm

Pandora with scrobbling to last.fm on Ubuntu 12.04

leave a comment »

I will try out Pithos to listen to Pandora radio and scobble tracks at last.fm — this tool is designed to do that in the Linux environment. Install using the PPA, as described at the website:

sudo add-apt-repository ppa:kevin-mehall/pithos-daily
sudo apt-get update
sudo apt-get install pithos

Installed and tested it out using accounts at pandora.com and last.fm — everything seems to work. There is nice integration into the Ubuntu music environment and data seems to be getting to last.fm — nice.

Written by Chris S

November 27, 2012 at 2:18 am

Install Quod Libet in Ubunut 12.04

leave a comment »

Quod Libet is simple music player, tool for tagging musics files, etc. Install the repository version using

sudo apt-get install quodlibet

Written by Chris S

November 9, 2012 at 6:35 pm

Posted in Uncategorized

Install git and configure for github

with one comment

git is a tool for version control on programming projects. The install is easy:

sudo apt-get install git

Setup github access

Assuming you already have an account, the following gets github ssh access up and running, following the process described here. The following commands set parameters and generate a key for upload to the github website:

git config --global color.ui true
git config --global user.name "Your Name"
git config --global user.email "your.name@gmail.com"
ssh-keygen -t rsa -C "your.name@gmail.com"

Copy the key to the clipboard (setup xclip if in needed — see here)

cat ~/.ssh/id_rsa.pub | clipboard

Your key is now in your clipboard, go to the github website and paste the new key in the appropriate area:

Finally, test to make sure that it works:

ssh -T git@github.com

Written by Chris S

October 8, 2012 at 12:56 am

Install xclip

with one comment

Install xclip (allows copy and paste from command line) and create alias, using ideas from here:

sudo apt-get install xclip
echo "alias clipboard='xclip -sel clip'" >> ~/.bashrc

Written by Chris S

October 8, 2012 at 12:42 am