Re: I need help removing GTK+
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: Ben Watkins <benwatkins3811 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: I need help removing GTK+
- Date: Thu, 02 Sep 2004 11:13:33 +0300
Ben Watkins wrote:
Hello,
I somehow messed up my installation of GTk+ 2, and now it will not let
me re-install until I have gotten rid of some files it continues to
find.
If you can help me completely uninstall GTK so I can re-install, it
would be greatly appreciated.
[Linux system, GTK+-2.0 installed from sources]
1. Run:
prefix=`/sbin/ldconfig -p | grep gtk-x11-2 | sed -e 's,^.* =>
\(/.*\)/lib/libgtk-x11.*$,\1,' | uniq`
$prefix now holds the prefix of the install path.
2. Remove libraries
rm -f $prefix/lib/libgtk-x11-2.0*
rm -f $prefix/lib/libgdk-x11-2.0*
rm -f $prefix/lib/libgdk_pixbuf-2.0*
rm -rf $prefix/lib/gtk+-2.0
rm -f $prefix/libpango*
rm -rf $prefix/pango
rm -f $prefix/libatk*
rm -f $prefix/libglib-2.0*
rm -f $prefix/libgmodule-2.0*
rm -f $prefix/libgobject-2.0*
rm -f $prefix/libgthread-2.0*
3. Run '/sbin/ldconfig' as root. Your system doesn't have GTK+-2.0
libraries.
4. Remove *.pc files:
rm -f $prefix/lib/pkgconfig/gdk-2.0.pc
rm -f $prefix/lib/pkgconfig/gdk-pixbuf-2.0.pc
rm -f $prefix/lib/pkgconfig/gdk-pixbuf-xlib-2.0.pc
rm -f $prefix/lib/pkgconfig/gdk-x11-2.0.pc
rm -f $prefix/lib/pkgconfig/gtk+-2.0.pc
rm -f $prefix/lib/pkgconfig/gtk+-x11-2.0.pc
rm -f $prefix/lib/pkgconfig/pango*.pc
rm -f $prefix/lib/pkgconfig/atk*.pc
rm -f $prefix/lib/pkgconfig/glib-2.0.pc
rm -f $prefix/lib/pkgconfig/gmodule-2.0.pc
rm -f $prefix/lib/pkgconfig/gobject-2.0.pc
rm -f $prefix/lib/pkgconfig/gthread-2.0.pc
Now your system has no GTK+-2.0 devel.
5. Remove other stuff to free some space on hard drive (maybe I missed
some):
rm -rf $prefix/include/gtk-2.0
rm -rf $prefix/include/pango*
rm -rf $prefix/include/atk*
rm -rf $prefix/include/glib-2.0
rm -f $prefix/bin/gtk-query-immodules-2.0
rm -f $prefix/bin/gdk-pixbuf-query-loaders
rm -f $prefix/bin/pango-querymodules
rm -rf $prefix/share/gtk-2.0
rm -rf $prefix/share/gtk-doc/html/gtk
rm -rf $prefix/share/gtk-doc/html/gdk
rm -rf $prefix/share/gtk-doc/html/gdk-pixbuf
rm -rf $prefix/share/gtk-doc/html/pango
rm -rf $prefix/share/gtk-doc/html/atk
rm -rf $prefix/share/gtk-doc/html/glib
rm -rf $prefix/share/gtk-doc/html/gobject
rm -rf $prefix/share/doc/gtk2*
rm -rf $prefix/share/doc/glib2*
rm -rf $prefix/share/doc/pango*
rm -rf $prefix/share/doc/atk*
rm -f `find $prefix/share/locale -name 'gtk2*.mo'`
rm -f `find $prefix/share/locale -name 'glib2*.mo'`
rm -f `find $prefix/share/locale -name 'atk*.mo'`
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]