Module 04 - Linux Installation and Package Management
Module 04 - Linux Installation and Package Management
Linux Installation
and Package Management
Ojectives
Design a Hard Disk Layout
System Considerations
Swap Space
General Guidelines
LILO
GRUB
Manage Shared Libraries
Shared Library Dependencies
Linking Shared Libraries
Tracks:
o A series of sectors positioned end-to-end
in a circular path.
The number of sectors per track varies
with the radius of a track on the platter
Cylinders:
o A stack of tracks.
To restore:
Backup:
Using the dd command, you can back up each of the individual
partitions. The command may also be used to back up the entire
hard drive.
To back up a hard drive to another hard drive, you would issue the
following command, where if=/dev/hdx represents the hard drive
you want to back up and of=/dev/hyd represents the target or
destination drive of the backup
Boot Loader:
LILO (Linux Loader)
Grub (GRand Unified Bootloader)
required by the program are linked from system libraries that handle
disks, memory, and other functions.
Exp: when the standard C-language printf() function is used in a
program, the programmer doesnt provide the printf() source code, but
instead expects that the system already has a library containing such
functions
Link Type:
Statically linked:
o Stands alone, requiring no additional code at runtime
o Wasted memory when many different programs running concurrently
contain the same library functions
Dynamically linked
o Allows multiple programs to use the same library code in memory
o Dynamically linked libraries are shared among many applications and
are thus called shared libraries
Name
Version
Revision
Architecture
YUM Overview
YUM (Yellowdog Updater Modified) is a package manager
offering a fast way for installing, updating, and removing
packages
The yum command has a very simple interface and functions
similar to rpm
yum additionally manages all of the dependencies for you
Yum has the ability to support multiple repositories for
packages
YUM is configured through the /etc/yum.conf configuration
file.
YUM Overview
YUM Overview
You can also check to see if a particular package is installed
or available for install using the list command
YUM Overview
YUM Overview
o Package name
o Version number
o File extension