# Mono
# ====
# As I write this, the latest "stable" release according to the web site
# is 1.2.6 and the latest "legacy" release is 1.0.6
# If you want to uninstall libgdiplus or Mono, or clean up files from an
# old version before installing a new one, skip down to the bottom for
# instructions.
# Make sure that you install any Mono-based apps into the same prefix that
# you use for Mono itself (otherwise you'll have a /usr/lib/mono and a
# /usr/local/lib/mono mess...)
# If you ever want to uninstall libgdiplus, this should do it:
cd
su
test -d src/libgdiplus-* && ( cd src/libgdiplus-* ; make uninstall )
rm -r /usr/local/lib/libgdiplus.* /usr/local/lib/pkgconfig/libgdiplus.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libgdiplus-*" -exec rm -r {} \;
rm -f ~/installed/libgdiplus-*.tar.*
# If you ever want to uninstall mono, this should do it:
# (if you don't have the source, extract it and run configure, then 'make
# uninstall' will work)
cd
su
test -d src/mono-* && ( cd src/mono-* ; make uninstall )
test -d /etc/mono && rm -r /etc/mono
test -d /usr/include/mono && rm -r /usr/include/mono
test -d /usr/lib/mono && rm -r /usr/lib/mono
test -d /usr/share/jay && rm -r /usr/share/jay
test -d /usr/share/libgc-mono && rm -r /usr/share/libgc-mono
test -d /usr/share/mono && rm -r /usr/share/mono
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "mono-*" -exec rm -r {} \;
rm -f ~/installed/mono-*.tar.*