How to Install GNOME and all applications after minimal server installation

Hello,

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

S  | Name                     | Version             | Repository      | Dependency
---+--------------------------+---------------------+-----------------+-----------
i  | base                     | 20241218-160000.3.1 | repo-oss (16.0) |
   | basic_desktop            | 20241218-lp160.5.1  | repo-oss (16.0) |
   | console                  | 20241218-lp160.5.1  | repo-oss (16.0) |
   | console                  | 20241218-bp160.2.2  | repo-oss (16.0) |
   | documentation            | 20241218-160000.3.1 | repo-oss (16.0) |
   | enhanced_base            | 20241218-160000.3.1 | repo-oss (16.0) |
   | enlightenment            | 20170319-lp160.5.1  | repo-oss (16.0) |
   | games                    | 20220126-bp160.1.1  | repo-oss (16.0) |
i+ | gnome                    | 20250310-160000.2.2 | repo-oss (16.0) |
v  | gnome                    | 20250310-lp160.5.1  | repo-oss (16.0) |
i  | gnome_basic              | 20250310-160000.2.2 | repo-oss (16.0) |
   | gnome_x11                | 20250310-lp160.5.1  | repo-oss (16.0) |
   | imaging                  | 20201106-bp160.1.1  | repo-oss (16.0) |
   | kdump                    | 20241218-160000.3.1 | repo-oss (16.0) |
i  | minimal_base             | 20241218-160000.3.1 | repo-oss (16.0) |
   | multimedia               | 20201106-bp160.1.1  | repo-oss (16.0) |
   | office                   | 20170506-bp160.1.1  | repo-oss (16.0) |
i  | selinux                  | 20241218-160000.3.1 | repo-oss (16.0) |
   | sw_management            | 20241218-160000.3.1 | repo-oss (16.0) |
   | x11                      | 20241218-lp160.5.1  | repo-oss (16.0) |

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?

Thanks!

What do you mean by this?

I meant, the gnome desktop is there but there are no tools, see image below

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.

Exactly, i can login to the desktop.

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.

@HarunK I have;

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  | documentation | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i+ | enhanced_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  | imaging       | pattern | 20201106-bp160.1.1  | x86_64 | repo-oss (16.0)
i  | kdump         | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i+ | laptop        | pattern | 20201106-bp160.1.1  | x86_64 | repo-oss (16.0)
i  | minimal_base  | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i  | multimedia    | pattern | 20201106-bp160.1.1  | x86_64 | repo-oss (16.0)
i  | office        | pattern | 20170506-bp160.1.1  | x86_64 | repo-oss (16.0)
i+ | selinux       | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i  | sw_management | pattern | 20241218-160000.3.1 | x86_64 | repo-oss (16.0)
i+ | x86_64_v3     | pattern | 20230201-bp160.1.8  | x86_64 | repo-oss (16.0)

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):

Aren’t these images and repos tailored for a reduced package selection? I’m not sure, because there are not that much infos about this image.

@HarunK Use for example zypper pattern-info multimedia to see what will be installed with that pattern.

Likewise if you use --dry-run option you will see after pressing yes that the additional packages will install.

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?

zypper lr

# | Alias                       | Name                      | Enabled | GPG Check | Refresh
--+-----------------------------+---------------------------+---------+-----------+--------
1 | Leap                        | Leap 16.0                 | No      | ----      | ----
2 | openSUSE:repo-non-oss       | repo-non-oss (16.0)       | No      | ----      | ----
3 | openSUSE:repo-non-oss-debug | repo-non-oss-debug (16.0) | No      | ----      | ----
4 | openSUSE:repo-openh264      | repo-openh264 (16.0)      | Yes     | (r ) Yes  | Yes
5 | openSUSE:repo-oss           | repo-oss (16.0)           | Yes     | (r ) Yes  | Yes
6 | openSUSE:repo-oss-debug     | repo-oss-debug (16.0)     | No      | ----      | ----
7 | openSUSE:repo-oss-source    | repo-oss-source (16.0)    | No      | ----      | ----

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.

