RPM does not install due to dependency issues, even with -i --nodeps; extracting it into a tarball does not succeed either.
Q: Any way to get the distro as a tarball?
Two suggestions that would make managing the product easier for users if that is possible:
- Use /opt/cycas/3.99 as the install directory instead of ./cycas39.
That keeps all of your code in one place and simplifies finding it.
I normally symlink the version directory contents up one level via:
cd /opt/
;
rm *;
ln -fs .//* .;
to give me a consistent /opt//bin/. The symlinks
allow installing and testing a new version without interfering with the
existing code, upgrading for users is a single rm+ln command, so is
downgrading: just symlink the older version up a level. Removing the
old versions is a simple rm -rf of the old version directory once it is no
longer used.
I´ve also had good luck with keeping /opt/bin as a directory of symlinks
to ..//bin/*. That allows a single /opt/bin in $PATH to track
the current versions of all the installed products. Ditto /opt/lib,
/opt/include: the /opt/ symlinks keep the product at the
correct revision for users and adding or removing a product does not
require modifying $PATH.
- Forgo /usr/* and leave it all under /opt/cycas/.
Installing the code (and removing it) requires managing only a single
directory.
Thanks for any assistance.