EnglishFrenchSpanish

Ad


OnWorks favicon

dlocate - Online in the Cloud

Run dlocate in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dlocate that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dlocate - program to view debian package information

SYNOPSIS


dlocate [OPTIONS] [command] [ package... | PATTERN...]

DESCRIPTION


dlocate is a fast alternative to dpkg for queries like `dpkg -L' and `dpkg -S'

COMMANDS


(none) List all records where either the package name or the filename matches PATTERN.

Note that dlocate uses GNU grep, so normal regexp metacharacters need to be taken
into account or avoided by using the '-F' (Fixed String) grep option.

For example, to search for `/usr/bin/[', you might try: dlocate '/usr/bin/\[' or
dlocate -F '/usr/bin/['

-S List all records where only the filename matches PATTERN.

Note that dlocate uses GNU grep, so normal regexp metacharacters need to be taken
into account. Fixed String searches are incompatible with -S.

For example, to search for `/usr/bin/[', you need to type:

dlocate '/usr/bin/\['

-l Regexp-enhanced emulation of `dpkg -l'. Shows all packages which match package.

Internally this uses grep on a file containing the reformatted output of 'dpkg -l'
(four fields separated by tabs; status, package-name, installed version, short
description) so it will return packages whose version or short description matches,
too.

Various flavours of regular expression are supported. For example, Extended Regexp:

dlocate -l '^..[[:space:]]libc6'

or Perl Regexp:

dlocate -P -l '^..\slibc6'

Both of these will list all the packages whose names start with `libc6'.

Note that because of the difference between regular expressions and dpkg's
shell-style pattern matching, the output from dlocate -l is occasionally different
to the output from dpkg -l.

This is not a bug, regular expressions are far more flexible than shell pattern
matching. This is the way dlocate is supposed to run, but it may require some
knowledge of regular expressions to get the output you want.

-k List package names of installed kernels and all related packages

-K Detailed list of installed kernels and all related packages

-L List all files in package.

-s Print status of package.

-ls `ls -ldF' of all files in package.

-lsconf
`ls -ldF' of conffiles in package.

-conf List conffiles in package.

-du `du -sck' of all files in package.

-md5sum
List md5sums (if any) of package.

-md5check
Check md5sums (if any) of package.

-man List man pages (if any) in package.

-lsman List full path/filenames of man pages (if any) in package.

-lsbin List full path/filenames of executable files (if any) in package.

OPTIONS


--filename-only
Only output file names when searching for files

--package-only
Only output package names when searching for files

-w, --word-regexp
Select only those lines containing matches that form whole words. The test is that
the matching substring must either be at the beginning of the line, or preceded by
a non-word constituent character. Similarly, it must be either at the end of the
line or followed by a non-word constituent character. Word-constituent characters
are letters, digits, and the underscore.

-i, --ignore-case
Ignore case distinctions in the PATTERN

-E, --extended-regexp
Interpret PATTERN as an extended regular expression. This is the default.

-F, --fixed-strings
Interpret PATTERN as a list of fixed strings, separated by newlines, any of which
is to be matched.

-G, --basic-regexp
Interpret PATTERN as a basic regular expression.

-P, --perl-regexp
Interpret PATTERN as a Perl regular expression. This is considered to be highly
experimental within GNU grep and may warn of unimplemented features.

-h, -H, --help
Produces a short help message and exits.

-V, --version
Display dlocate's version number and exit.

-v, --verbose, --debug
Produce verbose debugging output

Use dlocate online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    CalcTools
    CalcTools
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 2
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Windows...
    Download Rocket.Chat Desktop Client
  • 3
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 4
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 5
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 6
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • More »

Linux commands

Ad