There are several methods that you can use to remove Sybase servers.
First, stop all Adaptive Servers.
From a command line, enter:
# rpm -e sybase-ase-12.5-3.i386.rpm \ sybase-doc-12.5-3.i386.rpm \ sybase-efts-12.5-3.i386.rpm \ sybase-sqlremote-7.0.2-1.i386.rpm \ sybase-esql-12.5-3.i386.rpm \ sybase-openserver-12.5-3.i386.rpm \ sybase-openclient-12.5-3.i386.rpm \ sybase-chinese-12.5-3.i386.rpm \ sybase-french-12.5-3.i386.rpm \ sybase-german-12.5-3.i386.rpm \ sybase-japanese-12.5-3.i386.rpm \ sybase-korean-12.5-3.i386.rpm \ sybase-polish-12.5-3.i386.rpm \ sybase-portuguese-12.5-3.i386.rpm \ sybase-spanish-12.5-3.i386.rpm \ sybase-thai-12.5-3.i386.rpm \ sybase-common-12.5-3.i386.rpm
It is very important that you list the common package last, since it carries dependencies for all other packages.
You can use gnorpm(1), and select uninstall.
Alternatively, to erase all Sybase packages in one command, invoke the --nodeps to force rpm(1) to ignore order dependencies.
WARNING! Be sure to use grep(1) for “Sybase” to ensure that you erase only Sybase packages.
# rpm -e `rpm -qa | grep sybase` --nodeps