Created
July 3, 2019 11:22
-
-
Save gjedeer/991eca9ef38ec471ec26b77c3cc13f6f to your computer and use it in GitHub Desktop.
Build Wireshark appimage in a Ubuntu Disco docker image
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
sed -e 's/^# deb-src /deb-src /g' -i /etc/apt/sources.list | |
apt update | |
apt install git doxygen libappimage-dev fuse wget rsync cmake build-essential checkinstall libcurl4-openssl-dev file vim gnupg libsystemd-dev lemon | |
apt build-dep wireshark | |
wget https://1.na.dl.wireshark.org/src/wireshark-3.0.2.tar.xz | |
tar axf wireshark-3.0.2.tar.xz | |
sed -e 's/APPIMAGETOOL_EXECUTALBE/APPIMAGETOOL_EXECUTABLE/g' -i wireshark-3.0.2/CMakeLists.txt | |
mkdir /build | |
cd /build/ | |
wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage | |
chmod +x appimagetool-x86_64.AppImage | |
cp appimagetool-x86_64.AppImage /usr/bin/appimagetool | |
appimagetool | |
wget https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage | |
chmod +x linuxdeployqt-6-x86_64.AppImage | |
cp linuxdeployqt-6-x86_64.AppImage /usr/bin/linuxdeployqt | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib ../wireshark-3.0.2 | |
PATH=/build/run:$PATH | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment