Skip to content

Instantly share code, notes, and snippets.

@mingliangguo
Last active July 22, 2024 04:10
Show Gist options
  • Save mingliangguo/635345dcd6b603da337d4c71792bd330 to your computer and use it in GitHub Desktop.
Save mingliangguo/635345dcd6b603da337d4c71792bd330 to your computer and use it in GitHub Desktop.
install websocat in ubuntu
# libssl-dev and pkg-config are required in order to build websocat
#
apt-get update && apt-get install -y curl build-essential libssl-dev pkg-config
curl https://sh.rustup.rs -sSf | sh
export PATH=$HOME/.cargo/bin:$PATH
cargo install --features=ssl websocat
@CanBusHack
Copy link

Problem: "Could not find directory of OpenSSL installation"
Solution:
apt install libssl-dev

@Biotahero
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment