Linux related Operations/See if Software is installed/uninstalled

Source: Internet
Author: User

1. First check to see if VSFTPD is installed in the system

Rpm-qa | grep vsftpd

For example, if the display results are as follows, the VSFPTD3.0 FTP server is installed

[email protected] sbin]# Rpm-qa | grep vsftpd
Vsftpd-3.0.2-9.el7.x86_64

2. Stop the VSFTPD server

/bin/sytemctl Stop Vsftpd.service

3. Use the RPM command to clear

Rpm-e vsftpd-3.0.2-9.e17.x86_64

[Email protected] sbin]# rpm-e vsftpd-3.0.2-9.e17.x86_64
Error: Package vsftpd-3.0.2-9.e17.x86_64 not installed
[ as can be seen here, after the installation of the VSFTPD software is cleared, several important configuration files are still automatically reserved.] If you're sure you don't need one, you can delete it manually.

You can use the RM command.

4. Other residual file cleanup

Other residual files may but do not include: Files under the a./etc/vsftpd/directory B. configured system self-boot services, and so on. These need to be handled manually, of course, can not be dealt with, the impact is small.

You can use the command: Find/-name ' *vsftpd* ' to locate the file that contains the VSFTPD typeface, and then make sure to delete it.

Linux related Operations/See if Software is installed/uninstalled

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.