metalx1000

Compiling Building From Debian Source Repositories

Mar 16th, 2023 (edited)
1,625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.81 KB | None | 0 0
  1. # install apt-src
  2. sudo apt install apt-src
  3.  
  4. # make sure source repositories are enabled
  5. grep "deb-src" /etc/apt/sources.list
  6. # or
  7. grep "deb-src" /etc/apt/sources.list.d/*
  8.  
  9.  
  10. #building DOOM
  11. #if you just want the source and you are going to manually build it you can:
  12. apt-get source prboom-plus
  13.  
  14. #other wise use apt-src for auto compile/dependence/packaging
  15. sudo apt install apt-src
  16.  
  17. mkdir src
  18. cd src
  19.  
  20. apt-src install prboom-plus
  21. apt-src build prboom-plus
  22.  
  23. # If you need a wad file
  24. sudo apt install freedoom doom-wad-shareware
  25.  
  26. #run the binary (depending on your distro it might be prboom or a port of it)
  27. ./dsda-doom-*/debian/dsda-doom/usr/games/dsda-doom
  28. ./prboom-plus-*/debian/prboom-plus/usr/games/prboom-plus
  29.  
  30. #building nmap
  31. apt-src install nmap
  32. apt-src build nmap
  33. ./nmap-*/debian/nmap/usr/bin/nmap
  34.  
Advertisement
Add Comment
Please, Sign In to add comment