从边缘存储库添加高山软件包 [英] Alpine Add Package from Edge repository
本文介绍了从边缘存储库添加高山软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我使用的是Alpine 3.8,如何从Alpine Edge存储库中添加特定的程序包?甚至支持吗?据我所知,没有等效的反向移植。
If I'm using Alpine 3.8, how can I add a specific package from the Alpine Edge repository? Is this even supported? There is no equivalent of backports, from what I can see.
我想添加新版本: https://pkgs.alpinelinux.org/package/edge/community/armhf/librdkafka
,而不是3.8版本中的旧版本:
https://pkgs.alpinelinux.org/package/v3.8/community/s390x/librdkafka
And not the older version in the 3.8 repo: https://pkgs.alpinelinux.org/package/v3.8/community/s390x/librdkafka
推荐答案
您可以使用-repository
参数为apk指定确切的存储库。
您的情况是:
You could specify the exact repo to apk, using the --repository
parameter.
In your case:
apk add librdkafka --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
这篇关于从边缘存储库添加高山软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文