shell

Removing software in FreeBSD

Sometimes you need to uninstall some software. May be you need more room in your hard drive (not quite often nowadays, though) or maybe you just don’t like the software and want to get rid of it.
Here, pkg_delete and pkg_deinstall come to rescue.
pkg_delete deletes a software package previously installed. It is a quite simple program, so we will jump to the other option.

% pkg_delete kismet-200805.r1_1
%

pkg_deinstall is a wrapper for pkg_delete that handles wildcards and traverses dependencies. So it is specially useful when you need to remove a software package that installed a lot of other packages (Gnome? KDE?). The drawback, as you can imagine, is that it can take a while to complete.

These two methods I have mentioned above are quite simple, so it is when you want to remove software installed from ports: just move to the port and deinstall it

% cd /usr/ports/editors/dedit; make deinstall

Enjoy!

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields