Beruflich Dokumente
Kultur Dokumente
Unit objectives
Use compression utilities to compress
Course ILT
Compression algorithm
– Instructions used to reduce the contents
of a file
Common compression utilities
compress
gzip
Course ILT
bzip2
The compress utility
Uses an algorithm to make file smaller
Average ratio: 40-50%
Course ILT
zcat
– Used to view the contents of archive
created with compress or gzip
zmore
– Used to view page-by-page
uncompress
– Decompresses files that were processed
with compress
Common options with the compress utility
Course ILT
GNU zip (gzip)
used by compress
Yields better compression
Typical ratio: 60-70%
Course ILT Common options with gzip
continued
Course ILT Common options with gzip, continued
The bzip2 utility
Uses a different algorithm than
compress or gzip
Course ILT
tar
cpio
Course ILT
dump/restore
Tape archive (tar)
One of the oldest and most common
back-up utilities
Course ILT
continued
Course ILT Common options with tar, continued
Tarballs
Incremental back-up
– Archives only files modified since the last
full back-up
Works only with files on ext2 and ext3
filesystems
Course ILT A sample back-up strategy
Course ILT Options with dump/restore
restore command
Extracts archives created with the
dump command
Course ILT
Course ILT Activity B-3
Source code
– Must be compiled on the local
architecture
RPM package
– Use Red Hat Package Management
system
Package manager
3. Run make
4. Run make install
Course ILT The LTRIS program
Course ILT Activity C-2
compiled for
rpm command
– Command used to install, query, and
remove RPM packages
Course ILT Common options with RPM
Red Hat Package Manager
Graphical tool that may be used to
install RPM packages available with
Course ILT
JPEG format
The cjpeg program converts a .jpeg
image file to grayscale
Course ILT Activity C-2