I do not use Ubuntu any more but thought a search on this may bring some useful results.
A small part of my reason for switching to Debian was that I keep needing to use information for Debian to get similar "fringe" programs going it Ubuntu.
This links is for TWiki 5.0.1 and Squeeze (Debian 6 - current stable) on which 10.04 was based.
https://library.linode.com/web-appli...bian-6-squeeze
Seems pretty comprehensive.
You may be able to find more such links dealing with Ubuntu specifically. There is a good link to the upstream TWiki project at the end of the linked page.