LasterRooker

OpenGL In Kali Linux

Jul 4th, 2022 (edited)
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.21 KB | None | 0 0
  1. #OpenGL In Kali
  2.  
  3. cat <<EOF > /etc/apt/sources.list
  4. deb http://mirror.anigil.com/kali kali-rolling main contrib non-free
  5. deb-src http://mirror.anigil.com/kali kali-rolling main contrib non-free
  6. EOF
  7.  
  8. sudo apt-get update && sudo apt build-dep mesa -y
  9.  
  10. sudo apt install -y llvm python3 python3-mako python3-pip libgtk-3-dev byacc valgrind mesa-utils flex bison meson
  11.  
  12. wget https://archive.mesa3d.org/mesa-22.1.3.tar.xz
  13.  
  14. #or Manual Download လိုက်ပါ...
  15.  
  16. #ပြီးရင် User ရဲ့ Home ထဲကိုထည့်ပါ...eg
  17.  
  18. mv /sdcard/Download/mesa-22.1.3.tar.xz ~/
  19.  
  20. sudo tar -xf mesa-22.1.3.tar.xz
  21.  
  22. cd mesa-22.1.3
  23.  
  24. sudo meson jessy/
  25.  
  26. cd jessy
  27.  
  28. sudo ninja
  29.  
  30. #Portable_OpenGL_In_Kali
  31.  
  32. sudo apt update && sudo apt install -y cmake gcc python3 build-essential libegl1-mesa-dev mesa-utils git && git clone https://github.com/ptitSeb/gl4es && mkdir build && cd build && cmake -S ~/gl4es && make && make install && export LD_LIBRARY_PATH=/usr/lib/gl4es/
  33.  
  34. #Use Kex Vnc Viewer
  35.  
  36. https://www.mediafire.com/file/t4re9p2rfjlgkin/NetHunter_KeX_v4.0.7-6.apk/file
  37.  
  38. #Test
  39.  
  40. glxinfo
  41.  
  42. glxgears
  43.  
  44. #တခြား OS တွေက sources.list မှာ deb-src ဆိုပြီး ထည့်ပါ
Add Comment
Please, Sign In to add comment