How to install redis/memcached server and php extension in cyberpanel

is there any way to install Redis/Memcached in cyberPanel. I’m using cyberPanel on ubuntu

apt-get install redis
apt-get install memcached
apt-get install lsphp70-memcached

How can i find extensions folder for cyberpanel