Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7 - VMware

1,291 bytes removed, 08:59, 7 June 2016
no edit summary
|}
<ol>
<li>Check to see if there is a file named <b><code><span stylevalue="color:#3366CC;font-size:1.2em;7">Makefile</span>Make certain you are logged in as a regular user (not root). Issue the following command:</codebr></b> or <b><code><span style="color:#3366CC;font-size:1.2em;">makefile./configure && make</span></code></b>. If so, type the command: <ulbr> <libr><b><code><span style="color:#3366CC;font-size:1Most likely, you will get an error.2em;">make</span></code></bWhat do you think the error is telling you></li> <li>Did You can use the command work? Why? Use the <b><code><span style="color:#3366CC;font-size:1.2em;">yum</span></code></b> command to install the package '''gcc'''some missing dependencies. What do you think the package ''gcc'' does?</li> </ul> <li>Reissue the <b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b> command. Where you successful? What does <code>make</code> If not, what doyou think is missing?</li> <li>Issue Use the command as root: <b><code><span style="color:#3366CC;font-size:1.2em;">yum list ncurses</span></code></b>. What do you see? Issue the command at root: <b><code><span style="color:#3366CC;font-size:1.2em;">yum search ncurses</span></code></b>. What do you observe?</li> <li>In this case, you need to install the ncurses development libraries as well. Issue gcc compiler, and issue the following command as root: <b><code><span style="color:#3366CC;font-size:1.2em;">yum install ncurses-devel.x86_64/configure && make</span></code></b>. Now issue the command: <b><code><span style="color:#3366CC;font-size:1again.2em;">make</span></code></b>Where you successful this time?</li> <li>Some software distributed as source code can automatically install itself. Try this Run the command: <ul> <li><b><code><span style="color:#3366CC;font-size:1.2em;">make installlbreakout2</span></code></b></li> </ul> </li> <li>Most but not all source code archives include the capability of installing themselves this way.Where you successful?</li> <li>If the You need to run a command <code>to make install</code> does not work (how can you tell? What command did you learn from ULI101 to confirm that this command cannot be run from program available regardless of your current directory. Login as root, and issue the command line?), copy the <b><code><span style="color:#3366CC;font-size:1.2em;">nled</span></code></b> program manually: <ulbr> <li><b><code><span style="color:#3366CC;font-size:1.2em;">cp nled /usr/local/binmake install</span></code></b></li> </ul> </li> <li>Run the command: <b><code><span style="color:#3366CC;font-size:1.2em;">nledlbreakout2</span></code></b> from the current directory to make sure that . Did it works. To exit this application, press '''ESC''', then type the letter '''q''' at the command prompt as the bottom left-hand corner and then press '''ENTER'''.work?</li> <li>Why did copying the nled executable to '''/usr/local/bin''' allow the nled command to be run by name anywhere in the command prompt?</li></ol>
13,420
edits

Navigation menu