Software-Installation

在 Kali Linux 2017.2 中安裝 python idle

  • November 17, 2020

我想通過這個命令安裝 python idle:

sudo apt-get install idle3

輸出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package idle3

在 2016.2 版本中,它是使用該命令安裝的……但現在我無法安裝它。
我也試過這個命令:

sudo apt-get install idle-python3.6

輸出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package idle-python3.6
E: Couldn't find any package by glob 'idle-python3.6'
E: Couldn't find any package by regex 'idle-python3.6'

當我嘗試在終端中輸入idle3時,它說:

bash: idle3: command not found

如何在 Kali-Linux 2017.2 中安裝 idle3

編輯你的/etc/apt/sources.list,你應該只有以下行:

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

保存然後執行:

apt update
apt install idle3

不要idle3只鍵入 type idle

引用自:https://unix.stackexchange.com/questions/395204