How can I uninstall the CS50 library off of Ubuntu? I followed the instructions on the page but I realized that I have the wrong version and now I need to uninstall it.
Just execute the following command
$ sudo rm -f /usr/local/include/cs50.h /usr/local/lib/libcs50.a
To install the latest version of the CS50 C library on Ubuntu, execute the following commands
$ sudo add-apt-repository "deb http://mirror.cs50.net/ide50/2015/dists/trusty/main/binary-amd64/ /" $ sudo apt-get update $ sudo apt-get install lib50-c