I ran both Bitcoin Core and BitcoinABC on Ubuntu. However, I installed both from tar files. You need to specify different data directories and ports. You can save space by using symlinks in the BitcoinABC 'blocks' directory for blocks before the split.
You also need to remember to specify the data directory when using the bitcoin-cli command. To prevent mistakes, I used simple shell scripts with different names to invoke the appropriate bitcoin-cli command.