Posts with the category Ubuntu 11.04

Install the LaTeX Distribution TeX Live on Ubuntu Linux

Install the most important packages using:

sudo apt-get install texlive texlive-latex-extra

optionally also install some German language support packages:

sudo apt-get install texlive-lang-german

If you want the full TeX Live system:

sudo apt-get install texlive-full



Read on

Downloading Picasa Web Albums

Picasa-Downloader – A simple Python script to get the normal size images

pip install BeautifulSoup
cd ~/Downloads

Pycasa – capable of downloading full size images

This open source software includes a GUI. It relies on PyGTK and it is therefore difficult to get it to work with Mac OS...

Read on

FlickrMS - Mounting Flickr as FUSE File System

Requirement: flickcurl

flickcurl is a library to access the Flickr API via C.

On Debian/Ubuntu simply install libflickcurl-dev:

sudo apt-get install libflickcurl-dev

or get the latest dev version:

sudo apt-get install libxml2-dev libcurl4-openssl-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev libgpg-error-dev libraptor1-dev libtasn1-3-dev libxslt1-dev raptor-utils
cd ~/Downloads
git clone git://
cd flickcurl
sudo make install

Apply for...

Read on

Install an Asterisk Server on Debian from Source

Get Requirements

We need gcc, g++ and some libraries:

sudo apt-get install build-essential libxml2-dev ncurses-dev

Get the source, compile and install

cd ~/Downloads
# get the source code
# untar it
tar -xf asterisk-
cd asterisk-
# clean the build directory (of crap from previous runs)
make distclean
# configure and compile Asterisk:
# install Asterisk...

Read on

Sniff Serial Connection


Read on

Use Middle Mouse Button in a Parallels 6 Virtual Machine running Linux on a MacBook Pro

Sometimes you have to use the middle mouse button, sometimes it's just convenient to do so. Either way, if you want to use it on a virtualised Linux machine on a Parallels 6 (or any other virtualisation software) you can't out-of-the box on a MacBook Pro as the touch pad...

Read on

Use a Prologix GPIB-to-USB Controller via Linux

Plug'n'Play on Linux

Plug the Prologix GPIB-USB Controller in on your Ubuntu 11.04 machine (most probably it will work on most older versions too) it directly shows up as a serial port via USB, such as /dev/ttyUSB0. No additional drivers needed. Here is the output of dmesg when you plug it...

Read on

cherokee – A Very Fast and Small Webserver Software


Debian/Ubuntu offers Cherokee packages but they are quite outdated for the stable branch. So you may want to prefer the manual installation from source.

Manual Installation From Source

The easy way of installation:

wget && python install

or get the source and compile it yourself:


Read on

Markdown for the Gedit Text Editor on Ubuntu 11.04

This is the continuation of the topic gedit Markdown plugin and the comment by Jean-Philippe Fleury, the author of the plugin.

If you frequently have to create Markdown documents, you might want your text editor of choice to support you. Jean-Philippe Fleury developed a nice plugin for Gedit to...

Read on

Sandboxing on Ubuntu with Arkose using LXC

Arkose can serve to make sandboxing easy on Ubuntu Linux. It uses LXC as technology to isolate programs that you don't trust fully.

On Natty 11.04 the installation is as simple as

sudo apt-get install arkose

Check the links below for more information.


Read on

Using Python to interact with the Google Spreadsheets API

update 2015-09-08: this is outdated, please refer to my new blog post instead.

Install the Google Data Library (you should consider installing it in an isolated virtualenv environment):

cd ~/Downloads
curl -C - -O
tar -xf gdata-2.0.14.tar.gz
cd gdata-2.0.14
python install

Now you are ready to test the example...

Read on

IPv6 Privacy Extensions

The privacy extensions as defined in RFC4941 make your device change its IP every now and then.

Privacy addresses are not enabled by default. Their generation is activated via the sysctl directive use_tempaddr that can be set to one of the following values:

  • 0 don't use privacy extensions.
  • 1 generate privacy addresses
  • 2...

Read on

Instantaneous IPv6 Connectivity using Teredo on Debian / Ubuntu

On Debian and Ubuntu, getting IPv6 connectivity is as easy as running this command in terminal:

sudo apt-get install miredo

You should instantaneously be connected to the internet via IPv6 (provided you have a working IPv4 setup).

If you want to customize your IPv6 connectivity, you can edit the miredo configuration...

Read on

Mobile IPv6

Mobile IP / Mobile IPv6 / mip6d seems to be quite dead at the moment:

Read on

SixXS Static 6in4 IPv6 Tunnel on Ubuntu / Debian

Define the tunnel in /etc/network/interfaces

You can simply put the following setup in your interfaces configuration file and this will allow you to set up your tunnel automatically at startup or manually using ifup sixxs.

# Please refer to <> for further information
auto sixxs
iface <span...

Read on

IPv6 6in4 Tunnel via Hurricane Electric ( Tunnel Setup on Ubuntu 11.04

Using the CLI tool ip

I wrote the following script to set up the IPv6 6in4 tunnel on Linux using the ip command. You have to adjust the constants to the values given on the site on the tunnel that you created. Just execute it and you should be...

Read on

Clear Cached Memory on Ubuntu

To clear the cache / cached memory (free pagecache, dentries and inodes) on Ubuntu or Debian you can write the value 3 to /proc/sys/vm/drop_caches:

# You should be the superuser ('root') or become the superuser:
sudo su
# Now sync filesystem and clear the caches:
sync && echo...

Read on

Fix a problem with NX on Ubuntu 10.10 with the key d (inadvertently minimizing the current window)

Go to System → Preferences → Keyboard Shortcuts and set the shortcut for Hide all normal windows and set focus to desktop to something sane like Alt + D

update 2011-07-13: This happened again when I used Ubuntu 11.04 inside a NX session on a Mac OS X host computer. :(



Read on

Install the Collaboration Tool Gobby and its Server infinoted

sudo apt-get install gobby

Open gobby and create a session, tell your collaborators your IP, port and password and start working on documents together.

install newer version using launchpad PPD

sudo apt-key adv --recv-keys --keyserver CFB6301E
echo "deb jaunty main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update 

Read on

Remove openjdk and install sun-jdk

For 9.04 jaunty:
For 11.04 natty:

# remove the previous openjdk
# (may have to be adjusted for newer Ubuntu versions such as natty):
sudo apt-get remove icedtea6-plugin openjdk-6-jre icedtea-6-jre-cacao ca-certificates-java openjdk-6-jre-headless openjdk-6-jre-lib
sudo apt-get install sun-java6-jre sun-java6-plugin

Read on

Update the Turboprint Installation


Update the Turboprint installation:

cd ~/Downloads/
sudo dpkg -i turboprint_2.20-1_amd64.deb

Read on