How to Install and Uninstall trinity Package on Ubuntu 21.10 (Impish Indri)

Last updated: September 20,2024

1. Install "trinity" package

This guide covers the steps necessary to install trinity on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install trinity

2. Uninstall "trinity" package

Please follow the guidance below to uninstall trinity on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove trinity $ sudo apt autoclean && sudo apt autoremove

3. Information about the trinity package on Ubuntu 21.10 (Impish Indri)

Package: trinity
Architecture: amd64
Version: 1.9+git20200331.4d2343bd18c7b-2
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: gustavo panizzo
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10291
Depends: libc6 (>= 2.27)
Filename: pool/universe/t/trinity/trinity_1.9+git20200331.4d2343bd18c7b-2_amd64.deb
Size: 146628
MD5sum: 3defe7eaf27a56250237a930340fa706
SHA1: 2aaf1ca5e13ad304a21015dd2216f72a586e20f7
SHA256: fd400f201925152cc57c23195a4be3de50cba4e447c7a80fe69d355a33da00a1
SHA512: 43ee4309c382f6dac8c498915cce323b2d6af818ab1855216020d63be20ce5ce9b05dc60ebc3d572a1b58556eed3ef8181cad30d5e2b2b440368b16a0b24ea32
Homepage: http://codemonkey.org.uk/projects/trinity/
Description-en: system call fuzz tester
As 'fuzz testing' suggests, trinity calls syscalls at random, with random
arguments. Where Trinity differs is that the arguments it passes are not
purely random.
.
If a syscall took, for example, a file descriptor as an argument,
one of the first things kernels does is validate that fd, if is not valid the
kernel would just reject it as -EINVAL.
.
So on startup, Trinity creates a list of file descriptors, by opening pipes,
scanning sysfs, procfs, /dev, and creates a bunch of sockets using random
network protocols. Then when a syscall needs an fd, it gets passed one of
these at random.
.
Trinity also shares those file descriptors between multiple threads, which
causes havoc sometimes.
.
Warning: This program may seriously corrupt your files, including any of those
that may be writable on mounted network file shares. It may create network
packets that may cause disruption on your local network.
Run at your own risk.
Description-md5: 0b66b5bef215d4a2e96be23a7eddb2e0