Open main menu

CDOT Wiki β

Changes

Temp OPS235 Lab 1

79 bytes added, 18:40, 11 January 2012
no edit summary
# 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 in the installation log file:
:: <code>grep ________________ /root/install.log | wc -l</code>
# <ol> <li value="3">Using the <code>rpm</code> command: you can also use the following commands to list all the installed packages, and the total number of packages installed:</li></ol>
:: <code>rpm -q -a</code>
:: <code>rpm -q -a | wc -l</code>
:: <code>rpm -qa | wc -l</code>
# <ol> <li value="4">The <code>-q</code> option means query, and the <code>-a</code> option means all (in other words, query all installed software packages). Did you get the same number of packages from the above two methods?</li># <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>
# This combines the <code>-q</code> (query) option with the <code>-l</code> (list filenames) option.
# To capture the list of all the system processes to a file called <code>ps.lst</code>, enter the command: <code>ps -ef > ps.lst''</code>
# Copy the installation log file <code>/root/install.log</code> and the file ps.lst to a USB memory key, or scp to your matrix account as a backup.
# View the section below to learn about and perform an update on your fresh Fedora16 install (you may have to find spare time to perform this install if you are running short on lab time). '''Do you <u>not</u> proceed to Investigation 3 without performing an update'''.
{{Admon/tip |Updating Fedora|The Fedora 16 software is updated frequently to add features, fix bugs, and upgrade security. Perform a system update to get the latest versions of the packages installed in Fedora: Start the Firefox web browser, turn off popup window blocking (select ''Edit>Preferences'', then select the Content tab and uncheck the box to Block Popups), then login to SeneNET. Open a terminal and type <code>su</code> to start a shell as root. Enter the command <code>yum update</code> This will download and install all of the packages that have been updated since the installation DVD image was created. If you complete this command at Seneca it should run quite fast as Seneca College hosts a Fedora Repository mirror (a copy of all of the current fedora packages, on a local web server).}}
13,420
edits