How to use rpm e to uninstall JDK in Linux

Updated on technology 2024-03-28
11 answers
  1. Anonymous users2024-02-07

    You can delete this directly.

    Take care to remove the environment variables.

  2. Anonymous users2024-02-06

    Cause: Caused by an error. Workaround:

    For the following details:1 Run the where command to view the copy path of the mysql installation.

    2 Check the rpm package file (rpm qa grepmysql) installed with mysql.

    3. Fuzzy matching: delete the mysql file in the installation package (yum deletes mysql).

    4 Proceed to delete the rpm installation package (delete the file of the rpm installation package found in step 3).

    5. Back up and delete the MySQL database file, as shown in the figure below.

  3. Anonymous users2024-02-05

    rpm -e does not support wildcards.

    You can use rpm -qa|grep apache|xargs rpm -e to delete, and if there is a dependency, you can add --nodeps.

  4. Anonymous users2024-02-04

    The rpm -e option does not support wildcards such as the * sign, and rpm packages can only be deleted one by one, and must be the full package name (not included). rpm suffix).

  5. Anonymous users2024-02-03

    You'd better take a screenshot of the error prompted, so that others can judge the error more accurately.

  6. Anonymous users2024-02-02

    To do so.

    rpm -e

    Keep up with the detailed package names and delete them one by one.

  7. Anonymous users2024-02-01

    Uninstall JDK from Linux.

    1.Uninstall the JDK version that comes with the system.

    #rpm -qa|grep gcj

    To uninstall the default installation of JDK:

    #rpm -e --nodeps

    2.Uninstall the installed JDK

    #rpm -qa|grep jdk

    Do a self-installing jdk uninstall:

    #rpm -e --nodeps

  8. Anonymous users2024-01-31

    If not, it means that it is not installed.

  9. Anonymous users2024-01-30

    What version of Linux, if it supports rpm packages, use rpm -qa |grep jdk look it up, the name of the package. Then delete it with rpm -e. If you are using SUSE or OpenSUSE, use yast, go to the software management, search for JDK, and then remove the previous checkmark.

  10. Anonymous users2024-01-29

    I always install the new JDK and then export it in the environment variables.

  11. Anonymous users2024-01-28

    find name jdk* The source code package can be deleted directly.

Related questions
11 answers2024-03-28

Both are operating systems and can accomplish the same characters. >>>More

6 answers2024-03-28

The Linux ping command is used to detect the host.

The ping command will use the ICMP protocol to send a message requesting a response, and if the network function of the remote host is not faulty, it will respond to the message, so that the host is operating properly. >>>More

5 answers2024-03-28

Are you a text or desktop operation?

6 answers2024-03-28

Tools required: Linux system, USB flash drive, ISO image file. >>>More

7 answers2024-03-28

Modify network parameters? Can you elaborate on what you want to change?