我正在关注这其中有一些命令:
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
用leafpad编写来安装clamav等软件。但我想知道如何在终端中以 root 身份打开 leafpad,编写上述命令并保存。有帮助吗?抱歉英语不好。
我尝试使用命令安装 clamAV 仍然存在问题。
答案1
leafpad 只是一个文本编辑器,您不必仅因为他们在论坛中描述它而必须使用它。使用哪种文本编辑器是您的选择。无论如何,请按照以下方式操作
sudo leafpad /etc/apt/sources.list
修复源列表以添加存储库你认为必要时,请记住使用以下命令使用存储库中所做的最新更改来更新本地包索引(因为您将添加新的更改):
apt-get update && apt-get install clamav clamav-freshclam