How to Install and Uninstall websocketd Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 16,2024

1. Install "websocketd" package

Here is a brief guide to show you how to install websocketd on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install websocketd

2. Uninstall "websocketd" package

Here is a brief guide to show you how to uninstall websocketd on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the websocketd package on Ubuntu 20.10 (Groovy Gorilla)

Package: websocketd
Architecture: amd64
Version: 0.3.1-3build1
Built-Using: golang-1.14 (= 1.14.7-2ubuntu1), golang-github-gorilla-websocket (= 1.4.1-2)
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Josue Ortega
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6307
Depends: libc6 (>= 2.32)
Filename: pool/universe/w/websocketd/websocketd_0.3.1-3build1_amd64.deb
Size: 2046872
MD5sum: 061c9e1c035fc7acbae1def03007b2b7
SHA1: 63c957d417404acc9c685733bdd73c39340ba578
SHA256: c72025ed3ddada7f0f2cdb13d7357675c7d22736da6e22cf28aa55630efbd360
SHA512: 0dab82460978d42c58fa14b44f6125d7fcce0f28aca3386dffcb1a53b0cacfdf5fd1490b8ee182e3a87bbb9dc17126c901d24e45477ddd518a8802c6e5dda42d
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