≡ Menu

Linux Delete / Uninstall Software

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

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 9 comments… add one }

  • catharina laptop March 20, 2010, 4:37 am

    I wish back my Windows xp program.

    • Wamiq Ali January 2, 2012, 6:33 am

      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.

  • Yusuf September 24, 2012, 5:47 am

    i want to uninstall the oracle 10g from the vertual linux. And my linux os is installed on VMware software so please tell how can i do it ??????????
    Thank You…………..

  • Pinoy October 20, 2013, 10:18 am

    Thanks! Short but informative! :)

  • cata December 27, 2013, 1:36 pm

    thanks a bunch!

  • mina January 10, 2014, 9:23 am

    what should i do if i need to see list of unistalled program

  • Natsu September 3, 2014, 6:04 pm

    That works to full uninstall? Including config files? I mean, for apt-get you can use purge, but for yum, how can you do that?

  • Linuxisme November 16, 2014, 9:38 am

    Why very difficult UNINSTALL for LINUX, why?
    Windows only ONE CLICK, but LINUX many many click…..

  • Linuxisme November 16, 2014, 9:40 am

    SOLUTION for ONE CLICK UNINSTALL Please…..

Leave a Comment