admin管理员组文章数量:1571383
build-essential 软件包
build-essential 软件包的作用是提供编译程序必须的软件包列表信息。
1. apt-cache depends build-essential
build-essential 软件包的依赖关系。
strong@foreverstrong:~$ apt-cache depends build-essential
build-essential
|Depends: libc6-dev
Depends: <libc-dev>
libc6-dev
Depends: gcc
Depends: g++
Depends: make
make-guile
Depends: dpkg-dev
strong@foreverstrong:~$
2. sudo apt-get install build-essential -y
Ubuntu 中编译 C/C++ 程序,需要安装该软件包。
sudo apt-get update && sudo apt-get install build-essential -y
sudo apt-get install build-essential -y
guipc@deepnorth01:~/people_counting_api$ sudo apt-get install build-essential -y
[sudo] password for guipc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-45 linux-headers-4.15.0-45-generic linux-headers-4.15.0-55 linux-headers-4.15.0-55-generic
linux-image-4.15.0-45-generic linux-image-4.15.0-55-generic linux-modules-4.15.0-45-generic
linux-modules-4.15.0-55-generic linux-modules-extra-4.15.0-45-generic linux-modules-extra-4.15.0-55-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nginx-core (1.10.3-0ubuntu0.16.04.4) ...
Setting up nginx (1.10.3-0ubuntu0.16.04.4) ...
guipc@deepnorth01:~/people_counting_api$
版权声明:本文标题:build-essential 软件包 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1726241889a1062232.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论