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

Last updated: November 22,2024

1. Install "websockify" package

In this section, we are going to explain the necessary steps to install websockify on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install websockify

2. Uninstall "websockify" package

In this section, we are going to explain the necessary steps to uninstall websockify on Ubuntu 21.10 (Impish Indri):

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

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

Package: websockify
Architecture: amd64
Version: 0.9.0+dfsg1-3
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 87
Depends: python3-jwcrypto, python3-numpy, python3-websockify (>= 0.9.0+dfsg1-3), python3 (<< 3.10), python3 (>= 3.9~), libc6 (>= 2.4)
Filename: pool/universe/w/websockify/websockify_0.9.0+dfsg1-3_amd64.deb
Size: 25080
MD5sum: f458e9f28677ef3f1cdad78d5cfdaa16
SHA1: 74078d6253ebfd52f222abee8ce6668c09047ba5
SHA256: 36b0d20b696c2fa6487d93906ee5a1c21424959ccdc355a147117c0460b1c70e
SHA512: 9752b133303e717bf9cd22d15468cfd121597d608bb604d9b94bf64627882dc43aaf4307f2aadb950868c8bbd90d28bf632875867132baeb89dac8c75117625d
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