v0.4.0
Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.
linux
386 - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="b73e8b28b119659580afde9447c6be09899133d5173ee00835bd1f161748b6b0"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/netns/releases/download/v0.4.0/netns-linux-386" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h
amd64 - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="a71ec84690e6fb1fd25a83311d897880c9f1fc2e2d70ff5580594b5b120a0a20"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/netns/releases/download/v0.4.0/netns-linux-amd64" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h
arm - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="e89251daf39dfdd6114650a68a3796553de22bbd0dcc9f6ffaee7bc83b78dd69"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/netns/releases/download/v0.4.0/netns-linux-arm" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h
arm64 - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="36cd444b4b85043eed6457dca9e32125177af8f01697e76682471e01cd8cab1c"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/netns/releases/download/v0.4.0/netns-linux-arm64" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h