
During installation I am able to see lots of information about interesting packages and I often select them with the aim of checking them out. By the time I have intalled I've forgotten the names!! Can I get a printout of what I installed with the short description that showed up during installation? Chris Chris Davies Head of IT Epsom College College Road Epsom Surrey KT17 4JQ tel.: 01372 821178 fax.: 01372 821005

Hi,
During installation I am able to see lots of information about interesting packages and I often select them with the aim of checking them out.
By the time I have intalled I've forgotten the names!! Can I get a printout of what I installed with the short description that showed up during installation?
If you really want a complete printout of all information of all installed packages, you could enter the following command at the commandline of e.g. an xterm : (for i in `rpm -qa`; do rpm -qi $i; done) > output Be aware, that the file 'output' was almost one megabyte big on my machine, so you might want to avoid to print it ... You can have a look at the file with a program called 'less' (you can quit by pressing q) or e.g. with the KDE system editor. What does this chain of commands do ? The command rpm -qa lists all packages in the system. The for-loop loops over all lines of output (i.e. each installed package) of rpm -qa and stores each line in the variable i . For each iteration of the loop the command rpm -qi <packagename> gets executed. The $i just returns the value of the variable i. rpm -qi <packagename> tells you the information available for a specific package. The overall output of the command gets then redirected into a file. Might look complicated, but such shell scripts provide very powerful features. There is another, easy way. You could start the program 'YaST' in a shell and then just change into the package selection. There you will find the information for each package in a graphical interface. Have a nice day, Ruediger

I think the command which Ruediger gave could be simplified: rpm -qai | less will give you what you want on the screen, and rpm -qai>package_list will write the same output to the file package_list On Wed, 1 Mar 2000, Ruediger Berlich wrote:
Hi,
During installation I am able to see lots of information about interesting packages and I often select them with the aim of checking them out.
By the time I have intalled I've forgotten the names!! Can I get a printout of what I installed with the short description that showed up during installation?
If you really want a complete printout of all information of all installed packages, you could enter the following command at the commandline of e.g. an xterm :
(for i in `rpm -qa`; do rpm -qi $i; done) > output
Be aware, that the file 'output' was almost one megabyte big on my machine, so you might want to avoid to print it ...
You can have a look at the file with a program called 'less' (you can quit by pressing q) or e.g. with the KDE system editor.
What does this chain of commands do ? The command rpm -qa lists all packages in the system. The for-loop loops over all lines of output (i.e. each installed package) of rpm -qa and stores each line in the variable i . For each iteration of the loop the command rpm -qi <packagename> gets executed. The $i just returns the value of the variable i. rpm -qi <packagename> tells you the information available for a specific package. The overall output of the command gets then redirected into a file.
Might look complicated, but such shell scripts provide very powerful features.
There is another, easy way. You could start the program 'YaST' in a shell and then just change into the package selection. There you will find the information for each package in a graphical interface.
Have a nice day, Ruediger
-- Roger Whittaker SuSE Linux Ltd The Kinetic Centre Theobald Street Borehamwood Herts WD6 4PJ ---------------------- 020 8387 1482 ---------------------- roger@suse-linux.co.uk ----------------------
participants (3)
-
Chris Davies
-
Roger Whittaker
-
Ruediger Berlich