LINUX-PACKAGE MANAGEMENT- RPM Question

I’m trying in RPM quiz, i’m getting unexpected response when i try to uninstall ftp package, can someone help me what’s the issue here.

Hello, @rmuthyam
Use the package name what you got from the rpm -aq | grep ftp

@rmuthyam , To un-install an RPM package you can use rpm -e , where e stands for erase.

sudo rpm -e ftp

So in the install command, we need to use .rpm extension but not in uninstall command?
In the lecture, the uninstall command is demonstrated using .rpm extension