To upgrade Administration Server from version 13—15.4 to version 16 or later, you can install a new version over an earlier one by using the Kaspersky Security Center Linux installation file.
To upgrade Kaspersky Security Center Linux from version 15.4 or earlier to the latest version by using the installation file:
ksc64-<version number>.x86_64.rpmksc64_<version number>_amd64.debsudo -i -u postgres psql -U postgres -c "CREATE DATABASE <iam_db_name>;"
sudo mysql -u root -p -e "CREATE DATABASE <iam_db_name>;"
sudo adduser ksciam
sudo gpasswd -a ksciam kladmins
sudo usermod -g kladmins ksciam
sudo yum install ./ksc64-<version number>.x86_64.rpm
sudo apt-get install ./ksc64_<version number>_amd64.deb
After the command has been successfully executed, the /opt/kaspersky/ksc64/lib/bin/setup/postinstall.pl script is created. The message about that is displayed in the terminal.
/opt/kaspersky/ksc64/lib/bin/setup/postinstall.pl script to configure the upgraded Administration Server:sudo /opt/kaspersky/ksc64/lib/bin/setup/postinstall.pl
Y to confirm that you have fully read, understood, and accept the terms and conditions of the EULA. Y again to confirm that you have fully read, understood, and accept the Privacy Policy that describes the handling of data.Installation of the application on your device will continue after you have entered Y twice.
1 to select the standard Administration Server installation mode.The picture below shows the last two steps.

Accepting the terms of the EULA and the Privacy Policy, and selecting the standard Administration Server installation mode in the command-line terminal
1.2.We recommend that you upgrade the Network Agent for Linux to the same version as Kaspersky Security Center Linux.
After completion of the remote installation task, the Network Agent version is upgraded.
Run the following commands on Linux-based assets to remove dependencies that are no longer needed:
sudo apt-get -y autoremove
sudo apt -y autoremove
sudo dnf autoremove
sudo yum autoremove