Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Which software did I install?

  1. #1

    Default Which software did I install?

    I want to make a list of the various program, I installed manually with Zypper.

    Is there a way of finding out?

    I want to set another computer that will be almost the same for my wife.

    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,846
    Blog Entries
    15

    Default Re: Which software did I install?

    Quote Originally Posted by elfroggio View Post
    I want to make a list of the various program, I installed manually with Zypper.

    Is there a way of finding out?

    I want to set another computer that will be almost the same for my wife.

    Thanks
    Hi
    Create an autoyast file (See control file section)..... https://doc.opensuse.org/projects/autoyast/
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    472

    Default Re: Which software did I install?

    zypper se -si will list everything installed.
    OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)

  4. #4

    Default Re: Which software did I install?

    Quote Originally Posted by larryr View Post
    zypper se -si will list everything installed.
    I just did and it returned everything that is installed including the aaa_base.... 3162 of them

    Is there a way of finding what I did install manually and is not part of the leap install?

    Thanks

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,846
    Blog Entries
    15

    Default Re: Which software did I install?

    Quote Originally Posted by elfroggio View Post
    I just did and it returned everything that is installed including the aaa_base.... 3162 of them

    Is there a way of finding what I did install manually and is not part of the leap install?

    Thanks
    Hi
    Check the output from the history command and grep for zypper, or check /var/log/zypp/history file for install entries after install date.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    472

    Default Re: Which software did I install?

    Just do the same on the new install and diff the file with the output from your computer.
    That way you can see what needs to be installed. - you can cat the two files into one and use sort and uniq to find the missing entries.

    Code:
    # zypper se -si | awk '{print $3}'
    data...
    packages...
    
    Name
    
    ImageMagick
    ImageMagick-config-7-SUSE
    Mesa
    Mesa-32bit
    Mesa-demo-x
    Mesa-dri
    
    Lines Deleted
    
    zenity-lang
    zip
    zisofs-tools
    zlib-devel
    zoom
    zypper
    zypper-lifecycle-plugin
    zypper-log
    zypper-needs-restarting
    #
    OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    28,268

    Default Re: Which software did I install?

    Quote Originally Posted by elfroggio View Post
    Is there a way of finding what I did install manually and is not part of the leap install?
    Thanks
    That might be the wrong question for many. During the "leap install" one can remove and/or include packages to be installed before one gives the "go". And thus only when you know you did not change from the default set of packages chosen at installation by the installer (and that set may depend on other choices you made during the installation question/answer screens), you can see what is installed later (e.g. by checking the installation date/time (as pointed to above in several advises), but that has not really much to do with a known definition of "manual installation".
    Henk van Velden

  8. #8
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    698

    Default Re: Which software did I install?

    Quote Originally Posted by elfroggio View Post
    I want to make a list of the various program, I installed manually with Zypper.

    Is there a way of finding out?

    I want to set another computer that will be almost the same for my wife.

    Thanks
    Code:
    > man zypper
    ...
    Query Commands
           search (se) [options] [querystring|capability]... 
               Search for packages matching any of the given search strings. * and ? wildcard characters can be used within search strings. If the search string 
               is enclosed in /  (e.g. /^k.*e$/) it’s interpreted as a regular expression. See the install command for details about how to specify a capability. 
    
               Results of the search are printed in a table with columns Status, Name, Summary and Type of package. 
    
               In the detailed view (se -s) all available instances of matching packages are shown; each version in each repository on a separate line, with 
               columns Status, Name, Type, Version, Architecture and Repository. For installed packages Repository shows either a repository that provides exactly 
               the installed version of the package, or, if the exact version is not provided by any known repo, (System Packages) (or @System). Those installed 
               packages not provided by any repo are often denoted as being unwanted, orphaned or dropped. 
    
               The Status column can contain the following values: 
    
                   i+
                       installed by user request
    ...
    
    So you should be able to generate the information you are looking for with
    Code:
    # zypper se -si | grep "i+"
    But i have no idea whether that list will include the packages which you (additionally) selected manually during the initial installation.

    Regards

    susejunky

  9. #9

    Default Re: Which software did I install?

    If you use the command line this is easily accomplished with the cat and grep commands:

    Code:
    # cat ~/.bash_history | grep "zypper in"
    sudo zypper in vivaldi-stable 
    sudo zypper in peazip-7.4.0.LINUX.GTK2-1.x86_64.rpm
    If you've used the GUI to install packages, I don't think there is a neat solution.

  10. #10
    Join Date
    Mar 2020
    Location
    São Leopoldo, RS, Brazil
    Posts
    289

    Default Re: Which software did I install?

    Quote Originally Posted by larryr View Post
    Just do the same on the new install and diff the file with the output from your computer.
    That way you can see what needs to be installed. - you can cat the two files into one and use sort and uniq to find the missing entries.

    Code:
    # zypper se -si | awk '{print $3}'
    data...
    packages...
    
    Name
    
    ImageMagick
    ImageMagick-config-7-SUSE
    Mesa
    Mesa-32bit
    Mesa-demo-x
    Mesa-dri
    
    Lines Deleted
    
    zenity-lang
    zip
    zisofs-tools
    zlib-devel
    zoom
    zypper
    zypper-lifecycle-plugin
    zypper-log
    zypper-needs-restarting
    #
    Due to shortcomings of what "manually installed" means vs what OP wants to achieve, this is a good solution. Save the zypper output to separate files, and use the "diff" command though.
    Last edited by awerlang; 26-Feb-2021 at 12:08. Reason: typo
    openSUSE Tumbleweed

Page 1 of 2 12 LastLast

Posting Permissions

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