在kali Linux上安装KDE

在kali Linux上安装KDE

我试图在 Kali Linux 上安装 KDE 桌面环境。所以我使用了以下命令:-

sudo apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop

我收到了这个错误:-

 Unable to locate package kde-plasma-desktop

然后我执行sudo apt-get update更新存储库,然后再次使用上述命令,但发生了相同的错误。

谁能解释如何解决这个问题?

答案1

修复来源列表。

运行gedit /etc/apt/sources.list 以下内容并将其粘贴到该文件中:

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130315-11:02]/ kali contrib main non-free
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130315-11:02]/ kali contrib main non-free

deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib

## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free 

跑步sudo apt-get update

现在运行:

sudo apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop

KDE 将安装在 Kali Linux 上

相关内容