如何为旧版本的Fedora安装软件包?

bobber1611

我使用的是Fedora 13 VM,我需要安装一些旧的rpm,但只有源rpm文件。我知道我可以rpmbuild --rebuild用来构建二进制文件,但是无论出于什么原因,yum都没有安装rpm-build,而且我只能找到fc13的rpm-build的源rpm文件。因此,这是一个递归问题。

我需要的特定rpm是libvncserver,显然是rpm-build,但理想的情况是知道如何从通用SRPM开始并使它在Fedora 13上运行,以应对将来出现的任何需求。

我该如何解决?我愿意接受任何建议,但必须使用Fedora 13。

布拉奇利

您可能只需要使用yum完整DVD ISO随附的存储库即可。我将ISO下载到RHEL6服务器,将其安装在环回中,并在中创建了以下内容/etc/yum.repos.d/fedora.repo

[root@vlp-xxx tmp]# cat /etc/yum.repos.d/fedora.repo
[fedora]
name='Fedora base sur DVD - monter le dvd dans /repo/dvd'
baseurl=file:///mnt/tmp
enabled=0
gpgcheck=0

然后,这给了我所有的Fedora 13 rpm:

[root@vlp-xxx tmp]# yum list available --disablerepo='*' --enablerepo=fedora | head
Loaded plugins: product-id, security, subscription-manager
Available Packages
BackupPC.noarch                        3.1.0-13.fc13                      fedora
ConsoleKit.i686                        0.4.1-5.fc13                       fedora
ConsoleKit-libs.i686                   0.4.1-5.fc13                       fedora
ConsoleKit-x11.i686                    0.4.1-5.fc13                       fedora
DeviceKit-power.i686                   1:0.9.0-1.fc13                     fedora
GConf2.i686                            2.28.1-1.fc13                      fedora
GConf2-devel.i686                      2.28.1-1.fc13                      fedora
GConf2-gtk.i686                        2.28.1-1.fc13                      fedora
[...snip...]

而且您的包裹似乎在里面:

[root@vlp-xxx tmp]# yum info rpm-build --disablerepo='*' --enablerepo=fedora
Loaded plugins: product-id, security, subscription-manager
Installed Packages
[...snip...]

Available Packages
Name        : rpm-build
Arch        : i686
Version     : 4.8.0
Release     : 14.fc13
Size        : 125 k
Repo        : fedora
Summary     : Scripts and executable programs used to build packages
URL         : http://www.rpm.org/
License     : GPLv2+
Description : The rpm-build package contains the scripts and executable programs
            : that are used to build packages using the RPM Package Manager.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何安装django软件包的旧版本?

如何安装旧版本的软件包?

安装旧版本的R软件包

如何将python软件包从旧版本安装到新版本?

以前安装了旧版本时,如何使用 puppet 更新 Windows 软件包?

如何通过NuGet安装较旧版本的软件包?

如何降级到软件包的更旧版本

使用包含旧版本Fedora软件包的copr回购吗?

在不安装软件包的情况下,如何阅读较旧版本的软件包功能的帮助文件/手册?

使用apt-get(特别是wxpython)安装旧版本的python软件包

为什么pip安装了旧版本的软件包?

Debian:从旧版本库中安装软件包是否可能/安全?

我可以强制dnf安装旧版本的软件包吗?

在Ubuntu上安装旧版本的Firefox-ESR软件包

持有旧版本的软件包?

FAKE,TeamCity和旧版本的NuGet软件包

使用NuGet下载旧版本的软件包

将新软件包导入旧版本

更新软件包时如何防止nuget还原到从属软件包的旧版本

如何使用MSYS2获得较旧版本的软件包?

如何从本地存储库删除相同软件包的旧版本?

如何在Fedora上安装旧版本的gcc

Visual Studio坚持要求我添加对已安装的NuGet软件包的旧版本的引用

发布后安装的nuget软件包取决于较旧版本的System.Web.Mvc.dll

如何迁移到较新的Python版本并仍然使用旧版本中的软件包?

如何为TortoiseHG安装较旧版本的Mercurial?

为Fedora安装旧版本的gcc?

软件取决于软件包的较旧版本,而不是MINT 18所使用的

如何为旧版OS重新打包deb软件包?