Stream Music with the Last.fm Client on Ubuntu

Posted on
Tags: ,

For Ubuntu 10.04 instructions, read our updated post here

These days, it seems like we’re doing more and more important work inside our browsers. We’re checking our email, Facebook, Twitter, writing documents, listening to music, watching videos, etc. Sometimes, this increased use of the browser can lead to a serious slowdown or even browser crashes. Not to mention that Firefox on Ubuntu seems to be really slow these days.

I’ve been looking for ways to move some of my online activities out of the browser and into their own processes. One service I often use is Last.fm. Using the standalone client works more reliably and keeps Last.fm from bogging down Firefox. Thankfully, it’s easy to use Last.fm from its own Linux client, and there’s even a special Debian/Ubuntu repository that makes installation really simple.

To add this repository and install the Last.fm client, open a terminal window and run the following commands (you can copy and paste them).

sudo wget http://starryhope.com/apt/lastfm.list -O /etc/apt/sources.list.d/lastfm.list
wget -q http://apt.last.fm/last.fm.repo.gpg -O- | sudo apt-key add -
sudo apt-get update && sudo apt-get install lastfm
For those who are interested, the first line adds the Last.fm repository to your repository list (more on repositories here). The second line will add the necessary repository keys to your system. Finally, the third line will refresh apt and install the Last.fm client.

When everything has finished installing, you should see the Last.fm client in your Applications -> Sound & Video menu.

Start the program, enter your Last.fm credentials, and enjoy!

For more information, visit http://apt.last.fm/