Advertisement
v1ral_ITS

CHANGE ARCHITECTURE OF .deb FILE

May 2nd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.63 KB | None | 0 0
  1. ###################################################################################################################
  2. #####
  3. #####           BREAKING DOWN A .deb FILE AND CHANGEIN THE ARCHITECTURE    
  4. #####
  5. ###################################################################################################################
  6.  
  7. sudo alien -g package-name.rpm
  8. cd package-dir/
  9. sudo vi debian/control
  10.  
  11. Now change the architecture (i386 in my case) to be the one you need. For example, I added the amd64 archicture and this is how the line ended up:
  12.  
  13. Architecture: i386, amd64
  14.  
  15. Last step:
  16.  
  17. sudo debian/rules binary
  18.  
  19. This will produce the .deb file.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement