安装输入法

apt install fcitx-googlepinyin

安装nvidia显卡驱动和cuda

apt install nvidia-driver nvidia-cuda-toolkit

参考:https://www.kali.org/docs/general-use/install-nvidia-drivers-on-kali-linux/