![在 Ubuntu 中安装 build-essential 时出现问题](https://linux22.com/image/1250753/%E5%9C%A8%20Ubuntu%20%E4%B8%AD%E5%AE%89%E8%A3%85%20build-essential%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我正在尝试安装build-essential
但 Ubuntu 找不到它。
ruchir@ubuntu:~$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build-essential
答案1
先尝试更新
sudo apt-get update
然后尝试安装它
sudo apt-get install build-essential