适用于 SUSE Professional 11 的等效开发/构建工具

适用于 SUSE Professional 11 的等效开发/构建工具

我有 suse professional 11.4

在 Redhat 中我们有这个:

yum group install "development tools"

在 Debian 中我们有这个:

apt-get install build-essentials

suse 的对应版本是什么?我想安装所有构建/开发工具。

非常感谢您的建议,

答案1

您可以在 Suse 论坛上找到它。

http://forums.opensuse.org/applications/413553-build-essential.html

没有“构建基本”类型的包 - 您可以使用命令安装 c/c++ 开发工具zypper install -t pattern devel_C_C++,或者通过安装C/C++ Compiler and Tools(在 suse 11.0 上)或C/C++ Development来自 YAST 软件管理的模式

答案2

除了 Jeroen 的回答之外,我还运行了这个命令来找出模式名称:

$ zypper se -t pattern devel
Loading repository data...
Reading installed packages...

S | Name        | Summary                  | Type
--+-------------+--------------------------+--------
i | Basis-Devel | C/C++ Compiler and Tools | pattern

接下来是安装软件包的问题:

$ zypper install --type pattern Basis-Devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  adaptec-firmware aspell aspell-en aspell-ispell atmel-firmware autoconf automake bison brocade-firmware ctags cvs emacs emacs-info emacs-x11 flex gcc43-c++ gcc43-info gcc43-locale gcc-c++ gcc-info gcc-locale gdbm-devel giflib
  glibc-info icom-firmware ipw-firmware kernel-default-devel kernel-source libaio-devel libasound2 libncurses6 libstdc++43-devel libstdc++-devel mpt-firmware ncurses-devel pkg-config rcs tack texinfo xaw3d

The following NEW patterns are going to be installed:
  Basis-Devel Minimal

<snip>

这是在 SLES SP1 上。

答案3

自 2023 年起,openSUSE Tumbleweed 中就有类似于 fedora 的“开发工具”。基本上,您可以运行以下命令:

sudo zypper in -y --type pattern devel_basis devel_C_C++

为了检查可用的组,您可以运行以下命令:

$ sudo zypper se -t pattern devel
Loading repository data...
Reading installed packages...

S  | Name                 | Summary                                     | Type
---+----------------------+---------------------------------------------+--------
i+ | devel_basis          | Base Development                            | pattern
i+ | devel_C_C++          | C/C++ Development                           | pattern
   | devel_gnome          | GNOME Development                           | pattern
   | devel_java           | Java Development                            | pattern
   | devel_kde_frameworks | KDE Frameworks and Plasma Development       | pattern
   | devel_kernel         | Linux Kernel Development                    | pattern
   | devel_mono           | .NET Development                            | pattern
   | devel_osc_build      | Tools for Packaging with Open Build Service | pattern
   | devel_perl           | Perl Development                            | pattern
   | devel_python3        | Python 3 Developement                       | pattern
   | devel_qt5            | Qt 5 Development                            | pattern
   | devel_qt6            | Qt 6 Development                            | pattern
   | devel_rpm_build      | RPM Build Environment                       | pattern
   | devel_ruby           | Ruby Development                            | pattern
   | devel_tcl            | Tcl/Tk Development                          | pattern
   | devel_vulkan         | Vulkan Development                          | pattern
   | devel_web            | Web Development                             | pattern
   | devel_yast           | YaST Development                            | pattern
   | hpc_development_node | HPC Development Packages                    | pattern

相关内容