How to unzip debian (.deb) files in MacOS?
How to unzip/ unpack/ unarchive/ extract debian (.deb) files in MacOS?
1. Using ar command
This is the default utility comes with MaOS, you can use it in following way to extract a debian file
ar -x your_debian.deb
2. Using dpkg command
dpkg is not available by default on MacOS, You can get this using brew or macports. You can use the following command to install dpkg using brew
brew install dpkg
Once you have the dpkg you can run the following to extract debian
dpkg -x your_debian.deb /output/folder