当我发出这个命令时
apt-get install build-essential autoconf automake libxmu-dev
它给出了以下错误
E: Package 'build-essential' has no installation candidate
E: Package 'autoconf' has no installation candidate
E: Package 'automake' has no installation candidate
E: Unable to locate package libxmu-dev
答案1
首先尝试启用主存储库:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main"
sudo apt-get update
最后:
sudo apt-get install build-essential autoconf automake libxmu-dev