1

How can we search for packages, like apt-cache search but for foreign architectures?

E.g. My system is amd64 but I have also arm64 as foreign architecture in dpkg and I want to search for arm64.

Thanks!

Edit: I am looking for a command line solution

0

Use the Package Index. After searching for a package name, you can select a specific architecture. For example, searching for gcc, in arm64: https://packages.ubuntu.com/search?suite=artful&arch=arm64&searchon=names&keywords=gcc

enter image description here

If you have arm64 sources added to apt, You can use aptitude:

$ aptitude search '~n apache2-dev'
p   apache2-dev                                - Apache HTTP Server (development headers)
p   apache2-dev:arm64                          - Apache HTTP Server (development headers)
$ aptitude search '~n apache2-dev ~r arm64'
p   apache2-dev:arm64                          - Apache HTTP Server (development headers)
  • Thanks for the input! I am looking for a command line solution :) – Tanasis Jan 17 '18 at 13:41
  • @Tanasis use a command line web browser. lynx or the like. – muru Jan 17 '18 at 13:41
  • True, but unfortunately It's an embedded board and I don't want to install unnecessary stuff :( I was wondering if there is something wrt dpkg or apt. Towards those lines... – Tanasis Jan 17 '18 at 13:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.