WUU on Linux
From WUUki
To run WUU on Linux, you need at least Python 2.4+ (2.5 preferred) and wxPython 2.6+ (2.8 preferred) installed.
Unpack the WUU source distribution to a folder, and start WUU with "python WUU.py"
[edit] Ubuntu/Debian Linux
Python should come with the base installation of Ubuntu, but if you want 2.5 specifically (or use debian), you use:
$ sudo apt-get install python2.5
...and for wxPython:
$ sudo apt-get install python-wxgtk2.8
To enable automatic update you will need the ezPyCrypto.py, which in the standard release is incompatible with Debian.
A modified version can be found at csie.org
Just place the file inside the WUU folder and automatic updates will then work.
If you do not trust the code from a random site, just download the official ezPyCrypto library and remove references to IDEA and RC5 in the file. It should be around line 28, 72, 172-177, 204 and 234.
NOTE: You may also need to install python-crypto, if you find WUU still can't find ezPyCrypto.py in its own folder run:
$ sudo apt-get install python-crypto
[edit] Gentoo Linux
Python is already installed in the base system (Portage/emerge uses Python), so all you have to do is install wxpython:
# emerge wxpython
[edit] General Notes about WUU.py File Format
In a case when you make a shell script/desktop launcher to execute WUU, you may be required to change the main WUU.py file's format from DOS to Unix (your mileage varies, in some packages of WUU the file format is "proper" and in others not quite so). This can be achieved with either 'dos2unix' command or with a text editor of your choice (e.g. ViM). File format change is pretty trivial with dos2unix:
$ dos2unix -n WUU.py WUU.py
With ViM:
$ vim WUU.py
* hit ESC * type: set ff=unix [hit enter] * save (& exit)
Other text editors, just open WUU.py and save in ASCII mode.
