How to uninstall application installed with rpm2cpio

I tried to install google-chrome with these commands:
[ -f google-chrome-stable_current_x86_64.rpm ] || wget
rpm2cpio google-chrome*.rpm | ( cd /; cpio -idv)
Now I don’t know how to uninstall it.
I tried to do
rpm -e google-chrome-stable
but this didn’t work, output:
error: package google-chrome-stable is not installed
besides, there is no icon on desktop too

Have you tried using this information? Installing Google Chrome on Clear Linux*

All I had to do, was to delete chrome directory and .desktop file

1 Like

sudo rm -rf /etc/cron.daily/google-chrome /opt/google /usr/bin/google-chrome /usr/bin/google-chrome-stable /usr/share/appdata/google-chrome.appdata.xml /usr/share/applications/google-chrome.desktop /usr/share/gnome-control-center/default-apps/google-chrome.xml /usr/share/man/man1/google-chrome-stable.1.gz /usr/share/man/man1/google-chrome.1.gz