Last active
July 22, 2024 04:10
-
-
Save mingliangguo/635345dcd6b603da337d4c71792bd330 to your computer and use it in GitHub Desktop.
install websocat in ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Problem: "Could not find directory of OpenSSL installation"
Solution:
apt install libssl-dev
thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@pausanchezv Probably because the binary is in $HOME/.cargo/bin and PATH has not been set. Add PATH to ~/.bashrc etc.