### How to Create .ipk Packages for Enigma2 Receivers
This guide explains how to unpack and repack `.ipk` plugin files on Enigma2-based receivers using the `ipkg-tools`.
#### **Prerequisites**
1. **Install the IPKG Tools:**
Transfer the `enigma2-plugin-extensions-opkg-tools_1.4_xxxxx.ipk` file to `/tmp` on your receiver.
Install it via the image menu or via Telnet with:
2. **Restart the receiver.**
After installation, the `ipkg-tools` folder will be available at `/media/hdd/ipkg-tools`.
---
#### **Step 1: Access the Tools**
Telnet into your receiver and navigate to the tools directory:
#### **Step 2: Unpack an .ipk File**
To extract the contents of an existing `.ipk` file:
This will create a folder with the plugin’s contents.
#### **Step 3: Repack a Folder into .ipk**
*Note: Do not add `.ipk` to the folder name in the command.*
---
**Important:**
All `.ipk` files and folders you intend to unpack or repack must be placed inside `/media/hdd/ipkg-tools` before running the commands.
