How to use Kaspersky Update Utility 4 for Linux from the command line
To use Kaspersky Update Utility for Linux from the command line, run the uu-console.sh file and use the following parameters:
Parameter | Description |
---|---|
--accepteula | Accept the End User License Agreement. The License Agreement can be found in the license.txt file in the downloaded installer. You must accept the terms of the End User License Agreement to proceed with the installation. If you run the application without specifying this parameter, you will be requested through the command line. To accept the terms of the License Agreement, press Y on the keyboard. |
--acceptprivacypolicy | Accept the terms of the Privacy Policy. The Privacy Policy can be found in the license.txt file in the downloaded installer. You must accept the terms of the Privacy Policy to use the application. If you run the application without specifying this parameter, you will be requested through the command line. To accept the terms of the Privacy Policy, press Y on the keyboard. |
--acceptksn | Agree to participate in Kaspersky Security Network (KSN). The Kaspersky Security Network Statement can be found in the license.txt file in the downloaded installer. If you run the application without specifying this parameter, you will be requested through the command line. To participate in Kaspersky Security Network, press Y on the keyboard. |
--declineksn | Opt out of participation in Kaspersky Security Network (KSN). If you run the application without specifying this parameter, you will be requested through the command line. To opt out of Kaspersky Security Network, press N on the keyboard. |
-u | Run an update. |
-o <filename>
-c <filename> |
Specify the configuration file. If this parameter is not specified, the updater.ini file is used. |
-t | Enable tracing of the tool’s operation |
-d | Write a crash dump file. |
-s | Run in silent mode. |
-r | Enable logging. |
-h | View the list of parameters with descriptions. |
--proxy_login <login> | Set the proxy server login. |
--proxy_password <password> | Set the proxy server password. |
Before running the tool from the command line with the -u parameter, carefully read the End User License Agreement and the Privacy Policy in the license.txt and the Kaspersky Security Network Statement in the ksn.txt file. If you agree to all the terms, press Y on the keyboard.
To change your decision about participation in Kaspersky Security Network, open the updater.ini file in a text editor and set the value of the AgreedWithKsn parameter to:
- true, if you agree with the Kaspersky Security Network Statement.
- false, if you do not agree with the Kaspersky Security Network Statement.
Example of running the application
Type in the command line:
Kaspersky Update Utility for Linux will run in the silent mode using the filename.ini configuration file; it will create a trace file and a report.txt file.
Storage of user credentials for accessing the proxy server
Kaspersky Update Utility for Linux saves user account credentials for proxy server access in the current user folder: <home_path>/.kuu/updater_s.ini. If you don't want to keep the credentials stored on a disk, use the console version of the utility and submit them for each utility session using the following command line parameters:
- --proxy_login <login>
- --proxy_password <password>
Run Kaspersky Update Utility from under the unprivileged user account specially created for this purpose. For more information, see this article.