SuSe Linux Interview Questions and Answers


Q: – What is Suse Linux ?

Suse Linux is a computer operating system. It is built on top of the open source Linux kernel and is distributed with system and application software from other open source projects. SUSE Linux is of German origin and mainly developed in Europe. The first version appeared in early 1994, making SUSE one of the oldest existing commercial distributions. It is known for its YaST configuration tool.

Q: – What is difference between openSUSE Linux and SUSE Linux Enterprise ?

openSUSE Linux is a freely available, community project that releases versions on a comparatively frequent basis and generally uses the latest versions of the various open source projects that it includes. SUSE Linux Enterprise is SUSE's commercial edition, which SUSE releases much less frequently, enabling it to offer support more effectively for enterprise/production deployments. It is certified for a wide variety of enterprise applications and offers a number of special enterprise features including High Availability and Point of Sale extensions. SUSE historically uses a heavily tested subset of packages from openSUSE Linux as the basis for SUSE Linux Enterprise.

Q: – What is the difference between Rehat Linux and Suse Linux ?

The main difference is the package manager that they each use. Suse Linux uses Yast and Redhat Linux uses yum.

Q: – How to install packages or software using yast in suse linux ?

The process of installing software is very simple. Start YaST by selecting it from the menu under System, or by using the run command dialog (press Alt+F2) and typing yast. You will be required to enter your root password. Start the Software Management-module by selecting it from the Software tab in the YaST Control Center. Search for the required package, and YaST will display a list of all matching packages on the right. You can search for package names or you can search in package descriptions. There are also filters available that enable you to browse certain categories of packages.

Q: – How to install Software With YAST From the Command Line ?

YAST can install a package from the command line or from a script. This functionality is useful if wanting to install software on a group of machines, such as a cluster. YAST can install a package given the full path or by pulling from the software available in the listed installation sources (i.e. Those listed in YAST -> Software -> Change Source of Installation)

To install an rpm package stored on the file system, do the following:

1 Open a terminal and su to root.
2 Enter yast -i /path_to_rpm_file/filename.rpm.

Q: – How To install NVIDIA Driver in suse linux ?

It is recommended to use YaST for installation of the NVIDIA driver. There are several reasons for this. First, it's simple. Second, and this is the most important one, you won't need to recompile the nvidia kernel module after a kernel update. Update your Kernel via YOU (YaST Online Update). Use

a) x11-video-nvidia + nvidia-gfx-kmp-(kernel_flavor)


b) x11-video-nvidiaG01 + nvidia-gfxG01-kmp-(kernel_flavor)


c) x11-video-nvidiaG02 + nvidia-gfxG02-kmp-(kernel_flavor)

If no additional packages are autoselected, your card is not supported by the driver (RPMs) at the moment. It needs to be mentioned that 'xen' is excluded from the kernel flavors supported by the Nvidia drivers.


Secoond recompiling the nvidia kernel module or even reinstalling the nvidia driver each time the kernel has been updated and want or need to use the latest and greatest nvidia driver can use the following steps 1-4. The others should use the instructions above using YaST and skip the steps below.

1) Kernel sources must be installed and configured. Usually this means installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.

2) Run the following commands
echo "blacklist nouveau" > /etc/modprobe.d/nvidia.conf
# recreate initrd without KMS, if the use of KMS is enabled in initrd
if grep -q NO_KMS_IN_INITRD=\"no\" /etc/sysconfig/kernel; then
sed -i 's/NO_KMS_IN_INITRD.*/NO_KMS_IN_INITRD="yes"/g' /etc/sysconfig/kernel

3) Reboot your machine.

4) Use the nvidia installer for 290.10.
sh -q

IMPORTANT: You need to recompile and install the nvidia kernel module after each kernel update.

sh -K

Submitted By:-Jack  Email-ID: –