This is the command dpkg-name 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
dpkg-name - rename Debian packages to full package names
dpkg-name [option...] [--] file...
This manual page documents the dpkg-name program which provides an easy way to rename
Debian packages into their full package names. A full package name consists of
package_version_architecture.package-type as specified in the control file of the package.
The version part of the filename consists of the upstream version information optionally
followed by a hyphen and the revision information. The package-type part comes from that
field if present or fallbacks to deb.
The destination filename will not have the architecture information.
Create a symlink, instead of moving.
Existing files will be overwritten if they have the same name as the destination
-s, --subdir [dir]
Files will be moved into a subdirectory. If the directory given as argument exists
the files will be moved into that directory otherwise the name of the target
directory is extracted from the section field in the control part of the package.
The target directory will be «unstable/binary-architecture/section». If the
section is not found in the control, then no-section is assumed, and in this case,
as well as for sections non-free and contrib the target directory is
«section/binary-architecture». The section field is not required so a lot of
packages will find their way to the no-section area. Use this option with care,
This option can used together with the -s option. If a target directory isn't found
it will be created automatically. Use this option with care.
Show the usage message and exit.
Show the version and exit.
Use dpkg-name online using onworks.net services