{"id":13827903,"url":"https://github.com/genuinetools/apk-file","last_synced_at":"2025-12-14T20:05:01.542Z","repository":{"id":55915779,"uuid":"59044397","full_name":"genuinetools/apk-file","owner":"genuinetools","description":"Search apk package contents via the command line.","archived":false,"fork":false,"pushed_at":"2023-02-16T21:21:28.000Z","size":7426,"stargazers_count":110,"open_issues_count":2,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T06:08:25.774Z","etag":null,"topics":["alpine-linux","cli","linux"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/genuinetools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-05-17T17:32:32.000Z","updated_at":"2025-03-19T00:30:17.000Z","dependencies_parsed_at":"2023-02-19T15:00:51.542Z","dependency_job_id":null,"html_url":"https://github.com/genuinetools/apk-file","commit_stats":{"total_commits":60,"total_committers":13,"mean_commits":4.615384615384615,"dds":0.4,"last_synced_commit":"6213d2f37599c257bbb7837caf451a75046578eb"},"previous_names":["jessfraz/apk-file","jfrazelle/apk-file"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fapk-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fapk-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fapk-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fapk-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/genuinetools","download_url":"https://codeload.github.com/genuinetools/apk-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608160,"owners_count":20965953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","cli","linux"],"created_at":"2024-08-04T09:02:19.146Z","updated_at":"2025-12-14T20:04:55.894Z","avatar_url":"https://github.com/genuinetools.png","language":"Makefile","readme":"# apk-file\n\n[![make-all](https://github.com/genuinetools/apk-file/workflows/make%20all/badge.svg)](https://github.com/genuinetools/apk-file/actions?query=workflow%3A%22make+all%22)\n[![make-image](https://github.com/genuinetools/apk-file/workflows/make%20image/badge.svg)](https://github.com/genuinetools/apk-file/actions?query=workflow%3A%22make+image%22)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/apk-file)\n[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/apk-file/total.svg?style=for-the-badge)](https://github.com/genuinetools/apk-file/releases)\n\nSearch apk packages via the command line.\n\n\u003e Basically `apt-file` but for alpine.\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**\n\n- [Installation](#installation)\n    - [Binaries](#binaries)\n    - [Via Go](#via-go)\n- [Usage](#usage)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Installation\n\n#### Binaries\n\nFor installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/apk-file/releases).\n\n#### Via Go\n\n```console\n$ go get github.com/genuinetools/apk-file\n```\n\n## Usage\n\n```console\n$ apk-file posix.so\nFILE                                                       PACKAGE             BRANCH              REPOSITORY          ARCHITECTURE\n/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        edge                main                armhf\n/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        edge                main                armhf\n/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        edge                main                armhf\n/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        edge                main                x86_64\n/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        edge                main                x86_64\n/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        edge                main                x86_64\n/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        edge                main                x86\n/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        edge                main                x86\n/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        edge                main                x86\n/usr/lib/python2.7/site-packages/uptime/_posix.so          py-uptime           edge                testing             armhf\n/usr/lib/python2.7/site-packages/uptime/_posix.so          py-uptime           edge                testing             x86_64\n/usr/lib/python2.7/site-packages/uptime/_posix.so          py-uptime           edge                testing             x86\n/usr/lib/python2.7/site-packages/psutil/_psutil_posix.so   py-psutil           edge                community           armhf\n/usr/lib/python2.7/site-packages/psutil/_psutil_posix.so   py-psutil           edge                community           x86_64\n/usr/lib/python2.7/site-packages/psutil/_psutil_posix.so   py-psutil           edge                community           x86\n/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    edge                main                armhf\n/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    edge                main                armhf\n/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    edge                main                armhf\n/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    edge                main                armhf\n/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    edge                main                armhf\n/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    edge                main                armhf\n/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    edge                main                x86_64\n/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    edge                main                x86_64\n/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    edge                main                x86_64\n/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    edge                main                x86_64\n/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    edge                main                x86_64\n/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    edge                main                x86_64\n/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    edge                main                x86\n/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    edge                main                x86\n/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    edge                main                x86\n/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    edge                main                x86\n/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    edge                main                x86\n/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    edge                main                x86\n/usr/lib/python2.7/site-packages/_psutil_posix.so          py-psutil           v3.3                community           armhf\n/usr/lib/python2.7/site-packages/_psutil_posix.so          py-psutil           v3.3                community           x86_64\n/usr/lib/python2.7/site-packages/_psutil_posix.so          py-psutil           v3.3                community           x86\n/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    v3.3                main                armhf\n/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    v3.3                main                armhf\n/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    v3.3                main                armhf\n/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    v3.3                main                armhf\n/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    v3.3                main                armhf\n/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    v3.3                main                armhf\n/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        v3.3                main                armhf\n/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        v3.3                main                armhf\n/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        v3.3                main                armhf\n/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    v3.3                main                x86_64\n/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    v3.3                main                x86_64\n/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        v3.3                main                x86_64\n/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    v3.3                main                x86_64\n/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    v3.3                main                x86_64\n```\n\n```console\n$ apk-file bin/file\nFILE                                                                  PACKAGE             BRANCH              REPOSITORY          ARCHITECTURE\n/usr/lib/erlang/lib/gs-1.6/examples/ebin/file_dialog.beam             erlang-gs           edge                community           armhf\n/usr/lib/erlang/lib/kernel-4.2/ebin/file.beam                         erlang-kernel       edge                community           armhf\n/usr/lib/erlang/lib/kernel-4.2/ebin/file_io_server.beam               erlang-kernel       edge                community           armhf\n/usr/lib/erlang/lib/kernel-4.2/ebin/file_server.beam                  erlang-kernel       edge                community           armhf\n/usr/lib/erlang/lib/stdlib-2.8/ebin/filelib.beam                      erlang-stdlib       edge                community           armhf\n/usr/lib/erlang/lib/stdlib-2.8/ebin/file_sorter.beam                  erlang-stdlib       edge                community           armhf\n/usr/lib/erlang/lib/stdlib-2.8/ebin/filename.beam                     erlang-stdlib       edge                community           armhf\n/usr/lib/erlang/lib/gs-1.6/examples/ebin/file_dialog.beam             erlang-gs           edge                community           x86\n/usr/lib/erlang/lib/kernel-4.2/ebin/file.beam                         erlang-kernel       edge                community           x86\n/usr/lib/erlang/lib/kernel-4.2/ebin/file_server.beam                  erlang-kernel       edge                community           x86\n/usr/lib/erlang/lib/kernel-4.2/ebin/file_io_server.beam               erlang-kernel       edge                community           x86\n/usr/lib/erlang/lib/stdlib-2.8/ebin/file_sorter.beam                  erlang-stdlib       edge                community           x86\n/usr/lib/erlang/lib/stdlib-2.8/ebin/filename.beam                     erlang-stdlib       edge                community           x86\n/usr/lib/erlang/lib/stdlib-2.8/ebin/filelib.beam                      erlang-stdlib       edge                community           x86\n/usr/lib/erlang/lib/gs-1.6/examples/ebin/file_dialog.beam             erlang-gs           edge                community           x86_64\n/usr/lib/erlang/lib/kernel-4.2/ebin/file.beam                         erlang-kernel       edge                community           x86_64\n/usr/lib/erlang/lib/kernel-4.2/ebin/file_io_server.beam               erlang-kernel       edge                community           x86_64\n/usr/lib/erlang/lib/kernel-4.2/ebin/file_server.beam                  erlang-kernel       edge                community           x86_64\n/usr/lib/erlang/lib/stdlib-2.8/ebin/filename.beam                     erlang-stdlib       edge                community           x86_64\n/usr/lib/erlang/lib/stdlib-2.8/ebin/filelib.beam                      erlang-stdlib       edge                community           x86_64\n/usr/lib/erlang/lib/stdlib-2.8/ebin/file_sorter.beam                  erlang-stdlib       edge                community           x86_64\n/usr/bin/file                                                         file                edge                main                armhf\n/usr/bin/file                                                         file                edge                main                x86_64\n/usr/bin/file                                                         file                edge                main                x86\n/usr/bin/fileinfo                                                     leptonica           edge                testing             armhf\n/usr/lib/erlang/lib/gs-1.5.16/examples/ebin/file_dialog.beam          erlang17-gs         edge                testing             armhf\n/usr/lib/ruby/gems/2.2.0/gems/hoe-3.13.1/template/bin/file_name.erb   ruby-hoe            edge                testing             armhf\n/usr/lib/erlang/lib/stdlib-2.4/ebin/filename.beam                     erlang17-stdlib     edge                testing             armhf\n/usr/lib/erlang/lib/stdlib-2.4/ebin/file_sorter.beam                  erlang17-stdlib     edge                testing             armhf\n/usr/lib/erlang/lib/stdlib-2.4/ebin/filelib.beam                      erlang17-stdlib     edge                testing             armhf\n/usr/lib/erlang/lib/kernel-3.2/ebin/file.beam                         erlang17-kernel     edge                testing             armhf\n/usr/lib/erlang/lib/kernel-3.2/ebin/file_server.beam                  erlang17-kernel     edge                testing             armhf\n/usr/lib/erlang/lib/kernel-3.2/ebin/file_io_server.beam               erlang17-kernel     edge                testing             armhf\n/usr/lib/erlang/lib/kernel-3.2/ebin/file.beam                         erlang17-kernel     edge                testing             x86_64\n/usr/lib/erlang/lib/kernel-3.2/ebin/file_io_server.beam               erlang17-kernel     edge                testing             x86_64\n/usr/lib/erlang/lib/kernel-3.2/ebin/file_server.beam                  erlang17-kernel     edge                testing             x86_64\n/usr/bin/fileinfo                                                     leptonica           edge                testing             x86_64\n/usr/lib/erlang/lib/gs-1.5.16/examples/ebin/file_dialog.beam          erlang17-gs         edge                testing             x86_64\n/usr/lib/erlang/lib/stdlib-2.4/ebin/filename.beam                     erlang17-stdlib     edge                testing             x86_64\n/usr/lib/erlang/lib/stdlib-2.4/ebin/filelib.beam                      erlang17-stdlib     edge                testing             x86_64\n/usr/lib/erlang/lib/stdlib-2.4/ebin/file_sorter.beam                  erlang17-stdlib     edge                testing             x86_64\n/usr/lib/erlang/lib/kernel-3.2/ebin/file.beam                         erlang17-kernel     edge                testing             x86\n/usr/lib/erlang/lib/kernel-3.2/ebin/file_server.beam                  erlang17-kernel     edge                testing             x86\n/usr/lib/erlang/lib/kernel-3.2/ebin/file_io_server.beam               erlang17-kernel     edge                testing             x86\n/usr/bin/fileinfo                                                     leptonica           edge                testing             x86\n/usr/lib/erlang/lib/gs-1.5.16/examples/ebin/file_dialog.beam          erlang17-gs         edge                testing             x86\n/usr/lib/erlang/lib/stdlib-2.4/ebin/file_sorter.beam                  erlang17-stdlib     edge                testing             x86\n/usr/lib/erlang/lib/stdlib-2.4/ebin/filename.beam                     erlang17-stdlib     edge                testing             x86\n/usr/lib/erlang/lib/stdlib-2.4/ebin/filelib.beam                      erlang17-stdlib     edge                testing             x86\n/usr/share/doc/swish-e/examples/prog-bin/file.pl                      swish-e-doc         edge                main                armhf\n```\n","funding_links":[],"categories":["Makefile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenuinetools%2Fapk-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenuinetools%2Fapk-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenuinetools%2Fapk-file/lists"}