Results 1 to 5 of 5

Thread: KDE: Possible To Create List Of All Applications I Installed?

  1. #1

    Question KDE: Possible To Create List Of All Applications I Installed?

    Hi,

    Is there some method to create a printable list of all the applications I installed onto openSUSE Tumbleweed?
    Everything that is not installed by default by KDE when Tumbleweed OS was installed.
    Also, I installed some applications that are not in the default Tumbleweed repositories.

    Let me know, thanks!

    Jesse

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,144
    Blog Entries
    15

    Default Re: KDE: Possible To Create List Of All Applications I Installed?

    Quote Originally Posted by JeZ-l-Lee View Post
    Hi,

    Is there some method to create a printable list of all the applications I installed onto openSUSE Tumbleweed?
    Everything that is not installed by default by KDE when Tumbleweed OS was installed.
    Also, I installed some applications that are not in the default Tumbleweed repositories.

    Let me know, thanks!

    Jesse
    Hi
    Use zypper se -i will show all packages/pattern/product installed, to refine use the -t option (on Tumbleweed type patch doesn't apply);

    Code:
    zypper se -i -t product
    zypper se -i -t pattern
    zypper se -i -t package
    There are many other options (look in the man page for zypper in the search section) by repository etc...
    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
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,442
    Blog Entries
    14

    Default Re: KDE: Possible To Create List Of All Applications I Installed?

    Another option is
    Code:
    rpm -qa > ~/package_installled_list.txt
    cat ~/package_installed_list.txt
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: KDE: Possible To Create List Of All Applications I Installed?

    Quote Originally Posted by JeZ-l-Lee View Post
    Hi,

    Is there some method to create a printable list of all the applications I installed onto openSUSE Tumbleweed?
    Everything that is not installed by default by KDE when Tumbleweed OS was installed.
    Also, I installed some applications that are not in the default Tumbleweed repositories.

    Let me know, thanks!

    Jesse
    Hi,

    According to man zypper the + means that the package/pattern was installed by the user request.


    So for example.


    Code:
    zypper --no-refresh se -t package -si bash
    Loading repository data...
    Reading installed packages...
    
    S  | Name                         | Type    | Version                | Arch   | Repository                                            
    ---+------------------------------+---------+------------------------+--------+-------------------------------------------------------
    i+ | ModemManager-bash-completion | package | 1.6.12-lp151.2.4       | x86_64 | Main Repository                                       
    i+ | bash                         | package | 5.0.11-lp151.417.1     | x86_64 | Shell Implementations (openSUSE_Leap_15.1)            
    i+ | bash-completion              | package | 2.7-lp151.4.1          | noarch | Main Repository                                       
    i  | bash-completion-devel        | package | 2.7-lp151.4.1          | noarch | Main Repository                                       
    i+ | bash-doc                     | package | 4.4-lp151.10.3.1       | noarch | Main Update Repository                                
    i+ | bash-lang                    | package | 5.0.11-lp151.417.1     | noarch | Shell Implementations (openSUSE_Leap_15.1)            
    i  | fd-bash-completion           | package | 7.1.0-lp151.8.1        | noarch | all the small tools for the shell (openSUSE_Leap_15.1)
    i  | fzf-bash-completion          | package | 0.20.0-lp151.13.1      | noarch | all the small tools for the shell (openSUSE_Leap_15.1)
    i  | libvirt-bash-completion      | package | 5.1.0-lp151.7.6.1      | noarch | Main Update Repository                                
    i+ | mbimcli-bash-completion      | package | 1.16.0-lp151.2.2       | x86_64 | Main Repository                                       
    i+ | mpv-bash-completion          | package | 3.3.17-lp151.6.1       | noarch | Main Repository                                       
    i+ | pulseaudio-bash-completion   | package | 11.1-lp151.5.3         | x86_64 | Main Repository                                       
    i+ | subversion-bash-completion   | package | 1.10.6-lp151.4.3.1     | noarch | Main Update Repository                                
    i+ | systemd-bash-completion      | package | 234-lp151.26.7.1       | noarch | Main Update Repository                                
    i+ | youtube-dl-bash-completion   | package | 2019.08.13-lp151.2.3.1 | noarch | Main Update Repository
    If the first column starts with i+ then it is installed by the user.

    Looking for the exact part of the manual.

    Code:
    PAGER='less +/^[[:space:]]*query\ commands' man zypper
    Now like what Malcomlewis posted the argument for the -t option can be one of the following.

    Code:
    package
    pattern
    product
    To show all packages that does not have i+ in the first column from the output of zypper you could use grep(1).

    Code:
    zypper --no-refresh se -t package -si | grep --line-buffered -e '^i[^+]'
    To show the opposite of the previous output.

    Code:
    zypper --no-refresh se -t package -si | grep --line-buffered -e '^i+'

    If you want to search packages/pattern/product from a specific repo you will need to know which repositories are enabled by using zypper.

    Code:
    zypper help lr | grep -- -E
    
    -E, --show-enabled-only     Show enabled repos only. Default: false
    Now run

    Code:
    zypper lr -E
    All the enabled repos should be listed.


    To add the specific repo in the search using zypper add the -r option.

    Code:
     zypper help se | grep -- '^-r'
    
    -r, --repo <ALIAS|#|URI>    Work only with the specified repository.

    The example below will show all the installed packages by the user request, that came from repo number 1 (from the output of zypper lr -E)

    Code:
    zypper --no-refresh se -t package -sir 1 | grep --line-buffered -e '^i+'

    To show the opposite.

    Code:
    zypper --no-refresh se -t package -sir 1 | grep --line-buffered -e '^i'
    If you're only interested in the package/pattern/product names you need to use something to parse the output of zypper that is not just line oriented like awk.

    To show only package names that was installed by user request.

    Code:
    zypper --no-refresh se -t package -si | awk '$1 == "i+"{print $3;fflush()}'
    To show the opposite
    Code:
    zypper --no-refresh se -t package -si | awk '$1 == "i"{print $3;fflush()}'
    Redirect the output to a file if you want to save it.
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,954

    Default Re: KDE: Possible To Create List Of All Applications I Installed?

    Quote Originally Posted by JeZ-l-Lee View Post
    Is there some method to create a printable list of all the applications I installed onto openSUSE Tumbleweed?
    As you may have deducted from the answers so far, they are all about software packages as defined by the usage of RPM because these are the entities that zypper (and YaST software management) and behind that RPM, use. What is an application and what not has no direct connection with those packages (some packages are not containing applications by any definition, other applications are spread over several packages, etc.).

    So it all depends very much on what YOUR definition of "application" is and how much it is translatable into "packages".
    Quote Originally Posted by JeZ-l-Lee View Post
    Everything that is not installed by default by KDE when Tumbleweed OS was installed.
    KDE does not install applications. KDE is a suite of applications itself and it is installed when you ask for it during the installation of the operating system.
    Also, except for inspecting the date/time of installation, there is nothing that makes a package installed during system installation different from a package installed later.

    Quote Originally Posted by JeZ-l-Lee View Post
    Also, I installed some applications that are not in the default Tumbleweed repositories.
    About software packages:

    • When they are installed from any repo using zypper or YaST they will be found with the methods described by others above.
    • When they are installed directly from an rpm package using zypper, they will be found also.
    • When they are installed using rpm, they will be found using rpm functions as mentioned above (together with all the zypper/YaST installed ones).
    • When they are installed by building using the more or less standard way from a tarball using make install, make, install, they will not be found by the methods mentioned above.
    • When they are installed by direct copy of files to the directories they should be, they will not be found by the methods above.
    Last edited by hcvv; 25-Feb-2020 at 01:25.
    Henk van Velden

Posting Permissions

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