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

Last updated: November 07,2024

1. Install "python3-websockify" package

Please follow the step by step instructions below to install python3-websockify on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-websockify

2. Uninstall "python3-websockify" package

This tutorial shows how to uninstall python3-websockify on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-websockify
Architecture: amd64
Version: 0.9.0+dfsg1-3
Priority: optional
Section: python
Source: websockify
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 175
Depends: python3-numpy, python3-pkg-resources, python3:any
Breaks: websockify (<< 0.8.0+dfsg1-14~)
Replaces: websockify (<< 0.8.0+dfsg1-14~)
Filename: pool/main/w/websockify/python3-websockify_0.9.0+dfsg1-3_amd64.deb
Size: 42200
MD5sum: a42232162b75a09f16662e0d4e2cc576
SHA1: 91173a2ae46718e303b43aa92d78b7779d160a4d
SHA256: 19e35b29ab09996ae4f1b44cf6e08eeff3656b56ecf8b5f01777b6708914c907
SHA512: 599ccdd99ec8078dbf4b31fd53ce9374bfb1c5dd1d909e8d4d245fa0febda9c6a2142b7e7bc11c75bdbe281b99cc27d07bb366676013aa6a60f50f22a608bd2e
Homepage: https://pypi.python.org/pypi/websockify
Description-en: WebSockets support for any application/server - Python 3
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.
.
This package provides the Python 3 module.
Description-md5: 231b43a053eb05d5fcdb5e07d0dff5ec