Skip to content

genuinetools/apk-file

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Signed-off-by: Jess Frazelle <jess@oxide.computer>
10b5e5f

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 20, 2019 05:21
June 9, 2017 13:15
September 25, 2018 05:52
July 15, 2018 16:30
December 28, 2018 22:17
September 17, 2020 13:04
September 25, 2018 10:02
September 17, 2020 13:04
November 19, 2019 21:34
November 19, 2019 21:20
November 19, 2019 21:33
September 25, 2018 10:02
September 25, 2018 05:55
February 26, 2018 11:01

apk-file

make-all make-image GoDoc Github All Releases

Search apk packages via the command line.

Basically apt-file but for alpine.

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/apk-file

Usage

$ apk-file posix.so
FILE                                                       PACKAGE             BRANCH              REPOSITORY          ARCHITECTURE
/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        edge                main                armhf
/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        edge                main                armhf
/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        edge                main                armhf
/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        edge                main                x86_64
/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        edge                main                x86_64
/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        edge                main                x86_64
/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        edge                main                x86
/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        edge                main                x86
/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        edge                main                x86
/usr/lib/python2.7/site-packages/uptime/_posix.so          py-uptime           edge                testing             armhf
/usr/lib/python2.7/site-packages/uptime/_posix.so          py-uptime           edge                testing             x86_64
/usr/lib/python2.7/site-packages/uptime/_posix.so          py-uptime           edge                testing             x86
/usr/lib/python2.7/site-packages/psutil/_psutil_posix.so   py-psutil           edge                community           armhf
/usr/lib/python2.7/site-packages/psutil/_psutil_posix.so   py-psutil           edge                community           x86_64
/usr/lib/python2.7/site-packages/psutil/_psutil_posix.so   py-psutil           edge                community           x86
/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    edge                main                armhf
/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    edge                main                armhf
/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    edge                main                armhf
/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    edge                main                armhf
/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    edge                main                armhf
/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    edge                main                armhf
/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    edge                main                x86_64
/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    edge                main                x86_64
/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    edge                main                x86_64
/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    edge                main                x86_64
/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    edge                main                x86_64
/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    edge                main                x86_64
/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    edge                main                x86
/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    edge                main                x86
/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    edge                main                x86
/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    edge                main                x86
/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    edge                main                x86
/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    edge                main                x86
/usr/lib/python2.7/site-packages/_psutil_posix.so          py-psutil           v3.3                community           armhf
/usr/lib/python2.7/site-packages/_psutil_posix.so          py-psutil           v3.3                community           x86_64
/usr/lib/python2.7/site-packages/_psutil_posix.so          py-psutil           v3.3                community           x86
/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    v3.3                main                armhf
/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    v3.3                main                armhf
/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    v3.3                main                armhf
/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    v3.3                main                armhf
/usr/lib/lua/5.1/rex_posix.so                              lua5.1-rex-posix    v3.3                main                armhf
/usr/lib/lua/5.1/rex_posix.so.2.8                          lua5.1-rex-posix    v3.3                main                armhf
/usr/lib/lua/5.1/posix.so                                  lua5.1-posix        v3.3                main                armhf
/usr/lib/lua/5.2/posix.so                                  lua5.2-posix        v3.3                main                armhf
/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        v3.3                main                armhf
/usr/lib/lua/5.2/rex_posix.so                              lua5.2-rex-posix    v3.3                main                x86_64
/usr/lib/lua/5.2/rex_posix.so.2.8                          lua5.2-rex-posix    v3.3                main                x86_64
/usr/lib/lua/5.3/posix.so                                  lua5.3-posix        v3.3                main                x86_64
/usr/lib/lua/5.3/rex_posix.so                              lua5.3-rex-posix    v3.3                main                x86_64
/usr/lib/lua/5.3/rex_posix.so.2.8                          lua5.3-rex-posix    v3.3                main                x86_64
$ apk-file bin/file
FILE                                                                  PACKAGE             BRANCH              REPOSITORY          ARCHITECTURE
/usr/lib/erlang/lib/gs-1.6/examples/ebin/file_dialog.beam             erlang-gs           edge                community           armhf
/usr/lib/erlang/lib/kernel-4.2/ebin/file.beam                         erlang-kernel       edge                community           armhf
/usr/lib/erlang/lib/kernel-4.2/ebin/file_io_server.beam               erlang-kernel       edge                community           armhf
/usr/lib/erlang/lib/kernel-4.2/ebin/file_server.beam                  erlang-kernel       edge                community           armhf
/usr/lib/erlang/lib/stdlib-2.8/ebin/filelib.beam                      erlang-stdlib       edge                community           armhf
/usr/lib/erlang/lib/stdlib-2.8/ebin/file_sorter.beam                  erlang-stdlib       edge                community           armhf
/usr/lib/erlang/lib/stdlib-2.8/ebin/filename.beam                     erlang-stdlib       edge                community           armhf
/usr/lib/erlang/lib/gs-1.6/examples/ebin/file_dialog.beam             erlang-gs           edge                community           x86
/usr/lib/erlang/lib/kernel-4.2/ebin/file.beam                         erlang-kernel       edge                community           x86
/usr/lib/erlang/lib/kernel-4.2/ebin/file_server.beam                  erlang-kernel       edge                community           x86
/usr/lib/erlang/lib/kernel-4.2/ebin/file_io_server.beam               erlang-kernel       edge                community           x86
/usr/lib/erlang/lib/stdlib-2.8/ebin/file_sorter.beam                  erlang-stdlib       edge                community           x86
/usr/lib/erlang/lib/stdlib-2.8/ebin/filename.beam                     erlang-stdlib       edge                community           x86
/usr/lib/erlang/lib/stdlib-2.8/ebin/filelib.beam                      erlang-stdlib       edge                community           x86
/usr/lib/erlang/lib/gs-1.6/examples/ebin/file_dialog.beam             erlang-gs           edge                community           x86_64
/usr/lib/erlang/lib/kernel-4.2/ebin/file.beam                         erlang-kernel       edge                community           x86_64
/usr/lib/erlang/lib/kernel-4.2/ebin/file_io_server.beam               erlang-kernel       edge                community           x86_64
/usr/lib/erlang/lib/kernel-4.2/ebin/file_server.beam                  erlang-kernel       edge                community           x86_64
/usr/lib/erlang/lib/stdlib-2.8/ebin/filename.beam                     erlang-stdlib       edge                community           x86_64
/usr/lib/erlang/lib/stdlib-2.8/ebin/filelib.beam                      erlang-stdlib       edge                community           x86_64
/usr/lib/erlang/lib/stdlib-2.8/ebin/file_sorter.beam                  erlang-stdlib       edge                community           x86_64
/usr/bin/file                                                         file                edge                main                armhf
/usr/bin/file                                                         file                edge                main                x86_64
/usr/bin/file                                                         file                edge                main                x86
/usr/bin/fileinfo                                                     leptonica           edge                testing             armhf
/usr/lib/erlang/lib/gs-1.5.16/examples/ebin/file_dialog.beam          erlang17-gs         edge                testing             armhf
/usr/lib/ruby/gems/2.2.0/gems/hoe-3.13.1/template/bin/file_name.erb   ruby-hoe            edge                testing             armhf
/usr/lib/erlang/lib/stdlib-2.4/ebin/filename.beam                     erlang17-stdlib     edge                testing             armhf
/usr/lib/erlang/lib/stdlib-2.4/ebin/file_sorter.beam                  erlang17-stdlib     edge                testing             armhf
/usr/lib/erlang/lib/stdlib-2.4/ebin/filelib.beam                      erlang17-stdlib     edge                testing             armhf
/usr/lib/erlang/lib/kernel-3.2/ebin/file.beam                         erlang17-kernel     edge                testing             armhf
/usr/lib/erlang/lib/kernel-3.2/ebin/file_server.beam                  erlang17-kernel     edge                testing             armhf
/usr/lib/erlang/lib/kernel-3.2/ebin/file_io_server.beam               erlang17-kernel     edge                testing             armhf
/usr/lib/erlang/lib/kernel-3.2/ebin/file.beam                         erlang17-kernel     edge                testing             x86_64
/usr/lib/erlang/lib/kernel-3.2/ebin/file_io_server.beam               erlang17-kernel     edge                testing             x86_64
/usr/lib/erlang/lib/kernel-3.2/ebin/file_server.beam                  erlang17-kernel     edge                testing             x86_64
/usr/bin/fileinfo                                                     leptonica           edge                testing             x86_64
/usr/lib/erlang/lib/gs-1.5.16/examples/ebin/file_dialog.beam          erlang17-gs         edge                testing             x86_64
/usr/lib/erlang/lib/stdlib-2.4/ebin/filename.beam                     erlang17-stdlib     edge                testing             x86_64
/usr/lib/erlang/lib/stdlib-2.4/ebin/filelib.beam                      erlang17-stdlib     edge                testing             x86_64
/usr/lib/erlang/lib/stdlib-2.4/ebin/file_sorter.beam                  erlang17-stdlib     edge                testing             x86_64
/usr/lib/erlang/lib/kernel-3.2/ebin/file.beam                         erlang17-kernel     edge                testing             x86
/usr/lib/erlang/lib/kernel-3.2/ebin/file_server.beam                  erlang17-kernel     edge                testing             x86
/usr/lib/erlang/lib/kernel-3.2/ebin/file_io_server.beam               erlang17-kernel     edge                testing             x86
/usr/bin/fileinfo                                                     leptonica           edge                testing             x86
/usr/lib/erlang/lib/gs-1.5.16/examples/ebin/file_dialog.beam          erlang17-gs         edge                testing             x86
/usr/lib/erlang/lib/stdlib-2.4/ebin/file_sorter.beam                  erlang17-stdlib     edge                testing             x86
/usr/lib/erlang/lib/stdlib-2.4/ebin/filename.beam                     erlang17-stdlib     edge                testing             x86
/usr/lib/erlang/lib/stdlib-2.4/ebin/filelib.beam                      erlang17-stdlib     edge                testing             x86
/usr/share/doc/swish-e/examples/prog-bin/file.pl                      swish-e-doc         edge                main                armhf