Cover V03, I04
Article
Figure 1
Listing 1
Sidebar 1
Table 1

jul94.tar


Figure 1: An example of sharing local software on a network

Assume there is an installed package called "example" on
/home/server/l45 that looks like this:

/home/server/l45/example/
bin/
run_example
doc/
example.ps.gz
include/
example/
one.h
two.h
lnfo/
example.info
lib/
example/
libex.a
exam.o
man/
man1/
example.1
cat1/
example.1

Then the command "setup -flserver/l45 example" does this:

ln -s /home/server/l45/example /opt/example
cd /opt/bin
ln -s ../example/bin/run_example run_example
cd /opt/doc
ln -s ../example/doc example
cd /opt/include
ln -s ../example/include/example example
cd /opt/lnfo
ln -s ../example/info/example.info example.info
cd /opt/lib
ln -s ../example/lib/example example
cd /opt/man/man1
ln -s ../example/man/man1/example.1 example.1
cd /opt/man/cat1
ln -s ../example/man/cat1/example.1 example.1
mkdir /var/opt/example
chmod 1777 /var/opt/example