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

Last updated: November 22,2024

1. Install "websocketd" package

Please follow the guidance below to install websocketd on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install websocketd

2. Uninstall "websocketd" package

Please follow the step by step instructions below to uninstall websocketd on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove websocketd $ sudo apt autoclean && sudo apt autoremove

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

Package: websocketd
Architecture: amd64
Version: 0.4.1-1
Built-Using: golang-1.15 (= 1.15.4-1ubuntu2), golang-github-gorilla-websocket (= 1.4.2-1)
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Josue Ortega
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5568
Depends: libc6 (>= 2.32)
Filename: pool/universe/w/websocketd/websocketd_0.4.1-1_amd64.deb
Size: 1766532
MD5sum: a69e17d952ee24c7a90ab05fddcaa51d
SHA1: 1dd33bac58f6380f22af473702e0d85670dc3435
SHA256: 9c97deea14dcfa547052f93c22dbda6053c065a6125cef96660443e376637788
SHA512: 1feb6a939b52f01fe6182d224188e4a288e8a92199f497ab63901181eb9ca4e17a957aaeef6236c81b94381ca7dcf0cbcddeea669c1d5baab3feeb981c0f79cf
Homepage: https://github.com/joewalnes/websocketd
Description-en: Turn any program that uses STDIN/STDOUT into a WebSocket server
websocketd is a small command-line tool that will wrap an existing
command-line interface program, and allow it to be accessed
via a WebSocket.
.
WebSocket-capable applications can now be built very easily. As long as
you can write an executable program that reads STDIN and writes to STDOUT,
you can build a WebSocket server. Do it in Python, Ruby, Perl, Bash,
C, Go, PHP, Java, Clojure, Scala, Groovy, Expect, Awk, VBScript,
Haskell, Lua, R, whatever! No networking libraries necessary.
.
websocketd will start a WebSocket server on a specified port, and listen
for connections.
.
Upon a connection, it will fork the appropriate process, and disconnect
the process when the WebSocket connection closes (and vice-versa).
.
Any message sent from the WebSocket client will be piped to the process's
STDIN stream, followed by a \n newline.
Description-md5: 620d413bb1790a3a32cd9f3ee383a922