Installing Cisco AnyConnect VPN

I’m trying to set up AnyConnect and the bash script used to run the is failing after attempting to write some files to /usr/share. Is there an alternative directory I can use that’s not read-only? Alternatively, can I write the disk changes in the script to a new layer and commit that?

I believe that /opt is writeable directory. It is a symlink to /var/opt.