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
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop















{ 3 comments… read them below or add one }
I wish back my Windows xp program.
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.
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…………..