Uninstalling Zend Server on RPM (SLES and OpenSUSE)

The following procedures describes how to uninstall Zend Server for IBMi on an RPM (SLES and OpenSUSE) operating system.

Uninstalling and deleting  Zend Server for IBMi can be performed by using the following programs:

Important!

The following resources are not removed during the uninstallation procedures describes below:
1. Files under Zend Directory (/usr/local/zend): DB files (located at var/db) and Log files (located at var/logs).
2. User 'zend' (not a regular user, login disabled).
3. Web server (Apache).

Note:

To perform this action you must have root privileges.

Automatically Uninstalling Zend Server

The following instructions describe how to delete or uninstall Zend Server using an automated script that includes all remove commands.

 

 

Instructions on how to complete a procedure

To automatically uninstall Zend Server for IBMi run:

/usr/local/zend/bin/uninstall.sh

Tip:

Add --automatic to this command to run the script uninterrupted and without prompting verification messages.

Manually Uninstalling Zend Server

The following procedure describes how to uninstall Zend Server for IBMi using 'zypper'.

Run the commands in the shell as root or using sudo.

 

 

Instructions on how to complete a procedure

To uninstall Zend Server for IBMi on SLES 11 and OpenSUSE run:

zypper remove *zend*

To uninstall Zend Server for IBMi on SLES 10 run:

 rpm -qa --qf "%{name}\n" | grep zend | xargs zypper remove

When uninstalling, configuration files are not removed. They remain in the same location and are renamed with an additional suffix (.rpmsave) so that they can be reused in a newer installation.

For example: a file called example.ini is renamed to example.ini.rpmsave after running the un-install.

 

 

Related Links

Related Links:

Upgrading Zend Server

Additional Packages

 

 

 

Read Also

  Installing Zend Server    
  Upgrading Zend Server