When YaST is started in text mode, the YaST Control Center appears first. See Figure 2.22. “Main Window of YaST in Text Mode”.
The main window consists of three areas. The left frame, which is surrounded by a thick white border, features the categories to which the various modules belong. The active category is indicated by a colored background. The right frame, which is surrounded by a thin white border, provides an overview of the modules available in the active category. The bottom frame contains the buttons forand .
When the YaST Control Center is started, the category ↓ and ↑ to change the category. To start a module from the selected category, press →. The module selection now appears with a thick border. Use ↓ and ↑ to select the desired module. Keep the arrow keys pressed to scroll through the list of available modules. When a module is selected, the module title appears with a colorful background and a brief description is displayed in the bottom frame.is selected automatically. Use
Press Enter to start the desired module. Various buttons or selection fields in the module contain a letter with a different color (yellow by default). Use Alt-yellow_letter to select a button directly instead of navigating there with Tab. Exit the YaST Control Center by pressing the button or by selecting in the category overview and pressing Enter.
The following description of the control elements in the YaST modules assumes that all function keys and Alt key combinations work and are not assigned different global functions. Read Section 2.10.2. “Restriction of Key Combinations” for information about possible exceptions.
Use Tab and Alt-Tab or Shift-Tab to navigate among the buttons and the frames containing selection lists.
Use the arrow keys (↑ and ↓) to navigate among the individual elements in an active frame containing a selection list (e.g., between the individual modules of a module group in the Control Center). If individual entries within a frame exceed its width, use Shift-→ or Shift-← to scroll horizontally to the right and to the left. Alternatively, use Ctrl-E or Ctrl-A. This combination can also be used if using → or ← would result in changing the active frame or the current selection list, as in the Control Center.
To select buttons with empty square brackets (check boxes) or empty parentheses (radio buttons), press Space or Enter. Alternatively, radio buttons and check boxes can be selected directly with Alt-yellow_letter. In this case, you do not need to confirm with Enter. If you navigate to an item with Tab, press Enter to execute the selected action or activate the respective menu item. See Figure 2.23. “The Software Installation Module”.
The F keys (F1 to F12) enable quick access to the various buttons. Which function keys are actually mapped to which buttons depends on the active YaST module, as the different modules offer different buttons (Details, Info, Add, Delete, etc.). Use F10 for , , and . Press F1 to access the YaST, help which shows the functions mapped to the individual F keys.
If your window manager uses global Alt combinations, the Alt combinations in YaST might not work. Keys like Alt or Shift can also be occupied by the settings of the terminal.
Alt shortcuts can be executed with Esc instead of Alt. For example, Esc-H replaces Alt-H.
If the Alt and Shift combinations are occupied by the window manager or the terminal, use the combinations Ctrl-F (forward) and Ctrl-B (backward) instead.
The F keys are also used for functions. Certain function keys might be occupied by the terminal and may not be available for YaST. However, the Alt key combinations and F keys should always be fully available on a pure text console.
To save time, the individual YaST modules can be started directly. To a module, enter yast <module_name>. The network module, for example, is started with yast lan. A list of all module names available on your system can be viewed with the command yast -l or yast --list.
The YaST Online Update (YOU) module can be started from the command line as root like any other YaST module:
yast online_update .url <url>
yast online_update starts the respective module. The option url can be used to specify the server (local or on the Internet) from which YOU should get all information and patches. If you do not specify a server when starting the module, select the server or the directory in the YaST dialog. Configure cron jobs for automating the update with .
The parameter .cd_default instructs YOU to install from a patch CD. This parameter has the same effect as .url cd:///.
Using the command-line tool online_update, the system can be updated automatically (e.g., by means of scripts). For instance, you may want your system to search a specific server for updates and download the patches and patch information at a specified time in regular intervals. However, you may not want the patches to be installed automatically. Instead, you may want to review the patches and select the patches for installation at a later time.
Configure a cron job that executes the following command:
online_update -u <URL> -g <type_specification>
-u introduces the base URL of the directory tree from which the patches should be downloaded. The following protocols are supported: http, ftp, smb, nfs, cd, dvd, and dir. -g downloads the patches to a local directory without installing them. Optionally, filter the patches by specifying the type: security, recommended, or optional. If no filter is specified, online_update downloads all new security and recommended patches.
The downloaded packages can be installed immediately without reviewing the individual patches. online_update saves the patches in the directory /var/lib/YaST2/you/mnt. To install the patches, execute the following command:
online_update -u /var/lib/YaST2/you/mnt/ -i
The parameter -u specifies the (local) URL of the patches to install. -i starts the installation procedure.
To review the downloaded patches prior to the installation, start the YOU dialog:
yast online_update .url /var/lib/YaST2/you/mnt/
YOU starts and uses the local directory containing the downloaded patches instead of a remote directory on the Internet. Select the patches to install in the same way as packages for installation in the package manager.
For more information about online_update, enter online_update -h.