i have a leap 16.0 virtual machine that was installed using the minimal cloud image in Proxmox. So far so good.
Now i am trying to install a desktop environment on top of it and this is where i am stuck.
Running zypper in -t pattern gnome installs the gnome desktop but after activating it with systemctl set-default desktop.target the environment is empty with no other software/tools.
When i search for other patterns available using zypper patterns i see for gnome the following
but installing any of them doesn’t install the packages just the pattern itself
sudo zypper in -t pattern office
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
patterns-office-office
The following NEW pattern is going to be installed:
office
1 new package to install.
Package download size: 7.9 KiB
Package install size change:
| 52 B required by packages that will be installed
52 B | - 0 B released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
Question: What is required to install the desktop environment via cli with all the tools similar to a system installed via ISO?
That does not activate any desktop. It sets the default “runlevel” for next boot. Did you re-boot after it. Did you get any graphical login-screen?
We can not look over your shoulder and thus need a step by step report of what you did and what you see.
OK, I posted this before I saw your last post. It seems that you got the login screen and used it to login.
I am interested in the remaining steps that are required to install the other tools , internet, office, multimedia etc.
Installing them via patterns doesn’t seem to work. So the question, is there something that i am doing wrong or is there another way to install the required packages in bulk.
yes but installing these patterns will not install any packages that is the issue. Please see my comment before on the output of installing one such pattern
sudo zypper in -t pattern documentation enhanced_base gnome_basic imaging kdump minimal_base multimedia o
ffice sw_management
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'pattern:minimal_base' is already installed.
No update candidate for 'pattern:minimal_base-20241218-160000.3.1.x86_64'. The highest available version is already installed.
'pattern:gnome_basic' is already installed.
No update candidate for 'pattern:gnome_basic-20250310-160000.2.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
The following 17 NEW packages are going to be installed:
ethtool groff kdump kexec-tools libpipeline1 libsnappy1 libzio1 makedumpfile man patterns-base-documentation
patterns-base-enhanced_base patterns-base-kdump patterns-base-sw_management patterns-desktop-imaging
patterns-desktop-multimedia patterns-office-office system-user-man
The following 7 NEW patterns are going to be installed:
documentation enhanced_base imaging kdump multimedia office sw_management
17 new packages to install.
Package download size: 4.4 MiB
Package install size change:
| 11.3 MiB required by packages that will be installed
11.3 MiB | - 0 B released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
i don’t see any indication that the cloud images are different wrt. repos.
running zypper lr on a machine installed via ISO and the VM show the same output, the leap16.0 are all using the repo service right? so the repos itself don’t have much effect i think?
Running zypper pattern-info multimedia shows the following
zypper pattern-info multimedia
Loading repository data...
Reading installed packages...
Information for pattern multimedia:
-----------------------------------
Repository : repo-oss (16.0)
Name : multimedia
Version : 20201106-bp160.1.1
Arch : x86_64
Vendor : openSUSE
Buddy Package : patterns-desktop-multimedia-20201106-bp160.1.1.x86_64
Installed : Yes (automatically)
Visible to User : Yes
Summary : Multimedia
Description :
Multimedia players, sound editing tools, video and image manipulation applications.
Contents :
S | Name | Type | Dependency
---+--------------------+---------+------------
i | pattern:multimedia | pattern | Required
i | ImageMagick | package | Recommended
i | dvd+rw-tools | package | Recommended
i | mjpegtools | package | Recommended
i | vorbis-tools | package | Recommended
But installing it doesn’t show any packages that are going to be installed
sudo zypper in -t pattern multimedia
Refreshing service 'openSUSE'.
The following NEW package is going to be installed:
patterns-desktop-multimedia
The following NEW pattern is going to be installed:
multimedia
1 new package to install.
Package download size: 9.2 KiB
Package install size change:
| 56 B required by packages that will be installed
56 B | - 0 B released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): n
This is basically the issue, installing the patterns doesn’t not install packages.
sorry that is not correct, a pattern is a collection of packages so it pulls all the necessary packages. See example of cockpit below.
I don’t have multimedia, office etc installed , curent output from the VM. To repeat, i would like to install the patterns so that all the required packages are installed.
zypper se -si -t pattern
S | Name | Type | Version | Arch | Repository
---+--------------+---------+---------------------+--------+----------------
i | base | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i+ | gnome | pattern | 20250310-160000.2.2 | x86_64 | repo-oss (16.0)
i | gnome_basic | pattern | 20250310-160000.2.2 | x86_64 | repo-oss (16.0)
i | minimal_base | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i | selinux | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
sudo zypper in -t pattern cockpit
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 41 NEW packages are going to be installed:
cockpit cockpit-bridge cockpit-networkmanager cockpit-repos cockpit-selinux cockpit-storaged cockpit-subscriptions cockpit-system cockpit-ws
cockpit-ws-selinux libatasmart4 libatasmart-utils libbd_btrfs3 libbd_crypto3 libbd_fs3 libbd_loop3 libbd_lvm3 libbd_mdraid3 libbd_nvme3 libbd_part3
libbd_swap3 libbd_utils3 libblockdev libblockdev3 libbytesize1 libnvme1 liboath0 libpskc0 libpwquality-tools libqrencode4 libudisks2-0_btrfs
libudisks2-0_lvm2 libxmlsec1-1 libxslt1 oath-toolkit oath-toolkit-xml pam_oath patterns-cockpit qrencode udisks2 wallpaper-branding-openSUSE
The following NEW pattern is going to be installed:
cockpit
41 new packages to install.
@hui as a base install to get something that boots… then install what you need… I use a kvm image here with virt-install and combustion to spin up all sorts of different images taylored to my requirements.
But installting with `–recommends doesn’t install any new packages
sudo zypper in --recommends --type pattern gnome_basic
'pattern:gnome' is already installed.
No update candidate for 'pattern:gnome_basic-20250310-160000.2.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.