Advertisement
metalx1000

Compiling Building From Debian Source Repositories

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