def _install_prerequisites()

in linux/cuda_installer/os_installers/ubuntu.py [0:0]


    def _install_prerequisites(self):
        """
        Installs packages required for the proper driver installation on Debian.
        """
        self.run("apt-get update")

        self.run(
            "apt-get install -y linux-image-gcp linux-headers-gcp "
            "gcc make dkms pciutils software-properties-common cmake"
        )
        raise RebootRequired