Changes

Jump to: navigation, search

OPS235 Lab 1 19

176 bytes added, 17:16, 28 August 2013
no edit summary
<ol>
<li value="4">Note: the "Performing post-installation setup tasks" runs for several minutes. When the installation process is complete, a screen will prompt the user to finish configuration (or to confirm completion, and ask the ). The user should make certain to remove the DVD, and reboot prior to rebooting the computerfrom the hard disk drive. </li> <li> Write in your lab log-book the time it took to perform this DVD Fedora install.</li> <li>Remove the Fedora Installation DVD, and click '''Reboot'''.</li> 
<li>Finish the post-installation customization, wait for the login screen to appear, and then login to your computer account and your created (i.e. your name).</li>
-->
# Boot your computer from your hard drive (see instructions above to display boot menu by pressing F10). Log into your regular user account.
# Open a terminal by clicking the '''Activities '''menu, and typing in the search area: '''gnome-terminal'''. A terminal program icon should appear: click on the icon to open a shell terminal.
# Issue the following command: <code>'''su -'''</code>
:: <code>'''rpm -qa | wc -l'''</code>
<ol>
<li value="45">The <code>'''-q'''</code> option means query, and the <code>'''-a'''</code> option means all (in other words, query all installed software packages).</li>
<li>Enter the following command and record the number:
</ol>
<ol>
<li value="67">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><br />(where '''package_name''' represents the name of the ''application'' or ''package'')
<ol>
<li value="78">This combines the <code>'''-q'''</code> (query) option with the <code>'''-l'''</code> (list filenames) option</li>
<li>You can pipe the outupt through <code>'''wc -l'''</code> to count the number of lines:</li>
</ol>
:: <code>'''rpm -ql package_name| wc -l'''</code>
<ol>
<li value="910">To obtain specific information regarding a specific program, you can combine the <code>'''-q'''</code> (query) option with the <code>'''-i'''</code> (info) option. Issue the following command to obtain detailed information regarding the '''gnome-terminal''' application:</li>
</ol>
::<code>'''rpm -qi gnome-terminal'''</code>
<ol>
<li value="1011">To find out the name that you have assigned to your Linux system, enter the command: <code>'''hostname'''</code></li>
<li>Issue the following command: <code>'''hostname f19host'''</code></li>
<li>Re-issue the <code>hostname</code> command. What happened?</li>
13,420
edits

Navigation menu