answersLogoWhite

0

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

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

ReneRene
Change my mind. I dare you.
Chat with Rene
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
More answers

Depends on the package manager:

apt-get remove packagename --> Debian & derivatives

pacman -R packagename --> Arch & derivatives

zypper remove packagename --> openSUSE & derivatives

emerge -C packagename --> Gentoo & derivatives

yum remove packagename --> Fedora & derivatives

User Avatar

Wiki User

12y ago
User Avatar

In Ubuntu, type at the command prompt: sudo apt-get install

To remove a program, type: sudo apt-get --purge remove

User Avatar

Wiki User

11y ago
User Avatar

Add your answer:

Earn +20 pts
Q: How do you uninstall programs in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp