How do you uninstall programs in Linux?

Top Answer
User Avatar
Wiki User
2011-09-02 01:39:51
2011-09-02 01:39:51

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

Related Questions

User Avatar

Uninstall programs that allow you to safely and completely remove unneeded programs and related files from your hard disk.

User Avatar

You cannot "uninstall" it. You can delete the partition it is installed on.

User Avatar

You can either run the uninstall program, or you can just delete the folder that it is installed in. Windows programs are placed in /home/yourusername/.wine/drive_c/Program\ Files

User Avatar

Uninstall it from 'add or remove programs'.

User Avatar

To uninstall Windows Movie Maker (or any programs):> Click Start> Control Panel> Programs> Programs and FeaturesA list will be generated. Find the program you want to uninstall and click Uninstall.

Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.