If I want to remove or add substantially all of a single DTE, such as XFCE, ICEWM, Gnome, KDE3 or KDE4, are there single meta-type packages designed to add or remove each with zypper to accomplish it? I've done rpm queries looking for such words as desktop, dte, meta, etc, and nothing jumps out at me. Neither does perusing output from a YaST2 search for something like KDE. One reason for this is I'd like to do a fresh install as quickly as possible to get a running system up without X, and have X added in the background after first boot, but other times I'd just like some more space on / or to eradicate failed upgrades.
Onsdag den 29. juli 2009 04:10:14 skrev Felix Miata:
If I want to remove or add substantially all of a single DTE, such as XFCE, ICEWM, Gnome, KDE3 or KDE4, are there single meta-type packages designed to add or remove each with zypper to accomplish it? I've done rpm queries looking for such words as desktop, dte, meta, etc, and nothing jumps out at me. Neither does perusing output from a YaST2 search for something like KDE. One reason for this is I'd like to do a fresh install as quickly as possible to get a running system up without X, and have X added in the background after first boot, but other times I'd just like some more space on / or to eradicate failed upgrades.
Patterns is what you want I guess: http://mschlander.files.wordpress.com/2009/01/patterns.png
However I wouldn't think it's as easy to remove a complete DE as you'd hope. Mainly cuz some packages are shared by different DEs.
On 2009/07/29 11:26 (GMT+0200) Martin Schlander composed:
Patterns is what you want I guess: http://mschlander.files.wordpress.com/2009/01/patterns.png
I don't think so. Patterns are used by YaST(2), not rpm/zypper NAICT. The following e.g. bring not found errors:
zypper rm kde3-pattern zypper in pattern-kde4 zypper in task-xfce zypper rm gnome-meta zypper in desktop-icewm zypper in kde3-workspace zypper in xfce.ymp zypper in xfce-ymp zypper in ymp-xfce zypper in ymp.xfce
However I wouldn't think it's as easy to remove a complete DE as you'd hope. Mainly cuz some packages are shared by different DEs.
I don't expect perfection in a removal, but this is also about adding. Surely there are names for "patterns" that rpm & zypper can use.
For comparison, on a standard Ubuntu install, which is Gnome only, 'sudo apt-get install kde-core' would add everything required to get a working KDE DTE, 'sudo apt-get install kde-desktop' would convert to a complete Kubuntu environment, 'sudo apt-get install xubuntu-desktop' would convert to a complete Xubuntu environment, and 'sudo apt-get remove gnome-desktop' would uninstall all parts of Gnome not required for various GTK apps left behind to run on other DTEs.
On Wednesday 29 July 2009 15:53:55 Felix Miata wrote:
On 2009/07/29 11:26 (GMT+0200) Martin Schlander composed:
Patterns is what you want I guess: http://mschlander.files.wordpress.com/2009/01/patterns.png
I don't think so. Patterns are used by YaST(2), not rpm/zypper NAICT. The following e.g. bring not found errors:
zypper rm kde3-pattern zypper in pattern-kde4 zypper in task-xfce zypper rm gnome-meta zypper in desktop-icewm zypper in kde3-workspace zypper in xfce.ymp zypper in xfce-ymp zypper in ymp-xfce zypper in ymp.xfce
However I wouldn't think it's as easy to remove a complete DE as you'd hope. Mainly cuz some packages are shared by different DEs.
I don't expect perfection in a removal, but this is also about adding. Surely there are names for "patterns" that rpm & zypper can use.
For comparison, on a standard Ubuntu install, which is Gnome only, 'sudo apt-get install kde-core' would add everything required to get a working KDE DTE, 'sudo apt-get install kde-desktop' would convert to a complete Kubuntu environment, 'sudo apt-get install xubuntu-desktop' would convert to a complete Xubuntu environment, and 'sudo apt-get remove gnome-desktop' would uninstall all parts of Gnome not required for various GTK apps left behind to run on other DTEs. -- No Jesus - No peace , Know Jesus - Know Peace
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://fm.no-ip.com/
Patterns are used by zypper too. I think you should try zypper in -t pattern kde4 zypper rm -t pattern kde4
The following command will list all available patterns using zypper zypper pt
The command 'zypper in (rm)' tries to install (remove) packages by default. kde4 is not a package.
You should also read this documentation up, will be of help: http://en.opensuse.org/Zypper/Usage