Why shouldn’t you use standard package and dependency management on an Arista switch?
Arista switches can’t run package managers
Arista modifies the kernel to disallow it
Running an install could update dependencies required for the base EOS install
There is no reason not to use them on an Arista switch
If the system is swapping, what can be done to alleviate the problem?
Add faster CPUs
Add more CPUs
Add more memory
Add a larger hard drive