how to look for packets to install or already installed

This is my first article since I am also using Debian (now just upgraded to Squeeze) πŸ˜€

However, since I am working only by ssh, I found out that the following two commands are very very useful to know…

Take in account that all the commands are run as root, so if you are not, you may need the ‘sudo’ in front..

If you want to search through the repository for tomcat, run an update:

apt-get update

Then you can be sure that the list you are going to look through is the most recent and therefore:

apt-cache search tomcat

This will print out all the result matching the string ‘tomcat’

Instead, if you wanna look through all the *installed* packet, then type:

dpkg --get-selections | grep tomcat

Among the result, packages with a corresponding ‘deinstall’ are those packages that have been removed without the ‘–purge’ option…

If you want to purge them all, just type:

aptitude purge $(dpkg --get-selections | grep deinstall | sed s/deinstall//)

Ps: a special thanks to Alessia for giving me a reason to continue toΒ publishΒ on this space πŸ˜€


Howto: unreal tournament 2004 on the new Ubuntu 11.04 Natty Narwhal

I assume you have already installed the game..

Since the libstdc++5 is no more in the repo, let’s download from here:

(choose your correct version, that is 32 or 64bit, and install it)

Then download the 3369-2 patch:

Copy and replace everything (default path /usr/local/games/ut2004/), if you prefer by graphical interface just run nautilus in root mode:

sudo nautilus

Now if you are on 64bit, just modify these file:

sudo gedit /usr/local/games/ut2004/ut2004

and substitute lines

if [ -x “${UT2004_DATA_PATH}/ut2004-bin” ]

exec “./ut2004-bin” $*


if [ -x “${UT2004_DATA_PATH}/ut2004-bin-linux-amd64” ]

exec “./ut2004-bin-linux-amd64” $*

And you are done

Ps: if you have problem with the sound, just run ut2k4 with aoss:

aoss ut2004

Hope its useful πŸ™‚

Ubuntu Maverick on Toshiba NB200


This netbook has a very particular problem, basically it stops if you don’t press any button..

I have never met such a problem

However, looking over internet, I found a easy and fast fix:

Enter in the bios, go to the processor power setting, and choose “always low” instead “dynamic”

Maybe this will not be the best for someone, but for my point of view, I have never experienced some slowness and saving battery is what I care most, so I didn’t have any problems πŸ™‚

Howto: ATI CAL on Karmic 64 bit with Boinc (Collatz project)

Coming from a recent upgrade from 8800gt to 4870 x2, I really wanted to put this new monster under work with Boinc ( you can exploit your ATI gpu only if it’s on this list)

But there were so many problem: i spent more than two days with segmentantions fault, creating deb driver packages, no gpu relevating, ecc..

This is how i solved :p

1) Check you have drivers installed AND working properly

Download the Catalyst 9.12 (the lastest) here

I never got they working properly by creating the deb in this way:

./ –buildpkg Ubuntu/9.04

I just installed in the normal way:

sudo ./

Next, next, next, …

At the end:

sudo aticonfig –initial


You must be able to run the desktop effect

2) Download and install Boinc

Here the last linux x86_64 6.10.32



It will create a folder BOINC in that directory


Now, before the critical point you need to be sure to have the option nopat added after the kernel in grub (tested with 2.6.31-20)

..and maeby even “libqtgui4” installed…

Prey the ATI big-tits goddess

And run


If you get something like

16-Feb-2010 22:04:30 [—] ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.519, 1024MB, 1200 GFLOPS peak)
16-Feb-2010 22:04:30 [—] ATI GPU 1: ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.519, 1024MB, 50 GFLOPS peak)


They are two here, coz i have a 4870 x2

3) Configure Collatz

Now download collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2.tar.bz2

– copy both and to /usr/lib64

cd collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/app

ldd collatz_2.01_x86_64-pc-linux-gnu__ati14

you should see something similar to this: => /usr/lib64/ (0x00002b373b4e3000) => /usr/lib64/ (0x00002b373b6d1000) => /usr/lib64/ (0x00002b373b914000) => /usr/lib64/ (0x00002b373bb33000) => /lib64/ (0x00002b373be3b000) => /lib64/ (0x00002b373c08e000) => /lib64/ (0x00002b373c29d000) => /lib64/ (0x00002b373c5e2000) => /usr/lib64/ (0x00002b373c7fd000) => /lib64/ (0x00002b373c91e000) => /lib64/ (0x00002b373cb27000) => /usr/lib64/ (0x00002b373cd2b000) => /usr/lib64/ (0x00002b373cf3d000)
/lib64/ (0x00002b373b4b4000) => /usr/lib64/ (0x00002b373d273000) => /usr/lib64/ (0x00002b373d477000) => /usr/lib64/ (0x00002b373d679000

– copy the app_info.xml, app file and the 2 libs ( and to projects/

– make sure to have a copy of the 2 libs ( and removing 64 from the name in /usr/lib64/

sudo ln -s

sudo ln -s

4) Test it

cd ../collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/test_files

cp ../app/collatz_2.01_x86_64-pc-linux-gnu__ati14 ./

cp../libs/* ./

and run the test: ./collatz_2.01_x86_64-pc-linux-gnu__ati14

It will take some time (in my case just ca 20s)

Now, to run Boinc you need the demon


and the graphical interface

sh run_manager

Both of them run in BOINC folder

It’s over, you can join Collatz (the only project at the moment supporting ATI gpu computing, Milkyway is still on the “way” )

A thanks specially to Stoffel, Marco Vuano and this blog

Ubuntu karmic 9.10 and Unreal Tournament

After the installation, just install the, you can find it here πŸ™‚

Then, if you running on a 64bit you will need to do a little modify

sudo gedit /usr/local/games/ut2004/ut2004

Then, add after the exec something, in order to be like this πŸ™‚

# Let’s boogie!
if [ -x “${UT2004_DATA_PATH}/ut2004-bin” ]
cd “${UT2004_DATA_PATH}/”
exec “./ut2004-bin-linux-amd64” $*
echo “Couldn’t run UT2004 (ut2004-bin). Is UT2004_DATA_PATH set?”
exit 1

Finally, the link under Application -> Other, will work B-)