If you want to remove/uninstall a package using the RPM utility, we highly recommend that you do so without removing any dependencies. This is because we want to ensure that you remove only the intended package without affecting others.

To remove the RPM package using SSH, simply login to your server as root, then type in the following command:

rpm -e --nodeps $packagename

Where $packagename is the name of the RPM package that you want to remove/uninstall using SSH.

Now you know how to remove/uninstall an RPM package using SSH without affecting other packages or removing any dependencies. You may now go ahead and order a dedicated server or any of our cheap virtual private servers.

  • RPM, CentOS
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Delete a File or Folder Using SSH

To delete a file or folder using SSH, we use the rm command accompanied by some options as the...

How to Delete Files and Folders Using SSH Without Confirmation

In our previous article, we showed you how you can delete a file, folder or even sub-folders...

How to List Files and Folders Inside a Folder Using SSH

Listing files and folders within a given folder is one of the easiest and simplest SSH commands....