Installs DB2® database products. This command is only available on Linux and UNIX operating systems. The command for Windows operating systems is setup.
This utility is located on the DB2 database installation media. It launches the DB2 Setup wizard to define the installation and install DB2 database products. If invoked with the -r option, it performs an installation without further input, taking installation configuration information from a response file.
On Linux and UNIX operating systems, root installations require root user authority. For non-root installations, you must log on with the user ID that owns the non-root installation.
>>-db2setup--+---------------+--+---------------+---------------> '- -i--language-' '- -l--log_file-' >--+-----------------+--+--------------------+------------------> '- -t--trace_file-' '- -r--response_file-' >--+---------------+--+-----+---------------------------------->< '- -f--nobackup-' +- -?-+ '- -h-'
You must log on with the ID that has proper authority or use su with the "-" flag (su -) to set the process environment as if you had logged in with the ID that has proper authority. If the process environment is not set with the ID that has proper authority, the installation process finishes without errors but you will encounter errors when you run the DB2 copy.