Hi, I've been using Linux for just a week.

I want to remove a package (libglib 2.2.3) and install a newer version (2.3.2) of it which I have compiled myself.

Normally I would remove by using 'apt-get remove', but apt-get also wants to remove all the packages that depend on the package I want to remove.

This shouldn't be necessary, because I'm going to install a newer version after the old version is removed.

The reason I want to replace libglib with a newer version is because an other application that I want to compile complain about me having the old libglib. This is the error message:
checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.3.2, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib.
Now, I have read the manual of apt-get that is on the top of this forum, and it said that it is impossible to remove a package without removing the dependencies also... so my question is, is there another way to remove a package?

Thanx in advance,
Eric.