To install Twinkle on ubuntu you should do:
1) vi /etc/apt/source.list
deb http://http.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.debian.org/debian stable main contrib non-free
2) sudo apt-get update
3) sudo apt-get install twinkle