Advertisement
Guest User

fuuu

a guest
Sep 27th, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 41.31 KB | None | 0 0
  1. > nvidia-installer --help
  2.  
  3. =============================================================
  4.  
  5.  
  6. ./NVIDIA-Linux-x86_64-304.137.run [options]
  7.  
  8. This program will install the NVIDIA Accelerated Graphics Driver
  9. for Linux-x86_64 304.137 by unpacking the embedded tarball and
  10. executing the ./nvidia-installer  installation utility.
  11.  
  12. Below are the most common options; for a complete list use
  13. '--advanced-options'.
  14.  
  15. --info
  16.   Print embedded info (title, default target directory) and exit.
  17.  
  18. --check
  19.   Check integrity of the archive and exit.
  20.  
  21. -x, --extract-only
  22.   Extract the contents of ./NVIDIA-Linux-x86_64-304.137.run, but do not
  23.   run 'nvidia-installer'.
  24.  
  25.  
  26. The following arguments will be passed on to the ./nvidia-installer
  27. utility:
  28.  
  29.   -a, --accept-license
  30.       Bypass the display and prompting for acceptance of the
  31.       NVIDIA Software License Agreement.  By passing this option
  32.       to nvidia-installer, you indicate that you have read and
  33.       accept the License Agreement contained in the file
  34.       'LICENSE' (in the top level directory of the driver
  35.       package).
  36.  
  37.   -v, --version
  38.       Print the nvidia-installer version and exit.
  39.  
  40.   -h, --help
  41.       Print usage information for the common commandline options
  42.       and exit.
  43.  
  44.   -A, --advanced-options
  45.       Print usage information for the common commandline options
  46.       as well as the advanced options, and then exit.
  47.  
  48. ==================================================================
  49.  
  50. > ./NVIDIA-Linux-x86_64-304.137.run  -A
  51.  
  52. ==================================================================
  53.  
  54.  
  55. ./NVIDIA-Linux-x86_64-304.137.run [options]
  56.  
  57. This program will install the NVIDIA Accelerated Graphics Driver
  58. for Linux-x86_64 304.137 by unpacking the embedded tarball and
  59. executing the ./nvidia-installer  installation utility.
  60.  
  61. --info
  62.   Print embedded info (title, default target directory) and exit.
  63.  
  64. --lsm
  65.   Print embedded lsm entry (or no LSM) and exit.
  66.  
  67. --pkg-history
  68.   Print the package history of this file and exit.
  69.  
  70. --list
  71.   Print the list of files in the archive and exit.
  72.  
  73. --check
  74.   Check integrity of the archive and exit.
  75.  
  76. -x, --extract-only
  77.   Extract the contents of ./NVIDIA-Linux-x86_64-304.137.run, but do not
  78.   run 'nvidia-installer'.
  79.  
  80. --add-this-kernel
  81.   Build a precompiled kernel interface for the currently running
  82.   kernel and repackage the .run file to include this newly built
  83.   precompiled kernel interface.  The new .run file will be placed
  84.   in the current directory and the string "-custom" appended
  85.   to its name, unless already present, to distinguish it from the
  86.   original .run file.
  87.  
  88. --apply-patch [Patch]
  89.   Apply the patch 'Patch' to the kernel interface files included
  90.   in the .run file, remove any precompiled kernel interfaces
  91.   and then repackage the .run file.  The new .run file will be
  92.   placed in the current directory and the string "-custom"
  93.   appended to its name, unless already present, to distinguish it
  94.   from the original .run file.
  95.  
  96. --keep
  97.   Do not delete target directory when done.
  98.  
  99. --target [NewDirectory]
  100.   Extract contents in 'NewDirectory'
  101.  
  102.  
  103. The following arguments will be passed on to the ./nvidia-installer
  104. utility:
  105.  
  106. COMMON OPTIONS:
  107.  
  108.   -a, --accept-license
  109.       Bypass the display and prompting for acceptance of the
  110.       NVIDIA Software License Agreement.  By passing this option
  111.       to nvidia-installer, you indicate that you have read and
  112.       accept the License Agreement contained in the file
  113.       'LICENSE' (in the top level directory of the driver
  114.       package).
  115.  
  116.   -v, --version
  117.       Print the nvidia-installer version and exit.
  118.  
  119.   -h, --help
  120.       Print usage information for the common commandline options
  121.       and exit.
  122.  
  123.   -A, --advanced-options
  124.       Print usage information for the common commandline options
  125.       as well as the advanced options, and then exit.
  126.  
  127.  
  128. ADVANCED OPTIONS:
  129.  
  130.   -a, --accept-license
  131.       Bypass the display and prompting for acceptance of the
  132.       NVIDIA Software License Agreement.  By passing this option
  133.       to nvidia-installer, you indicate that you have read and
  134.       accept the License Agreement contained in the file
  135.       'LICENSE' (in the top level directory of the driver
  136.       package).
  137.  
  138.   -v, --version
  139.       Print the nvidia-installer version and exit.
  140.  
  141.   -h, --help
  142.       Print usage information for the common commandline options
  143.       and exit.
  144.  
  145.   -A, --advanced-options
  146.       Print usage information for the common commandline options
  147.       as well as the advanced options, and then exit.
  148.  
  149.   -i, --driver-info
  150.       Print information about the currently installed NVIDIA
  151.       driver version.
  152.  
  153.   --uninstall
  154.       Uninstall the currently installed NVIDIA driver.
  155.  
  156.   --skip-module-unload
  157.       When uninstalling the driver, skip unloading of the NVIDIA
  158.       kernel module. This option is ignored when the driver is
  159.       being installed.
  160.  
  161.   --sanity
  162.       Perform basic sanity tests on an existing NVIDIA driver
  163.       installation.
  164.  
  165.   -e, --expert
  166.       Enable 'expert' installation mode; more detailed questions
  167.       will be asked, and more verbose output will be printed;
  168.       intended for expert users.  The questions may be suppressed
  169.       with the '--no-questions' commandline option.
  170.  
  171.   -q, --no-questions
  172.       Do not ask any questions; the default (normally 'yes') is
  173.       assumed for all yes/no questions, and the default string is
  174.       assumed in any situation where the user is prompted for
  175.       string input.  The one question that is not bypassed by
  176.       this option is license acceptance; the license may be
  177.       accepted with the commandline option '--accept-license'.
  178.  
  179.   -s, --silent
  180.       Run silently; no questions are asked and no output is
  181.       printed, except for error messages to stderr.  This option
  182.       implies '--ui=none --no-questions --accept-license'.
  183.  
  184.   --x-prefix=X-PREFIX
  185.       The prefix under which the X components of the NVIDIA
  186.       driver will be installed; the default is '/usr/X11R6'
  187.       unless nvidia-installer detects that X.Org >= 7.0 is
  188.       installed, in which case the default is '/usr'.  Only under
  189.       rare circumstances should this option be used.
  190.  
  191.   --xfree86-prefix=XFREE86-PREFIX
  192.       This is a deprecated synonym for --x-prefix.
  193.  
  194.   --x-module-path=X-MODULE-PATH
  195.       The path under which the NVIDIA X server modules will be
  196.       installed.  If this option is not specified,
  197.       nvidia-installer uses the following search order and
  198.       selects the first valid directory it finds: 1) `X
  199.       -showDefaultModulePath`, 2) `pkg-config
  200.       --variable=moduledir xorg-server`, or 3) the X library path
  201.       (see the '--x-library-path' option) plus either 'modules'
  202.       (for X servers older than X.Org 7.0) or 'xorg/modules' (for
  203.       X.Org 7.0 or later).
  204.  
  205.   --x-library-path=X-LIBRARY-PATH
  206.       The path under which the NVIDIA X libraries will be
  207.       installed.  If this option is not specified,
  208.       nvidia-installer uses the following search order and
  209.       selects the first valid directory it finds: 1) `X
  210.       -showDefaultLibPath`, 2) `pkg-config --variable=libdir
  211.       xorg-server`, or 3) the X prefix (see the '--x-prefix'
  212.       option) plus 'lib' on 32bit systems, and either 'lib64' or
  213.       'lib' on 64bit systems, depending on the installed Linux
  214.       distribution.
  215.  
  216.   --x-sysconfig-path=X-SYSCONFIG-PATH
  217.       The path under which X system configuration files will be
  218.       installed.  If this option is not specified,
  219.       nvidia-installer uses the following search order and
  220.       selects the first valid directory it finds: 1) `pkg-config
  221.       --variable=sysconfigdir xorg-server`, or 2)
  222.       /usr/share/X11/xorg.conf.d.
  223.  
  224.   --opengl-prefix=OPENGL-PREFIX
  225.       The prefix under which the OpenGL components of the NVIDIA
  226.       driver will be installed; the default is: '/usr'.  Only
  227.       under rare circumstances should this option be used.  The
  228.       Linux OpenGL ABI
  229.       (http://oss.sgi.com/projects/ogl-sample/ABI/) mandates this
  230.       default value.
  231.  
  232.   --opengl-libdir=OPENGL-LIBDIR
  233.       The path relative to the OpenGL library installation prefix
  234.       under which the NVIDIA OpenGL components will be installed.
  235.       The default is 'lib' on 32bit systems, and 'lib64' or 'lib'
  236.       on 64bit systems, depending on the installed Linux
  237.       distribution.  Only under very rare circumstances should
  238.       this option be used.
  239.  
  240.   --installer-prefix=INSTALLER-PREFIX
  241.       The prefix under which the installer binary will be
  242.       installed; the default is: '/usr'.  Note: please use the
  243.       '--utility-prefix' option instead.
  244.  
  245.   --utility-prefix=UTILITY-PREFIX
  246.       The prefix under which the NVIDIA utilities
  247.       (nvidia-installer, nvidia-settings, nvidia-xconfig,
  248.       nvidia-bug-report.sh) and the NVIDIA utility libraries will
  249.       be installed; the default is: '/usr'.
  250.  
  251.   --utility-libdir=UTILITY-LIBDIR
  252.       The path relative to the utility installation prefix under
  253.       which the NVIDIA utility libraries will be installed.  The
  254.       default is 'lib' on 32bit systems, and 'lib64' or 'lib' on
  255.       64bit systems, depending on the installed Linux
  256.       distribution.
  257.  
  258.   --documentation-prefix=DOCUMENTATION-PREFIX
  259.       The prefix under which the documentation files for the
  260.       NVIDIA driver will be installed.  The default is: '/usr'.
  261.  
  262.   --kernel-include-path=KERNEL-INCLUDE-PATH
  263.       The directory containing the kernel include files that
  264.       should be used when compiling the NVIDIA kernel module.
  265.       This option is deprecated; please use
  266.       '--kernel-source-path' instead.
  267.  
  268.   --kernel-source-path=KERNEL-SOURCE-PATH
  269.       The directory containing the kernel source files that
  270.       should be used when compiling the NVIDIA kernel module.
  271.       When not specified, the installer will use
  272.       '/lib/modules/`uname -r`/build', if that directory exists.
  273.       Otherwise, it will use '/usr/src/linux'.
  274.  
  275.   --kernel-output-path=KERNEL-OUTPUT-PATH
  276.       The directory containing any KBUILD output files if either
  277.       one of the 'KBUILD_OUTPUT' or 'O' parameters were passed to
  278.       KBUILD when building the kernel image/modules.  When not
  279.       specified, the installer will assume that no separate
  280.       output directory was used.
  281.  
  282.   --kernel-install-path=KERNEL-INSTALL-PATH
  283.       The directory in which the NVIDIA kernel module should be
  284.       installed.  The default value is either
  285.       '/lib/modules/`uname -r`/kernel/drivers/video' (if
  286.       '/lib/modules/`uname -r`/kernel' exists) or
  287.       '/lib/modules/`uname -r`/video'.
  288.  
  289.   --proc-mount-point=PROC-MOUNT-POINT
  290.       The mount point for the proc file system; if not specified,
  291.       then this value defaults to '/proc' (which is normally
  292.       correct).  The mount point of the proc filesystem is needed
  293.       because the contents of '<proc filesystem>/version' is used
  294.       when identifying if a precompiled kernel interface is
  295.       available for the currently running kernel.  This option
  296.       should only be needed in very rare circumstances.
  297.  
  298.   --log-file-name=LOG-FILE-NAME
  299.       File name of the installation log file (the default is:
  300.       '/var/log/nvidia-installer.log').
  301.  
  302.   --tmpdir=TMPDIR
  303.       Use the specified directory as a temporary directory when
  304.       generating transient files used by the installer; if not
  305.       given, then the following list will be searched, and the
  306.       first one that exists will be used: /tmp, /tmp, .,
  307.       /home/user.
  308.  
  309.   --ui=UI
  310.       Specify what user interface to use, if available.  Valid
  311.       values for UI are 'ncurses' (the default) or 'none'. If the
  312.       ncurses interface fails to initialize, or 'none' is
  313.       specified, then a simple printf/scanf interface will be
  314.       used.
  315.  
  316.   -c, --no-ncurses-color
  317.       Disable use of color in the ncurses user interface.
  318.  
  319.   --opengl-headers
  320.       Normally, installation will not install NVIDIA's OpenGL
  321.      header files; the OpenGL header files packaged by the Linux
  322.      distribution or available from
  323.      http://www.opengl.org/registry/ should be preferred.
  324.      However, http://www.opengl.org/registry/ does not yet
  325.      provide a glx.h or gl.h.  Until that is resolved, NVIDIA's
  326.       OpenGL header files can still be chosen, through this
  327.       installer option.
  328.  
  329.   --force-tls=FORCE-TLS
  330.       NVIDIA's OpenGL libraries are compiled with one of two
  331.      different thread local storage (TLS) mechanisms: 'classic
  332.       tls' which is used on systems with glibc 2.2 or older, and
  333.      'new tls' which is used on systems with tls-enabled glibc
  334.      2.3 or newer.  nvidia-installer will select the OpenGL
  335.      libraries appropriate for your system; however, you may use
  336.      this option to force the installer to install one library
  337.      type or another.  Valid values for FORCE-TLS are 'new' and
  338.      'classic'.
  339.  
  340.  -k KERNEL-NAME, --kernel-name=KERNEL-NAME
  341.      Build and install the NVIDIA kernel module for the
  342.      non-running kernel specified by KERNEL-NAME (KERNEL-NAME
  343.      should be the output of `uname -r` when the target kernel
  344.      is actually running).  This option implies
  345.      '--no-precompiled-interface'.  If the options
  346.      '--kernel-install-path' and '--kernel-source-path' are not
  347.      given, then they will be inferred from KERNEL-NAME; eg:
  348.      '/lib/modules/KERNEL-NAME/kernel/drivers/video/' and
  349.      '/lib/modules/KERNEL-NAME/build/', respectively.
  350.  
  351.  -n, --no-precompiled-interface
  352.      Disable use of precompiled kernel interfaces.
  353.  
  354.  --no-runlevel-check
  355.      Normally, the installer checks the current runlevel and
  356.      warns users if they are in runlevel 1: in runlevel 1, some
  357.      services that are normally active are disabled (such as
  358.      devfs), making it difficult for the installer to properly
  359.      setup the kernel module configuration files.  This option
  360.      disables the runlevel check.
  361.  
  362.  --no-abi-note
  363.      The NVIDIA OpenGL libraries contain an OS ABI note tag,
  364.      which identifies the minimum kernel version needed to use
  365.      the library.  This option causes the installer to remove
  366.      this note from the OpenGL libraries during installation.
  367.  
  368.  --no-rpms
  369.      Normally, the installer will check for several rpms that
  370.      conflict with the driver (specifically: NVIDIA_GLX and
  371.      NVIDIA_kernel), and remove them if present.  This option
  372.      disables this check.
  373.  
  374.  -b, --no-backup
  375.      During driver installation, conflicting files are backed
  376.      up, so that they can be restored when the driver is
  377.      uninstalled.  This option causes the installer to simply
  378.      delete conflicting files, rather than back them up.
  379.  
  380.  --no-recursion
  381.      Normally, nvidia-installer will recursively search for
  382.      potentially conflicting libraries under the default OpenGL
  383.      and X server installation locations.  With this option set,
  384.      the installer will only search in the top-level
  385.      directories.
  386.  
  387.  -K, --kernel-module-only
  388.      Install a kernel module only, and do not uninstall the
  389.      existing driver.  This is intended to be used to install
  390.      kernel modules for additional kernels (in cases where you
  391.      might boot between several different kernels).  To use this
  392.      option, you must already have a driver installed, and the
  393.      version of the installed driver must match the version of
  394.      this kernel module.
  395.  
  396.  --no-kernel-module
  397.      Install everything but the kernel module, and do not remove
  398.      any existing, possibly conflicting kernel modules.  This
  399.      can be useful in some DEBUG environments.  If you use this
  400.      option, you must be careful to ensure that a NVIDIA kernel
  401.      module matching this driver version is installed
  402.      seperately.
  403.  
  404.  --no-x-check
  405.      Do not abort the installation if nvidia-installer detects
  406.      that an X server is running.  Only under very rare
  407.      circumstances should this option be used.
  408.  
  409.  --precompiled-kernel-interfaces-path=PRECOMPILED-KERNEL-INTERFA
  410.  CES-PATH
  411.      Before searching for a precompiled kernel interface in the
  412.      .run file, search in the specified directory.
  413.  
  414.  -z, --no-nouveau-check
  415.      Normally, nvidia-installer aborts installation if the
  416.      nouveau kernel driver is in use.  Use this option to
  417.      disable this check.
  418.  
  419.  -Z, --disable-nouveau
  420.      If the nouveau kernel module is detected by
  421.      nvidia-installer, the installer offers to attempt to
  422.      disable nouveau. The default action is to not attempt to
  423.      disable nouveau; use this option to change the default
  424.      action to attempt to disable nouveau.
  425.  
  426.  -X, --run-nvidia-xconfig
  427.      nvidia-installer can optionally invoke the nvidia-xconfig
  428.      utility.  This will update the system X configuration file
  429.      so that the NVIDIA X driver is used.  The pre-existing X
  430.      configuration file will be backed up.  At the end of
  431.      installation, nvidia-installer will ask the user if they
  432.      wish to run nvidia-xconfig; the default response is 'no'.
  433.      Use this option to make the default response 'yes'.  This
  434.      is useful with the '--no-questions' or '--silent' options,
  435.      which assume the default values for all questions.
  436.  
  437.  --force-selinux=FORCE-SELINUX
  438.      Linux installations using SELinux (Security-Enhanced Linux)
  439.      require that the security type of all shared libraries be
  440.      set to 'shlib_t' or 'textrel_shlib_t', depending on the
  441.      distribution. nvidia-installer will detect when to set the
  442.      security type, and set it using chcon(1) on the shared
  443.      libraries it installs.  If the execstack(8) system utility
  444.      is present, nvidia-installer will use it to also clear the
  445.      executable stack flag of the libraries.  Use this option to
  446.      override nvidia-installer's detection of when to set the
  447.       security type.  Valid values for FORCE-SELINUX are 'yes'
  448.       (force setting of the security type), 'no' (prevent setting
  449.       of the security type), and 'default' (let nvidia-installer
  450.       decide when to set the security type).
  451.  
  452.   --selinux-chcon-type=SELINUX-CHCON-TYPE
  453.       When SELinux support is enabled, nvidia-installer will try
  454.       to determine which chcon argument to use by first trying
  455.       'textrel_shlib_t', then 'texrel_shlib_t', then 'shlib_t'.
  456.       Use this option to override this detection logic.
  457.  
  458.   --no-sigwinch-workaround
  459.       Normally, nvidia-installer ignores the SIGWINCH signal
  460.       before it forks to execute commands, e.g. to build the
  461.       kernel module, and restores the SIGWINCH signal handler
  462.       after the child process has terminated.  This option
  463.       disables this behavior.
  464.  
  465.   --no-cc-version-check
  466.       The NVIDIA kernel module should be compiled with the same
  467.       compiler that was used to compile the currently running
  468.       kernel. The layout of some Linux kernel data structures may
  469.       be dependent on the version of gcc used to compile it. The
  470.       Linux 2.6 kernel modules are tagged with information about
  471.       the compiler and the Linux kernel's module loader performs
  472.      a strict version match check. nvidia-installer checks for
  473.      mismatches prior to building the NVIDIA kernel module and
  474.      aborts the installation in case of failures. Use this
  475.      option to override this check.
  476.  
  477.  --no-distro-scripts
  478.      Normally, nvidia-installer will run scripts from
  479.      /usr/lib/nvidia before and after installing or uninstalling
  480.      the driver.  Use this option to disable execution of these
  481.      scripts.
  482.  
  483.  --no-opengl-files
  484.      Do not install any of the OpenGL-related driver files.
  485.  
  486.  --kernel-module-source-prefix=KERNEL-MODULE-SOURCE-PREFIX
  487.      Specify a path where the source directory for the kernel
  488.      module will be installed. Default: install source directory
  489.      at /usr/src
  490.  
  491.  --kernel-module-source-dir=KERNEL-MODULE-SOURCE-DIR
  492.      Specify the name of the directory where the kernel module
  493.      sources will be installed. Default: directory name is
  494.      nvidia-VERSION
  495.  
  496.  --no-kernel-module-source
  497.      Skip installation of the kernel module source.
  498.  
  499.  --dkms
  500.      nvidia-installer can optionally register the NVIDIA kernel
  501.      module sources, if installed, with DKMS, then build and
  502.      install a kernel module using the DKMS-registered sources.
  503.      This will allow the DKMS infrastructure to automatically
  504.      build a new kernel module when changing kernels.  During
  505.      installation, if DKMS is detected, nvidia-installer will
  506.      ask the user if they wish to register the module with DKMS;
  507.      the default response is 'no'.  Use this option to make the
  508.      default response 'yes'.  This is useful with the
  509.      '--no-questions' or '--silent' options, which assume the
  510.  
  511.          default values for all questions.
  512.  
  513. RAW Paste Data
  514. > nvidia-installer --help
  515.  
  516. =============================================================
  517.  
  518.  
  519. ./NVIDIA-Linux-x86_64-304.137.run [options]
  520.  
  521. This program will install the NVIDIA Accelerated Graphics Driver
  522. for Linux-x86_64 304.137 by unpacking the embedded tarball and
  523. executing the ./nvidia-installer  installation utility.
  524.  
  525. Below are the most common options; for a complete list use
  526. '--advanced-options'.
  527.  
  528. --info
  529.  Print embedded info (title, default target directory) and exit.
  530.  
  531. --check
  532.  Check integrity of the archive and exit.
  533.  
  534. -x, --extract-only
  535.  Extract the contents of ./NVIDIA-Linux-x86_64-304.137.run, but do not
  536.  run 'nvidia-installer'.
  537.  
  538.  
  539. The following arguments will be passed on to the ./nvidia-installer
  540. utility:
  541.  
  542.  -a, --accept-license
  543.      Bypass the display and prompting for acceptance of the
  544.      NVIDIA Software License Agreement.  By passing this option
  545.      to nvidia-installer, you indicate that you have read and
  546.      accept the License Agreement contained in the file
  547.      'LICENSE' (in the top level directory of the driver
  548.      package).
  549.  
  550.  -v, --version
  551.      Print the nvidia-installer version and exit.
  552.  
  553.  -h, --help
  554.      Print usage information for the common commandline options
  555.      and exit.
  556.  
  557.  -A, --advanced-options
  558.      Print usage information for the common commandline options
  559.      as well as the advanced options, and then exit.
  560.  
  561. ==================================================================
  562.  
  563. > ./NVIDIA-Linux-x86_64-304.137.run  -A
  564.  
  565. ==================================================================
  566.  
  567.  
  568. ./NVIDIA-Linux-x86_64-304.137.run [options]
  569.  
  570. This program will install the NVIDIA Accelerated Graphics Driver
  571. for Linux-x86_64 304.137 by unpacking the embedded tarball and
  572. executing the ./nvidia-installer  installation utility.
  573.  
  574. --info
  575.  Print embedded info (title, default target directory) and exit.
  576.  
  577. --lsm
  578.  Print embedded lsm entry (or no LSM) and exit.
  579.  
  580. --pkg-history
  581.  Print the package history of this file and exit.
  582.  
  583. --list
  584.  Print the list of files in the archive and exit.
  585.  
  586. --check
  587.  Check integrity of the archive and exit.
  588.  
  589. -x, --extract-only
  590.  Extract the contents of ./NVIDIA-Linux-x86_64-304.137.run, but do not
  591.  run 'nvidia-installer'.
  592.  
  593. --add-this-kernel
  594.  Build a precompiled kernel interface for the currently running
  595.  kernel and repackage the .run file to include this newly built
  596.  precompiled kernel interface.  The new .run file will be placed
  597.  in the current directory and the string "-custom" appended
  598.  to its name, unless already present, to distinguish it from the
  599.  original .run file.
  600.  
  601. --apply-patch [Patch]
  602.  Apply the patch 'Patch' to the kernel interface files included
  603.  in the .run file, remove any precompiled kernel interfaces
  604.  and then repackage the .run file.  The new .run file will be
  605.  placed in the current directory and the string "-custom"
  606.  appended to its name, unless already present, to distinguish it
  607.  from the original .run file.
  608.  
  609. --keep
  610.  Do not delete target directory when done.
  611.  
  612. --target [NewDirectory]
  613.  Extract contents in 'NewDirectory'
  614.  
  615.  
  616. The following arguments will be passed on to the ./nvidia-installer
  617. utility:
  618.  
  619. COMMON OPTIONS:
  620.  
  621.  -a, --accept-license
  622.      Bypass the display and prompting for acceptance of the
  623.      NVIDIA Software License Agreement.  By passing this option
  624.      to nvidia-installer, you indicate that you have read and
  625.      accept the License Agreement contained in the file
  626.      'LICENSE' (in the top level directory of the driver
  627.      package).
  628.  
  629.  -v, --version
  630.      Print the nvidia-installer version and exit.
  631.  
  632.  -h, --help
  633.      Print usage information for the common commandline options
  634.      and exit.
  635.  
  636.  -A, --advanced-options
  637.      Print usage information for the common commandline options
  638.      as well as the advanced options, and then exit.
  639.  
  640.  
  641. ADVANCED OPTIONS:
  642.  
  643.  -a, --accept-license
  644.      Bypass the display and prompting for acceptance of the
  645.      NVIDIA Software License Agreement.  By passing this option
  646.      to nvidia-installer, you indicate that you have read and
  647.      accept the License Agreement contained in the file
  648.      'LICENSE' (in the top level directory of the driver
  649.      package).
  650.  
  651.  -v, --version
  652.      Print the nvidia-installer version and exit.
  653.  
  654.  -h, --help
  655.      Print usage information for the common commandline options
  656.      and exit.
  657.  
  658.  -A, --advanced-options
  659.      Print usage information for the common commandline options
  660.      as well as the advanced options, and then exit.
  661.  
  662.  -i, --driver-info
  663.      Print information about the currently installed NVIDIA
  664.      driver version.
  665.  
  666.  --uninstall
  667.      Uninstall the currently installed NVIDIA driver.
  668.  
  669.  --skip-module-unload
  670.      When uninstalling the driver, skip unloading of the NVIDIA
  671.      kernel module. This option is ignored when the driver is
  672.      being installed.
  673.  
  674.  --sanity
  675.      Perform basic sanity tests on an existing NVIDIA driver
  676.      installation.
  677.  
  678.  -e, --expert
  679.      Enable 'expert' installation mode; more detailed questions
  680.      will be asked, and more verbose output will be printed;
  681.      intended for expert users.  The questions may be suppressed
  682.      with the '--no-questions' commandline option.
  683.  
  684.  -q, --no-questions
  685.      Do not ask any questions; the default (normally 'yes') is
  686.      assumed for all yes/no questions, and the default string is
  687.      assumed in any situation where the user is prompted for
  688.      string input.  The one question that is not bypassed by
  689.      this option is license acceptance; the license may be
  690.      accepted with the commandline option '--accept-license'.
  691.  
  692.  -s, --silent
  693.      Run silently; no questions are asked and no output is
  694.      printed, except for error messages to stderr.  This option
  695.      implies '--ui=none --no-questions --accept-license'.
  696.  
  697.  --x-prefix=X-PREFIX
  698.      The prefix under which the X components of the NVIDIA
  699.      driver will be installed; the default is '/usr/X11R6'
  700.      unless nvidia-installer detects that X.Org >= 7.0 is
  701.      installed, in which case the default is '/usr'.  Only under
  702.      rare circumstances should this option be used.
  703.  
  704.  --xfree86-prefix=XFREE86-PREFIX
  705.      This is a deprecated synonym for --x-prefix.
  706.  
  707.  --x-module-path=X-MODULE-PATH
  708.      The path under which the NVIDIA X server modules will be
  709.      installed.  If this option is not specified,
  710.      nvidia-installer uses the following search order and
  711.      selects the first valid directory it finds: 1) `X
  712.      -showDefaultModulePath`, 2) `pkg-config
  713.      --variable=moduledir xorg-server`, or 3) the X library path
  714.      (see the '--x-library-path' option) plus either 'modules'
  715.      (for X servers older than X.Org 7.0) or 'xorg/modules' (for
  716.      X.Org 7.0 or later).
  717.  
  718.  --x-library-path=X-LIBRARY-PATH
  719.      The path under which the NVIDIA X libraries will be
  720.      installed.  If this option is not specified,
  721.      nvidia-installer uses the following search order and
  722.      selects the first valid directory it finds: 1) `X
  723.      -showDefaultLibPath`, 2) `pkg-config --variable=libdir
  724.      xorg-server`, or 3) the X prefix (see the '--x-prefix'
  725.      option) plus 'lib' on 32bit systems, and either 'lib64' or
  726.      'lib' on 64bit systems, depending on the installed Linux
  727.      distribution.
  728.  
  729.  --x-sysconfig-path=X-SYSCONFIG-PATH
  730.      The path under which X system configuration files will be
  731.      installed.  If this option is not specified,
  732.      nvidia-installer uses the following search order and
  733.      selects the first valid directory it finds: 1) `pkg-config
  734.      --variable=sysconfigdir xorg-server`, or 2)
  735.      /usr/share/X11/xorg.conf.d.
  736.  
  737.  --opengl-prefix=OPENGL-PREFIX
  738.      The prefix under which the OpenGL components of the NVIDIA
  739.      driver will be installed; the default is: '/usr'.  Only
  740.      under rare circumstances should this option be used.  The
  741.      Linux OpenGL ABI
  742.      (http://oss.sgi.com/projects/ogl-sample/ABI/) mandates this
  743.      default value.
  744.  
  745.  --opengl-libdir=OPENGL-LIBDIR
  746.      The path relative to the OpenGL library installation prefix
  747.      under which the NVIDIA OpenGL components will be installed.
  748.      The default is 'lib' on 32bit systems, and 'lib64' or 'lib'
  749.      on 64bit systems, depending on the installed Linux
  750.      distribution.  Only under very rare circumstances should
  751.      this option be used.
  752.  
  753.  --installer-prefix=INSTALLER-PREFIX
  754.      The prefix under which the installer binary will be
  755.      installed; the default is: '/usr'.  Note: please use the
  756.      '--utility-prefix' option instead.
  757.  
  758.  --utility-prefix=UTILITY-PREFIX
  759.      The prefix under which the NVIDIA utilities
  760.      (nvidia-installer, nvidia-settings, nvidia-xconfig,
  761.      nvidia-bug-report.sh) and the NVIDIA utility libraries will
  762.      be installed; the default is: '/usr'.
  763.  
  764.  --utility-libdir=UTILITY-LIBDIR
  765.      The path relative to the utility installation prefix under
  766.      which the NVIDIA utility libraries will be installed.  The
  767.      default is 'lib' on 32bit systems, and 'lib64' or 'lib' on
  768.      64bit systems, depending on the installed Linux
  769.      distribution.
  770.  
  771.  --documentation-prefix=DOCUMENTATION-PREFIX
  772.      The prefix under which the documentation files for the
  773.      NVIDIA driver will be installed.  The default is: '/usr'.
  774.  
  775.  --kernel-include-path=KERNEL-INCLUDE-PATH
  776.      The directory containing the kernel include files that
  777.      should be used when compiling the NVIDIA kernel module.
  778.      This option is deprecated; please use
  779.      '--kernel-source-path' instead.
  780.  
  781.  --kernel-source-path=KERNEL-SOURCE-PATH
  782.      The directory containing the kernel source files that
  783.      should be used when compiling the NVIDIA kernel module.
  784.      When not specified, the installer will use
  785.      '/lib/modules/`uname -r`/build', if that directory exists.
  786.      Otherwise, it will use '/usr/src/linux'.
  787.  
  788.  --kernel-output-path=KERNEL-OUTPUT-PATH
  789.      The directory containing any KBUILD output files if either
  790.      one of the 'KBUILD_OUTPUT' or 'O' parameters were passed to
  791.      KBUILD when building the kernel image/modules.  When not
  792.      specified, the installer will assume that no separate
  793.      output directory was used.
  794.  
  795.  --kernel-install-path=KERNEL-INSTALL-PATH
  796.      The directory in which the NVIDIA kernel module should be
  797.      installed.  The default value is either
  798.      '/lib/modules/`uname -r`/kernel/drivers/video' (if
  799.      '/lib/modules/`uname -r`/kernel' exists) or
  800.      '/lib/modules/`uname -r`/video'.
  801.  
  802.  --proc-mount-point=PROC-MOUNT-POINT
  803.      The mount point for the proc file system; if not specified,
  804.      then this value defaults to '/proc' (which is normally
  805.      correct).  The mount point of the proc filesystem is needed
  806.      because the contents of '<proc filesystem>/version' is used
  807.      when identifying if a precompiled kernel interface is
  808.      available for the currently running kernel.  This option
  809.      should only be needed in very rare circumstances.
  810.  
  811.  --log-file-name=LOG-FILE-NAME
  812.      File name of the installation log file (the default is:
  813.      '/var/log/nvidia-installer.log').
  814.  
  815.  --tmpdir=TMPDIR
  816.      Use the specified directory as a temporary directory when
  817.      generating transient files used by the installer; if not
  818.      given, then the following list will be searched, and the
  819.      first one that exists will be used: /tmp, /tmp, .,
  820.      /home/user.
  821.  
  822.  --ui=UI
  823.      Specify what user interface to use, if available.  Valid
  824.      values for UI are 'ncurses' (the default) or 'none'. If the
  825.      ncurses interface fails to initialize, or 'none' is
  826.      specified, then a simple printf/scanf interface will be
  827.      used.
  828.  
  829.  -c, --no-ncurses-color
  830.      Disable use of color in the ncurses user interface.
  831.  
  832.  --opengl-headers
  833.      Normally, installation will not install NVIDIA's OpenGL
  834.       header files; the OpenGL header files packaged by the Linux
  835.       distribution or available from
  836.       http://www.opengl.org/registry/ should be preferred.
  837.       However, http://www.opengl.org/registry/ does not yet
  838.       provide a glx.h or gl.h.  Until that is resolved, NVIDIA's
  839.      OpenGL header files can still be chosen, through this
  840.      installer option.
  841.  
  842.  --force-tls=FORCE-TLS
  843.      NVIDIA's OpenGL libraries are compiled with one of two
  844.       different thread local storage (TLS) mechanisms: 'classic
  845.      tls' which is used on systems with glibc 2.2 or older, and
  846.       'new tls' which is used on systems with tls-enabled glibc
  847.       2.3 or newer.  nvidia-installer will select the OpenGL
  848.       libraries appropriate for your system; however, you may use
  849.       this option to force the installer to install one library
  850.       type or another.  Valid values for FORCE-TLS are 'new' and
  851.       'classic'.
  852.  
  853.   -k KERNEL-NAME, --kernel-name=KERNEL-NAME
  854.       Build and install the NVIDIA kernel module for the
  855.       non-running kernel specified by KERNEL-NAME (KERNEL-NAME
  856.       should be the output of `uname -r` when the target kernel
  857.       is actually running).  This option implies
  858.       '--no-precompiled-interface'.  If the options
  859.       '--kernel-install-path' and '--kernel-source-path' are not
  860.       given, then they will be inferred from KERNEL-NAME; eg:
  861.       '/lib/modules/KERNEL-NAME/kernel/drivers/video/' and
  862.       '/lib/modules/KERNEL-NAME/build/', respectively.
  863.  
  864.   -n, --no-precompiled-interface
  865.       Disable use of precompiled kernel interfaces.
  866.  
  867.   --no-runlevel-check
  868.       Normally, the installer checks the current runlevel and
  869.       warns users if they are in runlevel 1: in runlevel 1, some
  870.       services that are normally active are disabled (such as
  871.       devfs), making it difficult for the installer to properly
  872.       setup the kernel module configuration files.  This option
  873.       disables the runlevel check.
  874.  
  875.   --no-abi-note
  876.       The NVIDIA OpenGL libraries contain an OS ABI note tag,
  877.       which identifies the minimum kernel version needed to use
  878.       the library.  This option causes the installer to remove
  879.       this note from the OpenGL libraries during installation.
  880.  
  881.   --no-rpms
  882.       Normally, the installer will check for several rpms that
  883.       conflict with the driver (specifically: NVIDIA_GLX and
  884.       NVIDIA_kernel), and remove them if present.  This option
  885.       disables this check.
  886.  
  887.   -b, --no-backup
  888.       During driver installation, conflicting files are backed
  889.       up, so that they can be restored when the driver is
  890.       uninstalled.  This option causes the installer to simply
  891.       delete conflicting files, rather than back them up.
  892.  
  893.   --no-recursion
  894.       Normally, nvidia-installer will recursively search for
  895.       potentially conflicting libraries under the default OpenGL
  896.       and X server installation locations.  With this option set,
  897.       the installer will only search in the top-level
  898.       directories.
  899.  
  900.   -K, --kernel-module-only
  901.       Install a kernel module only, and do not uninstall the
  902.       existing driver.  This is intended to be used to install
  903.       kernel modules for additional kernels (in cases where you
  904.       might boot between several different kernels).  To use this
  905.       option, you must already have a driver installed, and the
  906.       version of the installed driver must match the version of
  907.       this kernel module.
  908.  
  909.   --no-kernel-module
  910.       Install everything but the kernel module, and do not remove
  911.       any existing, possibly conflicting kernel modules.  This
  912.       can be useful in some DEBUG environments.  If you use this
  913.       option, you must be careful to ensure that a NVIDIA kernel
  914.       module matching this driver version is installed
  915.       seperately.
  916.  
  917.   --no-x-check
  918.       Do not abort the installation if nvidia-installer detects
  919.       that an X server is running.  Only under very rare
  920.       circumstances should this option be used.
  921.  
  922.   --precompiled-kernel-interfaces-path=PRECOMPILED-KERNEL-INTERFA
  923.   CES-PATH
  924.       Before searching for a precompiled kernel interface in the
  925.       .run file, search in the specified directory.
  926.  
  927.   -z, --no-nouveau-check
  928.       Normally, nvidia-installer aborts installation if the
  929.       nouveau kernel driver is in use.  Use this option to
  930.       disable this check.
  931.  
  932.   -Z, --disable-nouveau
  933.       If the nouveau kernel module is detected by
  934.       nvidia-installer, the installer offers to attempt to
  935.       disable nouveau. The default action is to not attempt to
  936.       disable nouveau; use this option to change the default
  937.       action to attempt to disable nouveau.
  938.  
  939.   -X, --run-nvidia-xconfig
  940.       nvidia-installer can optionally invoke the nvidia-xconfig
  941.       utility.  This will update the system X configuration file
  942.       so that the NVIDIA X driver is used.  The pre-existing X
  943.       configuration file will be backed up.  At the end of
  944.       installation, nvidia-installer will ask the user if they
  945.       wish to run nvidia-xconfig; the default response is 'no'.
  946.       Use this option to make the default response 'yes'.  This
  947.       is useful with the '--no-questions' or '--silent' options,
  948.       which assume the default values for all questions.
  949.  
  950.   --force-selinux=FORCE-SELINUX
  951.       Linux installations using SELinux (Security-Enhanced Linux)
  952.       require that the security type of all shared libraries be
  953.       set to 'shlib_t' or 'textrel_shlib_t', depending on the
  954.       distribution. nvidia-installer will detect when to set the
  955.       security type, and set it using chcon(1) on the shared
  956.       libraries it installs.  If the execstack(8) system utility
  957.       is present, nvidia-installer will use it to also clear the
  958.       executable stack flag of the libraries.  Use this option to
  959.       override nvidia-installer's detection of when to set the
  960.      security type.  Valid values for FORCE-SELINUX are 'yes'
  961.      (force setting of the security type), 'no' (prevent setting
  962.      of the security type), and 'default' (let nvidia-installer
  963.      decide when to set the security type).
  964.  
  965.  --selinux-chcon-type=SELINUX-CHCON-TYPE
  966.      When SELinux support is enabled, nvidia-installer will try
  967.      to determine which chcon argument to use by first trying
  968.      'textrel_shlib_t', then 'texrel_shlib_t', then 'shlib_t'.
  969.      Use this option to override this detection logic.
  970.  
  971.  --no-sigwinch-workaround
  972.      Normally, nvidia-installer ignores the SIGWINCH signal
  973.      before it forks to execute commands, e.g. to build the
  974.      kernel module, and restores the SIGWINCH signal handler
  975.      after the child process has terminated.  This option
  976.      disables this behavior.
  977.  
  978.  --no-cc-version-check
  979.      The NVIDIA kernel module should be compiled with the same
  980.      compiler that was used to compile the currently running
  981.      kernel. The layout of some Linux kernel data structures may
  982.      be dependent on the version of gcc used to compile it. The
  983.      Linux 2.6 kernel modules are tagged with information about
  984.      the compiler and the Linux kernel's module loader performs
  985.       a strict version match check. nvidia-installer checks for
  986.       mismatches prior to building the NVIDIA kernel module and
  987.       aborts the installation in case of failures. Use this
  988.       option to override this check.
  989.  
  990.   --no-distro-scripts
  991.       Normally, nvidia-installer will run scripts from
  992.       /usr/lib/nvidia before and after installing or uninstalling
  993.       the driver.  Use this option to disable execution of these
  994.       scripts.
  995.  
  996.   --no-opengl-files
  997.       Do not install any of the OpenGL-related driver files.
  998.  
  999.   --kernel-module-source-prefix=KERNEL-MODULE-SOURCE-PREFIX
  1000.       Specify a path where the source directory for the kernel
  1001.       module will be installed. Default: install source directory
  1002.       at /usr/src
  1003.  
  1004.   --kernel-module-source-dir=KERNEL-MODULE-SOURCE-DIR
  1005.       Specify the name of the directory where the kernel module
  1006.       sources will be installed. Default: directory name is
  1007.       nvidia-VERSION
  1008.  
  1009.   --no-kernel-module-source
  1010.       Skip installation of the kernel module source.
  1011.  
  1012.   --dkms
  1013.       nvidia-installer can optionally register the NVIDIA kernel
  1014.       module sources, if installed, with DKMS, then build and
  1015.       install a kernel module using the DKMS-registered sources.
  1016.       This will allow the DKMS infrastructure to automatically
  1017.       build a new kernel module when changing kernels.  During
  1018.       installation, if DKMS is detected, nvidia-installer will
  1019.       ask the user if they wish to register the module with DKMS;
  1020.       the default response is 'no'.  Use this option to make the
  1021.       default response 'yes'.  This is useful with the
  1022.       '--no-questions' or '--silent' options, which assume the
  1023.       default values for all questions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement