I have been at this for three hours. Why I have been at this for three hours you ask? Because when I go to install a theme it says....
Could not create directory. /var/www/wordpress/wp-content/upgrade/terminally.tmp
Therefore I thought to myself. I will reinstall wordpress by terminal. I can not remove wordpress.
When I do
sudo apt-get purge wordpress
After changing directories to the file wordpress it says...
Reading state information... Done
Package 'wordpress' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 263 not upgraded.
I even tried doing
rm -R wordpress
I do not know what to do. Please help me remove wordpress.