13,420
edits
Changes
no edit summary
# The name of the installation log file is <code>'''/root/install.log'''</code> -- It is an ASCII file (how can you be sure?) which can be viewed with the <code>'''less'''</code> command.
# You can make use of this file to determine how many packages have been installed: complete the following command to count the number of packages listed that are labelled "Installed" in the installation log file:
:: <code>'''grep ________________ /root/install.log | wc -l'''</code>
<ol>
<li>Some of the files on your system were installed with the software packages, and some were created by system activity (for example, by creating your Learn account and by logging in). If you know the package name (from the <code>install.log</code>), you can list all the files that were installed from the package by using the following command:</li>
</ol>
:: <code>'''rpm -q -l package_name'''</code> (where '''package_name''' represents the name of the ''application'' or ''package'')
<ol>
<li value="6">This combines the <code>'''-q'''</code> (query) option with the <code>'''-l'''</code> (list filenames) option</li>