Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

How to uninstall code::blocks in Linux

(1/1)

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:


--- Code: ---sudo dpkg --remove package_name; sudo dpkg --purge package_name

--- End code ---

if you install from source, do:


--- Code: ---cd /source/dir/c::b; make uninstall
--- End code ---

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 :)

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

Navigation

[0] Message Index

Go to full version