- 如果在debian下,符合libxxx-dev 模式的包, 在fedora下,也许是libxxx-devel
- 如果1不对,也许是大小写问题(在fedora33下,dnf install 会提示出来正确的拼写).例如以下软件包:
- libx11-dev --> libX11-devel
- libxext-dev --> libXext-devel
- libxrandr-dev --> libXrandr-devel
- libxcursor-dev --> libXcursor-devel
- libxi-dev --> libXi-devel
- libxinerama-dev --> libXinerama-devel
- libxxf86vm-dev --> libXxf86vm-devel
- 有一些,debian下是libxxx-dev的包,会把lib去掉,或者 / 并且 把数字版本号去掉,例如
- libfreetype6-dev --> freetype-devel
- libfontconfig-dev --> fontconfig-devel
- libglib2.0-dev --> glib2-devel
- libdbus-1-dev --> dbus-devel
- libibus-1.0-dev --> ibus-devel
- libsamplerate0-dev --> libsamplerate-devel
- 有些名称差别就较大了
- libpulse-dev --> pulseaudio-libs-devel
- libasound2-dev --> alsa-lib-devel
- libaudio-dev --> nas-devel
- libgl1-mesa-dev --> mesa-libGL-devel
- libgles2-mesa-dev --> mesa-libGLES-devel
- libegl1-mesa-dev --> mesa-libEGL-devel
- libxss-dev --> libXScrnSaver-devel
- fcitx-libs-dev --> fcitx-devel
- libxkbcommon-dev --> libxkbcommon-x11-devel