How To Install the same package twice
From RockWiki
If you want to install the same package twice (for testing a new version, for example), the Build-Pkg
script and Package Forking gives you all the control you need over it:
root@pallas:/usr/src/rock-src# mine -q openssh openssh 3.8p1 2.0.3 root@pallas:/usr/src/rock-src# ./scripts/Build-Pkg -prefix /opt/openssh openssh=opt_openssh ... some build messages ... root@pallas:/usr/src/rock-src# mine -q opt_openssh opt_openssh 4.3p2 0 root@pallas:/usr/src/rock-src#
Now you have a second installation of openssh in the /opt/openssh directory. This package is available through the ROCK package management by the name of opt_openssh
and can be - for example - uninstalled with the command:
root@pallas:~# mine -r -s -v opt_openssh