我想在 SUSE 12 SP4 上安装 python-devel 和它的依赖包。你能引导我到官方的 SUSE 包管理器站点吗?使用 Yast 我找不到 python-devel 包。我做了“zypper search python-devel”但找不到任何东西。请指导我如何在 SUSE 12 SP4 上安装 python-devel。
问问题
664 次
2 回答
2
您可能正在搜索错误的包名称。可以在https://packagehub.suse.com/search/和 openSUSE https://software.opensuse.org搜索 SLE 包。如果你只搜索“python”,你会看到所有相关的包。
于 2020-08-12T14:53:48.680 回答
0
我在 SLES 12 SP5 上,所以现在可能有所不同,但我确实看到了带有以下命令的 python 2 和 python 3 的开发包。用于zypper search -h
了解更多信息。
zypper search -s python-devel python3-devel
% zypper search -s python-devel python3-devel
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+----------------------+---------+----------------+--------+----------------------
| dbus-1-python-devel | package | 1.2.0-4.194 | x86_64 | SLES12SP5_SDK
| dbus-1-python3-devel | package | 1.2.0-4.194 | x86_64 | SLES12SP5_SDK
| python-devel | package | 2.7.17-28.51.1 | x86_64 | SLES12_STD_2020_11
| python-devel | package | 2.7.13-28.36.1 | x86_64 | SLES12SP5_updates
| python-devel | package | 2.7.13-28.31.1 | x86_64 | SLES12SP5
| python-devel | package | 2.7.13-28.31.1 | x86_64 | SLES12SP5_Pool
| python3-devel | package | 3.4.10-25.52.1 | x86_64 | SLES12_STD_2020_11
| python3-devel | package | 3.4.10-25.45.1 | x86_64 | SLES12_STD_2020_05
| python3-devel | package | 3.4.6-25.34.2 | x86_64 | SLES12SP5_SDK_updates
| python3-devel | package | 3.4.6-25.29.1 | x86_64 | SLES12SP5_SDK
zypper search 'python*devel'
%zypper search 'python*devel'
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+------------------------+-------------------------------------------------------------------+--------
| python-cairo-devel | Headers for python-cairo | package
| python-devel | Include Files and Libraries Mandatory for Building Python Modules | package
| python-gobject2-devel | Python bindings for GObject | package
| python-gtk-devel | Files needed to build wrappers for GTK+ addon libraries | package
| python-ldb-devel | Development files for the Python bindings for the LDB library | package
| python-notify-devel | Python bindings for libnotify | package
| python-numpy-devel | Development files for numpy applications | package
| python-pyzmq-devel | Development files for python-pyzmq | package
| python-qt4-devel | PyQt - devel part of python bindings for Qt 4 | package
| python-sip-devel | SIP tool to create python bindings | package
| python-talloc-devel | Developer tools for the Talloc library | package
| python-xcb-proto-devel | Python libraries mandatory for XML-XCB Development | package
| python3-cairo-devel | Development files for python3-cairo | package
| python3-devel | Include Files and Libraries Mandatory for Building Python Modules | package
| python3-gobject-devel | Python bindings for GObject | package
于 2021-03-26T00:49:03.347 回答