Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Correct names for installing packages with zypper

  1. #11
    Join Date
    Jan 2018
    Location
    Annandale, VA
    Posts
    124

    Default Re: Correct names for installing packages with zypper

    Quote Originally Posted by tsu2 View Post
    The summary descriptions for the patterns you're asking about...

    Pattern Description
    gnome GNOME Desktop Environment (Wayland)
    gnome_basic GNOME Desktop Environment (Basic)
    gnome_x11 GNOME Desktop Envoronment (X11)

    Note that when you do a repository search for a name, you can return both a pattern and the package that installs the pattern, so for instance that's why you can see both a "gnome_x11" which would be the pattern name and a package called "patterns-gnome-gnome_x11" -- This is very clear when you do your zypper search, the results each clearly say whether it's a pattern or package.
    You can install this either way as follows, both should install the same collection of packages.
    Code:
    zypper in -t pattern gnome_x11   # Installing using pattern name
    zypper in patterns-gnome-gnome_x11   # Installing using package name
    HTH,
    TSU
    Those three names don't align with what's on the Yast menu. Would it be correct to assume that I need gnome and gnome_x11? Do I need to explicitly install both, or will gnome_x11 drag in gnome_basic?

  2. #12
    Join Date
    Apr 2016
    Location
    North America
    Posts
    532

    Default Re: Correct names for installing packages with zypper

    Code:
    zypper info -t pattern gnome
    Also, the install command lists all patterns and packages that will be installed before you confirm the installation.
    Tumbleweed, Xfce, Firefox, uBlock Origin

  3. #13
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,807
    Blog Entries
    14

    Default Re: Correct names for installing packages with zypper

    Maybe you can use this, it produces a list of all installed packages, with only their names.

    Code:
    rpm -qa --qf %{NAME}"\n"
    You could redirect that to a file, and use that on another machine.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #14
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,153
    Blog Entries
    2

    Default Re: Correct names for installing packages with zypper

    Quote Originally Posted by shmuelmetz View Post
    Those three names don't align with what's on the Yast menu. Would it be correct to assume that I need gnome and gnome_x11? Do I need to explicitly install both, or will gnome_x11 drag in gnome_basic?
    IIRC gnome_basic will be pulled in automatically when you install either of the other two patterns which essentially will install your Gonme Desktop with either Wayland or an xorg Xserver..

    You can test this and answer any questions for yourself easily as follows...
    run any "Install" command like the following which will list what it will propose to do, but don't actually go through with the install if you don't want to do so... Note the "-f" which will propose a "force re-install" for anything that is already installed, else you will see a "nothing to do" if already installed
    Code:
    zypper in -f -t pattern pattern_name 
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •