Changes

Jump to: navigation, search

Lab 3 Warnings / Debrief

152 bytes removed, 07:59, 13 October 2015
no edit summary
<u>'''Install Method #1: Compiling Source Code'''</u>
This is the original way of installing software in Linux / Unix.
'''Steps to Compile Source Code''':
# Obtain compressed file containing source code (usually a "zipped tarball")<br>eg. '''wget [ URL of zipped tarball ]'''
 
# Decompress zipped tarball. For example '''tar xzvf [ filename.tar.gz | filename.tgz ]'''<br> Note: You can compress (create archives) by using the tar command as well.<br>For example: '''tar czvf [ filename.tar.gz ] [ directories or files to archive ]'''
# Change to directory containing source code. You may need to run a script called '''./config''' (if present) to check for some dependency issues.
<u>'''Install Method #2: Using the '''yum''' Utility'''</u>
This is a newer and more preferred method of installing software by command-line on a Redhat / Centos / Fedora Linux distribution. The yum utility is a program which is a <u>'''wrapper'''</u> for the rpm command. A wrapper program simply means a program that uses another utility (in this case, the rpm command). We have used the rpm command to query or determine information regarding installed applications on our Linux systems. When your Linux operating systems were installed, the installation DVD or network media contained rpm files that were installed on the system. Rpm files are simply pre-compiled programs that make it easier to install applications for a Linux system.
# To install applications contained on local media (eg. installation DVD), issue the command: '''yum localinstall [ full_pathname_to_xchat_rpm_file ]'''
# To provide information regarding installed application, issue the command: '''yum info packagename''' or '''rpm -qi packagename'''
 
 
== Common Mistakes / Warnings ==
* '''FOLLOW THE INSTRUCTIONS CAREFULLY''' in terms of access safe mode, or changing root's password.<br><br>
* You need to be root in order to use '''yum''' utility!
* Remember to backup your VMs after you have completed lab3! Perhaps you can use that shell script to backup all VMs!<br><br>
* Remember to backup your VMs after you have completed lab3! Perhaps you can use that shell script to backup all VMs!<br><br>
* If need to start-over, you can right-click on VM in Virtual Machine Manager, and remove (Make certain "delete files" is also selected, so you can re-use VM name).
13,420
edits

Navigation menu