100 likes | 114 Views
Learn the fundamentals of Linux programming through practical exercises. Topics covered include cloning a repository from GitHub, building a project, coding a bash script, and debugging error messages.
E N D
Learn • base linux command about develop • how to clone a repo from github • how to build a project • how to coding a bash script • how to debug when appear error
1. KEEP UBUNTU OR DEBIAN UP TO DATE $ sudo apt-get -y update $ sudo apt-get -y upgrade $ sudo apt-get -y autoremove
2.INSTALL THE DEPENDENCIES $ sudo apt-get install -y build-essential cmake git
GUI (DEPENDENCIES) $ sudo apt-get install -y qttools5-dev-tools \ libqt5svg5-dev qtmultimedia5-dev
PCAP、 CRYPT、 GLIB2 (DEPENDENCIES) $ sudo apt-get install -y libpcap-dev $ sudo apt-get install -y libgcrypt20-dev $ sudo apt-get install -y libglib2.0-dev
LEX & YACC (DEPENDENCIES) $ sudo apt-get install -y flex bison
3. BUILD THE WIRESHARK $ sudo git clone https://github.com/wireshark/wireshark ~/wireshark $ cd ~/wireshark $ sudomkdir build $ cd build $ sudocmake ../ $ sudo make -j`nproc`
Coding a automate script • Learn If Statements • Learn loops • Learn Exit and Exit Status • Pasta the command