How To Install Tsort On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
tsort
Maintainer: Michael Stone
Email: [email protected] .
Website: https://gnu.org/software/coreutils
Section: utils
Install tsort
-
Debian
apt-get install coreutilsClick to copy -
Ubuntu
apt-get install coreutilsClick to copy -
Alpine OS
apk add coreutilsClick to copy -
Arch Linux
pacman -S coreutilsClick to copy -
Kali Linux
apt-get install coreutilsClick to copy -
CentOS
yum install coreutilsClick to copy -
Fedora
dnf install coreutilsClick to copy -
Raspbian
apt-get install coreutilsClick to copy -
macOS
brew install coreutilsClick to copy
Perform a topological sort. A common use is to show the dependency order of nodes in a directed acyclic graph.
How to use tsort?
Below are few example commands for tsort that you can use in the terminal.
Perform a topological sort consistent with a partial sort per line of input separated by blanks:tsort fileClick to copy
To install the latest version of tsort in your favorite operating system just copy the tsort installation command from above and paste it into terminal. It will download and install the latest version of tsort 2026 package in your OS.




