ubuntu wireshark 빌드 버전 설치
2.1 UNIX : Installation and Build Instructions
2.1.1 Build environment setup
1. C compiler and C++ compiler;
// $gcc/g++ 또는 $gcc/g++ --version 입력 시 gcc 설치 확인 및 버전 확인 가능
$sudo apt-get install gcc | g++
2. the Flex lexical analyzer;
$ sudo apt-get install flex
3. Either Bison or Berkeley YACC;
$ sudo apt-get install bison
4. Perl;
$ perl --version
// linux에 기본적으로 다운로드 받아져있는 것 같음.
5. Python 3;
$ sudo apt-get install python3.8
6. CMake;
$ sudo apt install cmake
7. Ninja
$ sudo apt-get update -y
$ sudo apt-get install -y ninja-build
8. Several required libraries
// wireshark/tools/debian-setup.sh 파일로 이동
$ --install-optional
// 추가 도구를 설치하고 모든 Wireshark 기능에 필요한 라이브러리를 설치
$ --install-deb-deps
// Wireshark용 .deb 파일을 빌드하는 데 필요한 패키지를 설치
$ --install-test-deps
// 모든 테스트를 실행하는 데 필요한 패키지를 설치
$ git clone https://github.com/wireshark/wireshark.git
GitHub - wireshark/wireshark: Read-only mirror of Wireshark's Git repository at https://gitlab.com/wireshark/wireshark. GitHub w
Read-only mirror of Wireshark's Git repository at https://gitlab.com/wireshark/wireshark. GitHub won't let us disable pull requests. ☞ THEY WILL BE IGNORED HERE ☜ Please upload them at GitL...
github.com
$ mkdir ../shark
$ cd ../shark
$ cmake -G Ninja ../wireshark
$ ninja