![Ubuntu find Dependencies for a package](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Ubuntu find Dependencies for a package
To find dependencies for a package, run apt-cache depends PACKAGE_NAME Example root@ubuntu-s-4vcpu-8gb-nyc1-01:~# apt-cache depends php7.2 php7.2 |Depends: libapache2-mod-php7.2 |Depends: php7.2-fpm
![gpg: failed to start the dirmngr](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
gpg: failed to start the dirmngr
When i add a key with apt-key command, i get error root@ip-172-31-47-128:~# apt-key adv –recv-keys –keyserver keys.gnupg.net E1F958385BFE2B6E Executing: /tmp/apt-key-gpghome.0BP6Ro2t54/gpg.1.sh
![Install Remote Desktop in Debian/Ubuntu](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Install Remote Desktop in Debian/Ubuntu
To install and use Linux remote server as desktop, first install lite weight desktop environment like XFCE on your server.
![Debian](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Debian
When I install Debian 9 from CD, it did install with /etc/apt/sources.list pointing to CD. To get this work properly,
![](https://serverok.in/wp-content/uploads/2018/04/monit-log.png)
Install Monit on Ubuntu
Monit can be used to monitor services, restart them if required. To install monit, run apt -y install monit To
![ioncube php module](https://serverok.in/wp-content/uploads/2018/03/ioncube-php-module.png)
Install ionCube on Debian 9
Download latest version of ionCube loader from cd /usr/local/src wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvf ioncube_loaders_lin_x86-64.tar.gz cd ioncube/ Check PHP version with
![Install GeoIP PHP Module in Ubuntu](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Install GeoIP PHP Module in Ubuntu
To install GeoIP php module in Ubuntu, run apt install php-geoip To enable module, run phpenmod geoip You can see
![Install pureftpd on Ubuntu](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Install pureftpd on Ubuntu
To install pure-ftpd on Ubuntu, run apt install pure-ftpd -y Create a system user useradd -d /var/www -s /bin/bash USERNAME
![Reinstall a package using apt](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Reinstall a package using apt
To reinstall a package, run apt install –reinstall PKG_NAME Example dpkg apt
![dpkg](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
dpkg
To force delete a package, run List all Installed packages List all files in a package To find which package