In this tutorial we will learn how to extract the files of a .deb package using the terminal. If you use the default archive manager to extract a .deb package, you will not get the correct files we are looking for. So, we need to use instead the "ar" command to get the installation files of the .deb package under Ubuntu.
1. Open the terminal and cd to the folder containing your .deb package and run this command:
ar -x file.deb
Replace file.deb with the name of your own file. The command will extract three files from your .deb file:
tar -xzvf data.tar.gz
You may use these files to install the program that comes in your .deb package manually, but make sure you place them in correct system directories as shown in the folders extracted from the data.tar.gz file.