You are not logged in.

#1 2008-04-07 10:07:59

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Can I uninstall gnome and still keep GTK?

Like the title says, I have gnome installed but I never actually run gnome itself. I do use a few gtk apps though, like pidgin, thunar, firefox3...

If I just remove the gnome and gnome-extra, will this do anything "bad"?

Thanks.

Offline

#2 2008-04-07 10:15:57

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Can I uninstall gnome and still keep GTK?

yes. You only need the gnome libs. might be easier to remove whole gnome and then reinstall one gtk app for minimal dependecies.

Offline

#3 2008-04-07 10:19:08

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: Can I uninstall gnome and still keep GTK?

So, I just -Rd gnome gnome-extra, and then reinstall for example pidgin?

Offline

#4 2008-04-07 10:24:25

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Can I uninstall gnome and still keep GTK?

pacman help wrote:

Remove Options

-c, --cascade

    Remove all target packages, as well as all packages that depend on one or more target packages. This operation is recursive, and must be used with care since it can remove many potentially needed packages.

-k, --keep

    Removes the database entry only. Leaves all files in place.

-n, --nosave

    Instructs pacman to ignore file backup designations. Normally, when a file is removed from the system the database is checked to see if the file should be renamed with a ".pacsave" extension.

-s, --recursive

    Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user. This operation is recursive and analogous to a backwards --sync operation, and helps keep a clean system without orphans.

It seems what you need is :

pacman -Rs gnome gnome-extra

Afterward you can always do :

pacman -Qdt

Which will list dependencies no more needed by any package, and remove them if you whish.

Offline

#5 2008-04-07 10:40:13

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Can I uninstall gnome and still keep GTK?

Yes, I dont have gnome installed so compare removing gnome to removing gtk2:
(I only loose evolution if i uninstall gnome)

[~]: pacman -Rcsn gtk2                                                    
loading package data...                                                   
checking dependencies...                                                  
warning: dependency cycle detected:                                       
warning: eclipse-ecj will be removed after its gcc-gcj dependency         

Targets: compizconfig-backend-kconfig  compizconfig-backend-gconf  
         smplayer-themes  compiz-fusion-plugins-extra  btnx  beast  ardour  
         zim  zenity  wxpython  wxmaxima  volwheel  vlc  sonata  smplayer
         pidgin  perl-gtk2-trayicon  openoffice-spell-en  obmenu  nicotine
         libgtkhtml  kino  kicad  kdemod4-kdegraphics-okular
         kdemod4-libspectre  inkscape  gnuplot  gcstar  fusion-icon
         evolution  gtkhtml  libgnomeui  libbonoboui  libgnomecanvas
         evolution-data-server  libgnome  gnome-vfs  gnome-keyring
         evas-cvs  emerald-themes  eclipse-subclipse  eclipse-qt4
         eclipse-pydev  eclipse-phpeclipse  eclipse-cdt  deluge
         compiz-fusion-plugins-main  compiz-bcop  ccsm  compizconfig-python
         libcompizconfig  btnx-config  audacity  amule  wxgtk-2.6  wxgtk
         wireshark  trayer  streamtuner  qtcurve-gtk2  poppler-glib
         openoffice-base  pstoedit  imagemagick  obconf  mplayer
         libvisual-plugins  libnotify  kompozer  kdemod4-gtk-kde4  jamin
         jackbeat  hardinfo  gvim  gtkspell  gtkmm  gtk2-perl  gmrun  gimp
         pygtk  libglade  ghostscript-gpl  gconf  gcc-gcj  eclipse-ecj
         gail  freeciv  flashplugin  firefox3-bin  emerald  compiz-core
         librsvg  libwnck  eclipse  avidemux  gtk2  perl-file-mimeinfo
         maxima  gnome-icon-theme  libdvdnav  libmatroska  libcdio
         pyvorbis  python-geoip  libdv  libiec61883  libavc1394  poppler-qt
         chmlib  libdjvu  gc  pyxml  perl-net-snmp  perl-xml-libxml
         hicolor-icon-theme  libsoup  db4.1  libbonobo  smbclient
         gnome-mime-data  pyxdg  dbus-python  pyrex  poppler  hunspell
         libwpd  xalan-java  hsqldb-java  plotutils  libwmf  aalib
         lirc-utils  swh-plugins  glibmm  cairomm  glib-perl  cairo-perl
         pycairo  pygobject  python-numeric  gsfonts  orbit2  libxres
         libcroco  libgsf  jdk  atk  perl-file-basedir
         perl-file-desktopentry  clisp  librep  libsigsegv
         icon-naming-utils  libdvdcss  libebml  libcddb  pyogg  geoip
         perl-xml-libxml-common  perl-xml-sax  perl-xml-namespacesupport
         libxmi  perl-xml-simple

Do you want to remove these packages? [Y/n] n
[~]: pacman -Rcsn gnome
:: group gnome:
    gnome-icon-theme  gnome-mime-data
    Remove whole content? [Y/n]
loading package data...
checking dependencies...

Targets: evolution  evolution-data-server  volwheel  gtkhtml  libgnomeui
         libbonoboui  libgnome  gnome-vfs  gnome-mime-data
         gnome-icon-theme  gnome-keyring  db4.1  perl-gtk2-trayicon
         libbonobo  gconf  icon-naming-utils  orbit2

Do you want to remove these packages? [Y/n] n

Offline

Board footer

Powered by FluxBB