Dual Mode allows you to install SAM to one directory, but
configure it in a separate, dual directory. This is a
benefit, as you can thus keep your configuration across minor version changes.
Do the above steps and verify that SAM runs.
As root: Make a dual directory for SAM. For
example:
Make symlinks in the dual directory to represent
begin and other executables in the root of SAM
that you wish to use in SAM. Each symlink you make points to
bgen, but you give it the name of the executable you
wish it to represent. For example, you could do this as root in
/tmp/Dual:
Copy files bprofile and init and
directory lib from SAM to the dual
directory. Use suitable file permissions.
As an ordinary user or as root, run SAM's "begin"
command. For example:
Please heed the above advice about not changing the PATH, as it
applies also to the executables of the dual directory.
Not only may you run begin and the other
executables of the SAM directory via the symlinks in the dual
directory, but you may also make configuration changes to it, such
as changing files bprofile, init,
or the contents of directory lib.
|