[clug] GNUstep

Bryan Kilgallin (iiNet) kilgallin at iinet.net.au
Sat Sep 9 10:51:17 UTC 2017


Hi Stephen:

> A cursory google yielded this -
> 
> |apt-file search /path/to/file
> 
> |
> 
> |to find out what package installs a file.

I used Ubuntu Files to find gworkspace.app. Then I pointed a Terminal 
session into the directory where it was. But I don't understand the 
response!

{
apt-file gworkspace.app

apt-file [options] action [pattern]
apt-file [options] -f action <file>
apt-file [options] -D action <debfile>

Configuration options:
     --architecture     -a  <arch>       Use specific architecture
     --cache            -c  <dir>        Cache directory
     --cdrom-mount      -d  <cdrom>      Use specific cdrom mountpoint
     --dummy            -y               run in dummy mode (no action)
     --fixed-string     -F               Do not expand pattern
     --from-deb         -D               Use file list of .deb package(s) as
                                         patterns; implies -F
     --from-file        -f               Read patterns from file(s), one 
per line
                                         (use '-' for stdin)
     --ignore-case      -i               Ignore case distinctions
     --non-interactive  -N               Skip schemes requiring user input
                                         (useful in cron jobs)
     --package-only     -l               Only display packages name
     --regexp           -x               pattern is a regular expression
     --sources-list     -s  <file>       sources.list location
     --verbose          -v               run in verbose mode
     --help             -h               Show this help.
                        --               End of options (neccessary if 
pattern
                                         starts with a '-')

Action:
     update                              Fetch Contents files from 
apt-sources.
     search|find        <pattern>        Search files in packages
     list|show          <pattern>        List files in packages
     purge                               Remove cache files
}

Similarly Ubuntu Files found the location of wmaker-common. So I pointed 
a Terminal session there. The following resulted.

{
lightdm-gtk-greeter: 
/usr/share/icons/hicolor/scalable/places/wmaker-common_badge-symbolic.svg
unity-greeter-badges: 
/usr/share/unity-greeter/custom_wmaker-common_badge.png
wmaker-common: /usr/share/doc/wmaker-common/AUTHORS.gz
wmaker-common: /usr/share/doc/wmaker-common/BUGFORM
wmaker-common: /usr/share/doc/wmaker-common/BUGS
wmaker-common: /usr/share/doc/wmaker-common/DebianLegacy.txt
wmaker-common: /usr/share/doc/wmaker-common/FAQ.gz
wmaker-common: /usr/share/doc/wmaker-common/NEWS.gz
wmaker-common: /usr/share/doc/wmaker-common/README.gz
wmaker-common: /usr/share/doc/wmaker-common/TODO
wmaker-common: /usr/share/doc/wmaker-common/changelog.Debian.gz
wmaker-common: /usr/share/doc/wmaker-common/copyright
wmaker-common: /usr/share/doc/wmaker-common/wm-oldmenu2new.gz
wmaker-common: /usr/share/lintian/overrides/wmaker-common
wmaker-common: /usr/share/xsessions/wmaker-common.desktop
}
-- 
www.netspeed.com.au/bryan/



More information about the linux mailing list