@HarunK Why would installing that pattern install anything?

As you can see from the output those packages are already installed indicated by the “i” in the first column…

If you used the --no-recommends option then none would be installed…

I suggest you check each of the patterns installed for an “i”…

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.

@HarunK So what does zypper pattern-info gnome_basic show as installed.

I suspect the default for the image is set to no-recommends in zypper.conf.

does not provide the crucial information: the URLs. Better something like zypper lr -d.

Thanks for the hint, indeed all the recommended packages are all not installed.

zypper pattern-info gnome_basic
Loading repository data...
Reading installed packages...


Information for pattern gnome_basic:
------------------------------------
Repository      : repo-oss (16.0)
Name            : gnome_basic
Version         : 20250310-160000.2.2
Arch            : x86_64
Vendor          : SUSE LLC <https://www.suse.com/>
Buddy Package   : patterns-gnome-gnome_basic-20250310-160000.2.2.x86_64
Installed       : Yes (automatically)
Visible to User : Yes
Summary         : GNOME Desktop Environment (Basic)
Description     :
    The GNOME desktop environment is an intuitive and attractive desktop for users.
    This pattern installs GNOME desktop environment with only essential graphical
    applications installed (File Manager, Web Browser).
Contents        :
    S  | Name                              | Type     | Dependency
    ---+-----------------------------------+----------+------------
    i  | pattern:basesystem                | pattern  | Required
    i  | pattern:gnome_basic               | pattern  | Required
    i  | pattern:gnome_basis               | pattern  | Required
    i  | gsettings-backend-dconf           | package  | Required
    i  | seahorse                          | package  | Required
       | pattern:enhanced_base             | pattern  | Recommended
       | pattern:gnome_internet            | pattern  | Recommended
       | NetworkManager-applet-openconnect | package  | Recommended
       | NetworkManager-applet-openvpn     | package  | Recommended
       | NetworkManager-applet-pptp        | package  | Recommended
       | dconf-editor                      | package  | Recommended
       | distribution-logos-openSUSE-icons | package  | Recommended
       | evolution                         | package  | Recommended
       | evolution-ews                     | package  | Recommended
       | gnome-backgrounds                 | package  | Recommended
       | gnome-bluetooth                   | Provides | Recommended
       | gnome-calculator                  | package  | Recommended
       | gnome-characters                  | package  | Recommended
       | gnome-clocks                      | package  | Recommended
       | gnome-contacts                    | package  | Recommended
       | gnome-control-center-color        | package  | Recommended
       | gnome-control-center-goa          | package  | Recommended
       | gnome-disk-utility                | package  | Recommended
       | gnome-initial-setup               | package  | Recommended
       | gnome-remote-desktop              | package  | Recommended
       | gnome-software                    | package  | Recommended
       | gnome-system-monitor              | package  | Recommended
       | gnome-text-editor                 | package  | Recommended
       | gnome-tweaks                      | package  | Recommended
       | gnome-user-share                  | package  | Recommended
       | google-noto-sans-cjk-fonts        | package  | Recommended
       | gutenprint                        | package  | Recommended
       | malcontent-control                | package  | Recommended
       | nautilus-sendto                   | package  | Recommended
       | nautilus-share                    | package  | Recommended
       | orca                              | package  | Recommended
       | pinentry-gnome3                   | package  | Recommended
       | python313-speechd                 | package  | Recommended
       | remmina                           | package  | Recommended
       | speech-dispatcher                 | package  | Recommended
       | tinysparql                        | package  | Recommended
       | zenity                            | package  | Recommended

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.

@HarunK Try the --force command option to re-install the pattern, else change the zypper.conf line and again force the re-install of the pattern.

1 Like

Thanks for the hint, that did it! Using the following command, i was able to install all the packages.

sudo zypper in --force --recommends --type pattern gnome_basic multimedia office imaging kdump

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.