8.3 YaST Command Line Options
Besides the text mode interface, YaST provides a pure command line
interface. To get a list of YaST command line options, enter:
8.3.1 Starting the Individual Modules
To save time, the individual YaST modules can be started directly. To
start a module, enter:
View a list of all module names available on your system with
yast -l or yast --list. Start the
network module, for example, with yast lan.
8.3.2 Installing Packages from the Command Line
If you know a package name and the package is provided by any of your
active installation repositories, you can use command line option
-i to install the package:
yast -i <package_name>
yast --install <package_name>
package_name can be a single short package
name, for example gvim which
is installed with dependency checking, or the full path to an rpm
package, which is installed without dependency checking.
If you need a command-line based software management utility with
functionality beyond what YaST provides, consider using zypper. This
new utility uses the same software management library that is also the
foundation for the YaST package manager. The basic usage of zypper is
covered in Section 7.1, Using Zypper.
8.3.3 Command Line Parameters of the YaST Modules
To use YaST functionality in scripts, YaST provides command line
support for individual modules. Not all modules have a command line
support. To display the available options of a module, enter:
yast <module_name> help
If a module does not provide command line support, the module is started
in text mode and the following message appears:
This YaST module does not support the command line interface.