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

Last updated: May 16,2024

1. Install "websockify" package

Learn how to install websockify on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install websockify

2. Uninstall "websockify" package

This guide let you learn how to uninstall websockify on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove websockify $ sudo apt autoclean && sudo apt autoremove

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

Package: websockify
Architecture: amd64
Version: 0.9.0-0ubuntu2
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Depends: python3-numpy, python3-websockify (>= 0.9.0-0ubuntu2), python3 (<< 3.9), python3 (>= 3.8~), libc6 (>= 2.4)
Filename: pool/universe/w/websockify/websockify_0.9.0-0ubuntu2_amd64.deb
Size: 18116
MD5sum: 439486a6c51722698729246d276a6131
SHA1: b3d571dd8c2cd0d1d5ef961478de7c3a95de2901
SHA256: 95f33a9ae3a00d6f8a842e371cb3522131a20e82b8350c55b8d3c3f7bbed3582
SHA512: 8a9f4f9e57828e480c20134ff1a3a7562fa7ed5a22d36ae93f1d1e2eac3f2d1153adaf111915c2b055a70dbc646b615ecd729728d3c9e52e1154a16fb00f535d
Homepage: https://pypi.python.org/pypi/websockify
Description-en: WebSockets support for any application/server
websockify was formerly named wsproxy and was part of the noVNC project.
.
At the most basic level, websockify just translates WebSockets traffic to
normal socket traffic. Websockify accepts the WebSockets handshake, parses it,
and then begins forwarding traffic between the client and the target in both
directions.
.
Websockify supports all versions of the WebSockets protocol (Hixie and HyBi).
The older Hixie versions of the protocol only support UTF-8 text payloads. In
order to transport binary data over UTF-8 an encoding must used to encapsulate
the data within UTF-8.
.
With Hixie clients, Websockify uses base64 to encode all traffic to and from
the client. This does not affect the data between websockify and the server.
.
With HyBi clients, websockify negotiates whether to base64 encode traffic to
and from the client via the subprotocol header (Sec-WebSocket-Protocol). The
valid subprotocol values are 'binary' and 'base64' and if the client sends
both then the server (the Python implementation) will prefer 'binary'. The
'binary' subprotocol indicates that the data will be sent raw using binary
WebSocket frames. Some HyBi clients (such as the Flash fallback and older
Chrome and iOS versions) do not support binary data which is why the
negotiation is necessary.
Description-md5: 337cbf4b14d9c875bd13ec09c109dd7e