How to Install and Uninstall ruby-posix-spawn Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "ruby-posix-spawn" package

Here is a brief guide to show you how to install ruby-posix-spawn on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-posix-spawn

2. Uninstall "ruby-posix-spawn" package

Learn how to uninstall ruby-posix-spawn on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ruby-posix-spawn $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-posix-spawn package on Ubuntu 21.10 (Impish Indri)

Package: ruby-posix-spawn
Architecture: amd64
Version: 0.3.13-3
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 87
Depends: ruby (>= 1:2.7~0), libc6 (>= 2.15), libruby2.7 (>= 2.7.0), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-posix-spawn/ruby-posix-spawn_0.3.13-3_amd64.deb
Size: 24192
MD5sum: dca6f602120725ae27b480ff7b45aa76
SHA1: 10405126a635e09c41012b75b4fcd0a52cca4e8f
SHA256: 41faaddbe3bbb7eadea9b88ddfed1cc09b49604422c817f723054bf7eca00d24
SHA512: 187c45b2a4827c7de7b54fcfc18b459de1b030af396dadcbdbb89a4a7ab859b27c39ec2cc87368ff3261b6ac18d500e68bf6bbb61634e6d50580ee566a63df23
Homepage: https://github.com/rtomayko/posix-spawn
Description-en: Ruby Implementation of posix_spawn(2) for faster process spawning
The posix-spawn library aims to implement a subset of the Ruby 1.9
`Process::spawn` interface in a way that takes advantage of fast
process spawning interfaces when available and provides sane fallbacks
on systems that do not.
.
`fork(2)` calls slow down as the parent process uses more memory due to
the need to copy page tables. In many common uses of fork(), where it
is followed by one of the exec family of functions to spawn child
processes (`Kernel#system`,`IO::popen`, `Process::spawn`, etc.), it's
possible to remove this overhead by using the use of special process
spawning interfaces (`posix_spawn()`, `vfork()`, etc.)
Description-md5: 668d69936c9b23f0aa17b20e73cc51d0
Ruby-Versions: ruby2.7