Translation(s): none

The Debian /usr Merge

This page tracks Debian support for the merged /usr directories scheme, i.e. the /{bin,sbin,lib}/ directories becoming symbolic links to /usr/{bin,sbin,lib}/.

The usrmerge package will convert the system it is installed on.


For more information, please refer to the usrmerge package FAQ, another highly recommended read is <>

Is this about merging /usr/bin/ and /usr/sbin/?

No, there are no plans to do that.

Will switching to a merged /usr be mandatory?

It does not need to be, but some other Linux distributions have done it.


Resources for developers

Conflicting files

Packages which provide compatibility symlinks must manage them in the maintainer scripts.

The packages currently in the archive use code like:

# postinst
if [ "$1" = 'configure' -a ! -e '/usr/bin/which' ]; then
  ln -s /bin/which /usr/bin/which

# postrm
if [ "$1" = 'remove' -a -L '/usr/bin/which' ]; then
  rm /usr/bin/which

Adoption rate

Merged /usr has been the default since debootstrap 1.0.85, reverted in 1.0.87 and re-enabled in 1.0.102.

See popcon for upgrades of older systems.

See also