dos2unix - convert text file line endings between CRLF and LF

Property Value
Distribution Debian 9 (Stretch)
Repository Debian Main i386
Package filename dos2unix_7.3.4-3_i386.deb
Package name dos2unix
Package version 7.3.4
Package release 3
Package architecture i386
Package type deb
Category implemented-in::c interface::commandline role::program scope::utility text works-with::text
License -
Maintainer Jari Aalto <>
Download size 360.93 KB
Installed size 1.23 MB
This package contains utilities dos2unix, unix2dos, mac2unix,
unix2mac to convert the line endings of text files between UNIX (LF),
DOS (CRLF) and Mac (CR) formats.
Text files under Windows and DOS typically have two ASCII characters
at the end of each line: CR (carriage return) followed by LF (line
feed). Older Macs used just CR, while UNIX uses just LF. While most
modern editors can read all these formats, there may still be a need
to convert files between them.
This is the classic utility developed in 1989.


Package Version Architecture Repository
dos2unix_7.3.4-3_amd64.deb 7.3.4 amd64 Debian Main
dos2unix - - -


Name Value
libc6 >= 2.4


Name Value
tofrodos << 1.7.8.debian.1


Type URL
Binary Package dos2unix_7.3.4-3_i386.deb
Source Package dos2unix

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install dos2unix deb package:
    # sudo apt-get install dos2unix




2016-11-11 - Jari Aalto <>
dos2unix (7.3.4-3) unstable; urgency=medium
* debian/control
- (Multi-Arch): foreign (Closes: #843907). Patch
thanks to Helmut Grohne <>.
* debian/copyright
- Update URLs.
* debian/rules
- Use dh_auto_build(1) instead of make(1) to enable cross building
(Closes: #843923). Patch thanks to Helmut Grohne
2016-10-25 - tony mancill <>
dos2unix (7.3.4-2) unstable; urgency=medium
* debian/control
- (Build-Depends): Add locales-all. (Closes: #842053)
* debian/rules
- (overide_dh_auto_test): Drop adjustment for pbuilder.
2016-10-24 - Jari Aalto <>
dos2unix (7.3.4-1) unstable; urgency=medium
* New upstream release (Closes: 785115).
* debian/control
- (Build-Depends): Add po4a.
- (Homepage): Update URL.
- (Standards-Version): Update to 3.9.8.
- (Vcs-*): Update to
* debian/copyright
- (Source): Update URLs.
* debian/rules
- (overide_dh_auto_test): Add adjustment for pbuilder.
* debian/sources/options
- New file.
2014-01-03 - Jari Aalto <>
dos2unix (6.0.4-1) unstable; urgency=low
* New upstream release.
- GPG signed source package
* debian/control
- (Standards-Version): Update to 3.9.5.
- (Vcs-*): Update to
* debian/source/include-binaries
- New.
* debian/upstream-signing-key.pgp
- New.
* debian/watch
- (pgpsigurlmangle): Add.
2013-01-26 - Jari Aalto <>
dos2unix (6.0.3-1) unstable; urgency=low
* New upstream release.
- Support compiling with Microsoft Visual C.
- Display an error message if writing output fails.
* debian/control
- (Standards-Version): Update to 3.9.4.
* debian/copyright
- Update current year.
2012-09-14 - Jari Aalto <>
dos2unix (6.0.2-1) unstable; urgency=low
* New upstream release.
- The locale encoding detection has been fixed when NLS was disabled.
- Display line number when a binary symbol is found.
- Update makefiles for Watcom C, and added a new one for OS/2.
* debian/clean
- Drop wildcard from dos2unix.htm*, drop Spanish man/es/* line.
* debian/compat
- Update to 9.
* debian/docs
- Clean up for current release.
* debian/control
- (Build-Depends): Add dpkg-dev for hardened flags.
Update to debhelper 9.
* debian/copyright
- Update to Format 1.0
* debian/rules
- Use hardened build flags
- (dh_installdocs): Remove. Not needed after debian/docs clean up.
* debian/watch
- Remove extra comment.
2012-05-07 - Jari Aalto <>
dos2unix (6.0-1) unstable; urgency=low
* New upstream release, see changes:
* debian/changelog
- (override_dh_auto_build): Use LDFLAGS_USER to pass hardening flags.
* debian/watch
- Remove unnneeded comment.
2012-03-23 - Jari Aalto <>
dos2unix (5.3.3-2) unstable; urgency=low
* debian/clean
- Delete Esperanto manual page (unknown locale).
- Don't remove original po/*.pot files.
* debian/control
- (Build-Depends): Rm dpkg-dev; not needed with debhelper 9.
- (Standards-Version): Update to
* debian/rules
- Remove unnecessary targets. Preserve original po/*.pot file.
- Enable all hardening flags.
- Use DEB_*_MAINT_* variables.
2012-03-11 - Jari Aalto <>
dos2unix (5.3.3-1) unstable; urgency=low
* New upstream release.
* debian/clean
- Adjust po and *.html files.
* debian/control
- (Build-Depends): Rm dpkg-dev; not needed with debhelper 9.
- (Standards-Version): Update to
* debian/copyright
- Update to format 1.0.
* debian/docs
- Clean up unnecessary files.
* debian/rules
- Enable all hardening flags.
- Delete; not needed with debhelper 9.

See Also

Package Description
dosage_2.15-2_all.deb comic strip downloader and archiver
dosbox_0.74-4.2+deb9u1_i386.deb x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS
doschk_1.1-6+b2_i386.deb SYSV and DOS filename conflicts check
dose-builddebcheck_5.0.1-8+deb9u1_i386.deb Checks whether build-dependencies can be satisfied
dose-distcheck_5.0.1-8+deb9u1_i386.deb Checks whether dependencies of packages can be satisfied
dose-doc_5.0.1-8+deb9u1_all.deb Documentation for dose tools and libraries
dose-extra_5.0.1-8+deb9u1_i386.deb Extra QA tools from the Dose3-library
dosfstools_4.1-1_i386.deb utilities for making and checking MS-DOS FAT filesystems
dossizola-data_1.0-9_all.deb Data files for Do'SSi Zo'la game
dossizola_1.0-9+b1_i386.deb Isola board game with nice graphics
dot-forward_0.71-2.2_i386.deb reads sendmail's .forward files under qmail
dot2tex_2.9.0-2_all.deb Graphviz to LaTeX converter
dotlrn_2.5.0+dfsg2-1_all.deb e-learning portal system based on OpenACS
dotmcp_0.2.2-14_i386.deb mcp for s3d
doublecmd-common_0.7.7-1_all.deb twin-panel (commander-style) file manager