This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM57X: Can APT (Advanced Package Tool) be Installed?

Expert 2430 points
Part Number: PROCESSOR-SDK-AM57X

I realize EmbeddedLinux is not truly equivalent to 'native' Linux--the fact that we need BusyBox for even basic 'ls' support tells me that--so forgive this naive question, but is APT something that can be installed on the target?  And if so, how?

  • Alex,

    apt, in my understanding is the front end utility for the dpkg package manager, the equivalent of that on the Yocto is opkg.

    The default filesystem already supports/includes opkg and you can refer to the help and usage.

    Regards

    Karthik

  • Well, I know about opkg, but it's not quite the same thing, is it?

    So take this instructional site for example:  How To Install and Use GPG Encryption In Linux In Order To Encrypt and Decrypt Files and Folder?

    I have a need to install GPG on my target system because I need to be able to encrypt and decrypt files using AES-256.  On my host, with apt, I can install it easily with a 'sudo apt install gnupg', and apt will take of installing it and all its required dependencies.  I would like to be able to do that on my target system as well.  How would I do that with opkg?

    And though the above is an actual, real need of mine, this really applies to anything.  This SDK and the internet revolves around Ubuntu, and most everything now is packaged to be installed via apt.  What (extra) steps do I need to do to translate 'apt'-based installers to an 'opkg'-based one?

  • Hi Alex,

    I had to check many things before confirming back to you and it took a while.

    1. The SDK already has all the hooks in place to support package feeds with opkg.

    2. We do not have plans to host a public package feed - although we have had this internally for many months now.

    3. The opkg update/install takes care of all the package dependencies like the apt-get procedure, so its ready to handle the usecase that you described.

    Please refer to the standard Yocto documentation on the procedure to setup package feeds that you can use - it would involve hosting the ipks, having the target filesystem to point to your package feed server. This is something that we are not planning to provide as part of the SDK.

    Regards

    Karthik