ubuntu上一键安装开发工具,如make, gcc,可以安装build-essential。dnf也有类似的:dnf install @development-tools
$ sudo dnf install @development-tools
[sudo] password for yuanjp:
Fedora 40 - x86_64 - Updates 12 kB/s | 5.5 kB 00:00
Fedora 40 - x86_64 - Updates 1.0 MB/s | 1.0 MB 00:01
Dependencies resolved.
================================================================================
Package Arch Version Repo Size
================================================================================
Installing group/module packages:
diffstat x86_64 1.66-1.fc40 fedora 45 k
doxygen x86_64 2:1.10.0-3.fc40 fedora 5.3 M
patch x86_64 2.7.6-24.fc40 fedora 131 k
patchutils x86_64 0.4.2-13.fc40 fedora 108 k
subversion x86_64 1.14.3-5.fc40 fedora 1.0 M
systemtap x86_64 5.1~pre17062192g5fd8daba-1.fc40 fedora 8.9 k
Installing dependencies:
bison x86_64 3.8.2-7.fc40 fedora 1.0 M
boost-atomic x86_64 1.83.0-3.fc40 fedora 20 k
boost-filesystem x86_64 1.83.0-3.fc40 fedora 70 k
dyninst x86_64 12.3.0-6.fc40 fedora 3.9 M
ed x86_64 1.20.2-1.fc40 updates 82 k
elfutils-devel x86_64 0.191-4.fc40 fedora 50 k
elfutils-libelf-devel x86_64 0.191-4.fc40 fedora 23 k
flex x86_64 2.6.4-16.fc40 fedora 299 k
gc x86_64 8.2.2-6.fc40 fedora 110 k
gcc x86_64 14.0.1-0.15.fc40 fedora 37 M
glibc-devel x86_64 2.39-8.fc40 updates 115 k
glibc-headers-x86 noarch 2.39-8.fc40 updates 605 k
guile30 x86_64 3.0.7-12.fc40 fedora 8.1 M
libserf x86_64 1.3.10-5.fc40 fedora 59 k
libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 29 k
libzstd-devel x86_64 1.5.6-1.fc40 updates 52 k
m4 x86_64 1.4.19-9.fc40 fedora 305 k
make x86_64 1:4.4.1-6.fc40 fedora 588 k
openssl-devel x86_64 1:3.2.1-2.fc40 fedora 2.8 M
subversion-libs x86_64 1.14.3-5.fc40 fedora 1.5 M
systemtap-client x86_64 5.1~pre17062192g5fd8daba-1.fc40 fedora 4.0 M
systemtap-devel x86_64 5.1~pre17062192g5fd8daba-1.fc40 fedora 2.4 M
systemtap-runtime x86_64 5.1~pre17062192g5fd8daba-1.fc40 fedora 462 k
tbb x86_64 2021.11.0-5.fc40 fedora 163 k
utf8proc x86_64 2.7.0-7.fc40 fedora 80 k
xapian-core-libs x86_64 1.4.23-2.fc40 fedora 780 k
xz-devel x86_64 1:5.4.6-3.fc40 fedora 67 k
zlib-ng-compat-devel x86_64 2.1.6-2.fc40 fedora 36 k
Installing weak dependencies:
elfutils-debuginfod-client-devel
x86_64 0.191-4.fc40 fedora 20 k
kernel-devel x86_64 6.8.7-300.fc40 updates 20 M
Installing Groups:
Development Tools
Transaction Summary
================================================================================
Install 36 Packages
Total download size: 91 M
Installed size: 307 M
Is this ok [y/N]:
参考: