Archive for November 2012
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.
IPython allows for the use of Python in a way that is interactive (similar to matlab or mathematica), allowing for the creation of nice tutorials and examples — really I am talking about the html notebooks. In Ubuntu 12.04, the install should be simple (I will not install from source), using the repository version to find all dependencies:
sudo apt-get install ipython-notebook
To start an html-notebook session with inline graphics, use
ipython notebook --pylab inline
screen is a nice tool for those who use the terminal for much of their work. Installation is simple:
sudo apt-get install screen
Some useful (basic) commands are:
screen -S <sessionname> # create session with name 'sessionname' screen -ls # show current screen sessions CTRL-a d # detach from screen session screen -r <sessionname> # re-attach to 'sessionname'
Once in an attached screen window, useful commands are:
CTRL-a c # create a new window/terminal CTRL-a A # name the window/terminal CTRL-a " # list all windows and select to switch CTRL-a n # cycle to next window/terminal exit # exit from the current window/terminal
Quod Libet is simple music player, tool for tagging musics files, etc. Install the repository version using
sudo apt-get install quodlibet
Update 2013-04-11: I recently started to have `partial upgrade’ issues with this ppa (it seems like the plugins did not build for 64bit machines). This caused update issues with other, more important parts of Ubuntu. As a result, I removed geany, geany-plugins and the ppa. I would carefully investigate before using the ppa.
In a previous post I installed Geany from the repository. A new version is available with plugins — I will install using the details described here and here for the plugins (and color schemes, if desired).
Note: I removed the repository version of Geany before the install — you only need to do this is you have already installed an earlier Geany version. The remove command with apt-get is (this removes the application while preserving the configuration files)
sudo apt-get remove geany
The following commands will add the ppa and install Geany along with the plugins:
sudo add-apt-repository ppa:geany-dev/ppa sudo apt-get update sudo apt-get install geany geany-plugins
PyMC is a nice Python package for implementing MCMC sampling in Bayesian inference. I have used this package on a variety of projects in Ubuntu 10.04lts and will provide my notes on how to install the development version from the github repository. This is important for me because I have found a variety of instances where I needed the latest PyMC version to accomplish particular goals.
To start, make sure some dependencies are installed:
sudo apt-get install python-dev gcc gfortran
If, like me, you already have many Python packages installed you will have some or most of the above installed. Next, cd to a directory where you would like to keep the PyMC git repository on your machine and clone the repository:
git clone git://github.com/pymc-devs/pymc.git
Finally, compile and install
cd pymc/ sudo python setup.py config_fc --fcompiler gfortran build sudo python setup.py install