Linux Delete / Uninstall Software

by Vivek Gite on April 4, 2008 · 2 comments

How do I uninstall or delete installed software under Linux operating systems?

Different Linux distributions comes with different tools to remove the software installed under Linux.

First, open terminal (bash prompt).

You must be login as root user to run any one of the following command.

Remove Software under Red Hat / RHEL / Fedora / CentOS Linux

Use rpm or yum command to delete the software.

To list the installed software type

rpm -qa | less
rpm -qa {software-name}
yum list | less
yum list {software-name}

To get information about httpd package, enter:
rpm -qa httpd
yum list httpd

To remove a software use rpm or yum command as follows

rpm -e {software-name}
yum remove {software-name}

To delete a package called httpd, enter:
rpm -e httpd
yum remove httpd

Delete / Uninstall Software Under Debian / Ubuntu Linux

To list installed software type:
dpkg --list
dpkg --list | less
dpkg --list | grep apache

To delete the software, enter:
sudo apt-get remove {package-name}
sudo apt-get remove apache

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 2 comments… read them below or add one }

1 catharina laptop March 20, 2010

I wish back my Windows xp program.

Reply

2 Wamiq Ali January 2, 2012

Which kinda? You can use wine under linux to run many. Even softwares like photoshop. And many common softwares are available at linux like skype, VLC, teamviewer and much more.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 15 + 2 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: