How to Install and Uninstall ruby-posix-spawn Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "ruby-posix-spawn" package

This guide covers the steps necessary to install ruby-posix-spawn on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "ruby-posix-spawn" package

Please follow the step by step instructions below to uninstall ruby-posix-spawn on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-posix-spawn package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-posix-spawn
Priority: optional
Section: universe/ruby
Installed-Size: 82
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: amd64
Version: 0.3.11-1build2
Depends: libc6 (>= 2.15), libruby2.3 (>= 2.3.0~preview2), ruby (>= 1:2.3~0)
Filename: pool/universe/r/ruby-posix-spawn/ruby-posix-spawn_0.3.11-1build2_amd64.deb
Size: 24408
MD5sum: 4029a46e4487986923359ad1dd9a2375
SHA1: 8743aaa52fd6ea3d11aad6515e4348d9fab14327
SHA256: 9f84b6e3e4193acf9a659290ed74dafde21d54602f1f762a988b4db02393f3cd
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
Homepage: http://github.com/rtomayko/posix-spawn
Ruby-Versions: ruby2.3
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu