Run a command with options in a specific chroot

schroot

  • Run command or start an interactive shell with a different root directory. More customizable than `chroot`.
    More information: <https://wiki.debian.org/Schroot>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

schroot --chroot {{chroot}} {{command}} -- {{command_options}}

click the source code to copy install schroot on any operating system with command-not-found.com