News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to uninstall code::blocks in Linux

Started by tristan_ph, September 02, 2008, 03:39:26 PM

Previous topic - Next topic

tristan_ph

hi, I have a noob question. I have recently compile and installed code::blocks in my Ubuntu (Linux). Now my question is, how do I remove them from the hardrive?

Thanks in advance.

McZim

hi, if you install from package, do:

sudo dpkg --remove package_name; sudo dpkg --purge package_name


if you install from source, do:

cd /source/dir/c::b; make uninstall

thomas

Be sure not to follow the instructions in case apt-get comes up with "the following are no longer needed".

When it said that to me after uninstalling wxWidgets once, I said "Oh yeah right, whatever. Go ahead, you sure know what you don't need". So I typed in the command that apt-get had told me (something like "auto-remove"?) and hit "yes", without really reading.

So, it kept working for a whole long while, uninstalling each and everything that remotely had a dependency to something that had a dependency to a dependency with the letters 'w' and 'x' in it.
Seriously, I ended up with an installation that had no graphical user interface and no sudo any more.
The latter was particularly funny. Try and reinstall sudo if you need sudo to run apt-get :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

JGM

lol that was funny! i remember those kind of thinks happened when i first started using linux  :D