OS Manuals

/usr/bin/dpkg-name

headers for dpkg

From dpkg-dev 1.23.11-r3 (os), captured 2026-11-05 by running dpkg-name --help (exit 0). permalink

Usage: dpkg-name [<option>...] <file>...

Options:
  -a, --no-architecture
          No architecture part in filename.
  -o, --overwrite
          Overwrite if file exists.
  -k, --symlink
          Do not create a new file, but a symlink.
  -s, --subdir [<dir>]
          Move file into subdirectory (use with care).
  -c, --create-dir
          Create target directory if not there (use with care).
  -?, --help
          Show this help message.
  -v, --version
          Show the version.

file.deb changes to <package>_<version>_<architecture>.<package_type>
according to the 'underscores convention'.
Options (7)
OptionDescriptionSource
-a, --no-architectureThe destination filename will not have the architecture information.help + man
-o, --overwriteExisting files will be overwritten if they have the same name as the destination filename.help + man
-k, --symlinkDo not create a new file, but a symlink.help + man
-s, --subdir dirMove file into subdirectory (use with care).help
-c, --create-dirCreate target directory if not there (use with care).help + man
-?, --helpShow the usage message and exit.help + man
-v, --versionShow the version and exit.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.