简体   繁体   English

在Yocto上安装NFS软件包

[英]Installing NFS packages on Yocto

I need to download nfs-common(package that need for NFS) on my Yocto system, but I don't understand how to do that. 我需要在Yocto系统上下载nfs-common(需要NFS的软件包),但是我不知道该怎么做。

I try apt-get and yum but that doesn't work. 我尝试apt-get和yum,但这不起作用。

Well, if your building your own system, then you need to add the required packages to your image. 好吧,如果您要构建自己的系统,则需要将所需的软件包添加到映像中。 (Ie add them to IMAGE_INSTALL ). (即,将它们添加到IMAGE_INSTALL )。

If you're just running a pre-generated image, you could very well find it a lot harder... 如果您只是运行一个预先生成的图像,则很可能会发现它困难得多...

You need to find the answer to the following questions: 您需要找到以下问题的答案:

  • Do you have any package manager at all installed? 您是否已安装任何软件包管理器?

    • If you have; 如果你有; does your provider have any repositories that you can add? 您的提供者是否有可以添加的任何存储库? Otherwise you'll likely need to build the package yourself and transfer the required package ( rpm , ipk , or deb ) to your image manually. 否则,您可能需要自己构建软件包并将所需的软件包( rpmipkdeb )手动传输到映像。

    • If you don't have any package manager installed, you could still build a package and try to move and install all the files manually; 如果您没有安装任何程序包管理器,则仍然可以构建程序包并尝试手动移动和安装所有文件。 though it would be a lot easier (and better for the future) to build your own image in that case. 尽管在这种情况下建立自己的形象会容易得多(对将来更好)。

As it was a Freescale system, I'd guess that you can find more information about the actual BSP at FSL Community BSP 由于它是飞思卡尔系统,我想您可以在FSL社区BSP上找到有关实际BSP的更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM