Tag: debian

How to uninstall and purge a package in Debian

To uninstall or remove a package, use: sudo apt-get –purge remove <package-name> To list packages of a certain type you might want to remove: dpkg -l | grep ‘string you are looking for’

/ September 13, 2007

How to fix fatal error “Call to undefined function: mysql_connect()”

I thought I’d post this so people can find the answer more easily than I was able to. If you get this error when a PHP 4 page tries to connect to MySQL on Debian Sarge (testing release): Fatal error:...

/ May 29, 2005