dos2unix - convert text file line endings between CRLF and LF

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main amd64
Package filename dos2unix_7.4.0-1_amd64.deb
Package name dos2unix
Package version 7.4.0
Package release 1
Package architecture amd64
Package type deb
Category implemented-in::c interface::commandline role::program scope::utility text works-with::text
License -
Maintainer Jari Aalto <>
Download size 381.69 KB
Installed size 1.28 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.4.0-1_i386.deb 7.4.0 i386 Debian Main
dos2unix - - -


Name Value
libc6 >= 2.4


Type URL
Binary Package dos2unix_7.4.0-1_amd64.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




2018-04-22 - tony mancill <>
dos2unix (7.4.0-1) unstable; urgency=medium
* New upstream version 7.4.0
* Update Vcs fields for migration from Alioth -> Salsa
* Migrate upstream-signing-key.pgp -> debian/upstream/signing-key.asc
* Change Section: from extra -> optional
* Use debhelper 11
* Bump Standards-Version to 4.1.4
* Drop Conflicts with ancient version of tofrodos (older than o-o-stable)
* Freshen debian/copyright dates
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.

See Also

Package Description
dosage_2.15-2_all.deb comic strip downloader and archiver
dosbox-debug_0.74-2-3_amd64.deb x86 emulator with DOS - debugger
dosbox_0.74-2-3_amd64.deb x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS
doschk_1.1-7_amd64.deb SYSV and DOS filename conflicts check
dose-builddebcheck_5.0.1-12_amd64.deb Checks whether build-dependencies can be satisfied
dose-distcheck_5.0.1-12_amd64.deb Checks whether dependencies of packages can be satisfied
dose-doc_5.0.1-12_all.deb Documentation for dose tools and libraries
dose-extra_5.0.1-12_amd64.deb Extra QA tools from the Dose3-library
dosfstools_4.1-2_amd64.deb utilities for making and checking MS-DOS FAT filesystems
dossizola-data_1.0-10_all.deb Data files for Do'SSi Zo'la game
dossizola_1.0-10_amd64.deb Isola board game with nice graphics
dot-forward_0.71-5_amd64.deb reads sendmail's .forward files under qmail
dot2tex_2.9.0-3_all.deb Graphviz to LaTeX converter
dotmcp_0.2.2-16_amd64.deb mcp for s3d
dotter_4.44.1+dfsg-3_amd64.deb detailed comparison of two genomic sequences