kali linuxインストールlibnids

2913 ワード

1、libpcapをインストールする
2、libnetのインストール
3、libnidsをインストールして実行する./configureでエラーchecking for GLIB...configure:error:The pkg-config script could not be found......
apt-get install pkg-config

checking for GLIB… configure: error: Package requirements (glib-2.0>= 2.2.0) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
sudo apt-get install libglib2.0-dev

インストールをダウンロードできない場合は、kali linuxのソースを変更し、leafpad/etc/apt/sourcesを更新する必要があります.list
#(             ,          ,            ok,        )
  #kali   
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    #     
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
    deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
    deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
    #    
    deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
    deb http://mirrors.aliyun.com/kali-security/ kali-rolling main contrib non-free
    deb-src http://mirrors.aliyun.com/kali-security/ kali-rolling main contrib non-free
apt-get update
ape-get upgrade
apt-get dist-upgrade
apt-get clean