SLIDE 1
L e c t u r e 6 : S
- f
t w a r e m a n a g e m e n t
- r
“ H
- w
I L e a r n e d t
- S
t
- p
W
- r
r y i n g a n d L
- v
e A P T ” P a r t 2 H a n d s
- n
U n i x s y s t e m a d m i n i s t r a t i
- n
D e C a l 2 1 2
- 1
- 8
M a k e i n s t a l l s u c k s :
- n
- t
g u a r a n t e e d t
- w
- r
k c
- n
s i s t e n t l y
- t
a k e s t i m e ( h u m a n a n d c
- m
p u t a t i
- n
a l )
- d
i s
- r
g a n i z e d
- m
a n y f i l e s i n s t a l l t
- /
u s r / l
- c
a l , b u t n
- t
a l w a y s , c a n i n s t a l l a n y w h e r e
- n
s y s t e m , a n d p
- s
s i b l y
- v
e r w r i t e
- r
i n t e r f e r e w i t h
- t
h e r t h i n g s
- W
h a t i s i n s t a l l e d ? A n d w h a t v e r s i
- n
? W h a t i n s t a l l e d s
- f
t w a r e i s v u l n e r a b l e t
- a
e x p l
- i
t ? W h a t s
- f
t w a r e h a s a m a j
- r
b u g ?
- m
a k e u n i n s t a l l t a r g e t d
- e
s n ' t a l w a y s e x i s t
- r
w
- r
k c l e a n l y
- n
e e d t
- k
e e p c
- p
y
- f
s
- u
r c e D e p e n d e n c y h e l l :
- m
a n y d e p e n d e n c i e s , t e d i
- u
s
- c
h a i n s
- f
d e p e n d e n c i e s ( d e p e n d e n c i e s h a v e d e p e n d e n c i e s t h e m s e l v e s )
- c
- n
f l i c t i n g d e p e n d e n c i e s
- d
i f f e r e n t v e r s i
- n
s a n d v a r i a n t s w h i c h m a y b e i n c
- m
p a t i b l e , b u t n
- s
p e c i f i c “ c a n
- n
i c a l ” d
- c
u m e n t a t i
- n
- c
i r c u l a r d e p e n d e n c i e s ( d e p e n d e n c i e s m a y b e d e p e n d e n t
- n
- r
i g i n a l s
- f
t w a r e ) U p g r a d i n g c
- m
p
- u
n d s p r
- b
l e m s :
- y
- u
n e e d t
- k
e e p t r a c k
- f
u p d a t e s ( s e c u r i t y u p d a t e s a n d b u g f i x e s ) s
- –
k n
- w
i n g w h a t i s i n s t a l l e d , w h a t v e r s i
- n
s , w h i c h v u l n e r a b l e , i s i m p
- r
t a n t
- y
- u
n e e d t
- a
g a i n i n s t a l l f e t c h , c
- m
p i l e , a n d d e a l w i t h d e p e n d e n c y h e l l
- y
- u
n e e d t
- e
n s u r e c
- m
p a t i b i l i t y d u r i n g u p d a t e , u p d a t e
- t
h e r s
- f
t w a r e a t t h e s a m e t i m e , a n d p r a y n
- t
h i n g b r e a k s P a c k a g e m a n a g e m e n t :
- U
n i x d i s t r i b u t i
- n
p r
- v
i d e s a c e n t r a l r e p
- s
i t
- r
y
- f
p a c k a g e s e a c h w i t h a d i f f e r e n t n a m e
- p
a c k a g e s c a n b e s
- u
r c e p a c k a g e s w h i c h a r e m e a n t t
- b
e c
- m
p i l e d d u r i n g i n s t a l l a t i
- n
- r
b i n a r y w h i c h h a v e a l r e a d y b e e n c
- m
p i l e d
- p
a c k a g e s a r e m a i n t a i n e d a c c
- r
d i n g t
- a
p
- l
i c y m a n u a l
- “
u p s t r e a m ” i s m
- d
i f i e d a s n e c e s s a r y t
- e
n s u r e c
- m
b i n a t i
- n
s
- f
p a c k a g e s a r e c
- m
p a t i b l e a n d a c t c
- n
s i s t e n t l y
- m
e t a d a t a a s s
- c
i a t e d w i t h e a c h p a c k a g e i d e n t i f i e s v e r s i
- n
, d e p e n d e n c i e s , c h e c k s u m / s i g n a t u r e
- p
a c k a g e m a n a g e r h a n d l e s i n s t a l l i n g , s m a r t u p g r a d i n g (
- r
d e r
- f
- p
e r a t i
- n
s ) , c
- n
f i g u r i n g , a n d r e m
- v
i n g s
- f
t w a r e
- b
l u r s t h e b
- u
n d a r i e s b e t w e e n
- p
e r a t i n g s y s t e m a n d a p p l i c a t i
- n
s O S i s i t s e l f – a b u n c h
- f
p a c k a g e s
- s
a v e s d i s k s p a c e a n d m e m
- r
y s p a c e b e c a u s e s
- f
t w a r e c a n u s e s h a r e d l i b r a r i e s
- p
- s
s i b l y t h e g r e a t e s t f e a t u r e
- f
U n i x d i s t r i b u t i
- n