Open your terminal and navigate to the directory containing the ncontrol.deb file. Run the following command to view its metadata:
dpkg --info ncontrol.deb
Pay close attention to the output:
# 1️⃣ Import the signing key
curl -fsSL https://repo.ncontrol.io/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/ncontrol-archive-keyring.gpg
# 2️⃣ Add the repo to /etc/apt/sources.list.d/
echo "deb [signed-by=/usr/share/keyrings/ncontrol-archive-keyring.gpg] https://repo.ncontrol.io/debian stable main" | \
sudo tee /etc/apt/sources.list.d/ncontrol.list
# 3️⃣ Refresh the package index
sudo apt-get update
To see exactly what the ncontrol deb will place on your filesystem, use: ncontrol deb
dpkg --contents ncontrol.deb
This reveals binary locations (usually /usr/bin/ncontrol or /opt/ncontrol/), configuration files (/etc/ncontrol/), and systemd service units (/lib/systemd/system/). If you see paths like /home/user/, alarm bells should ring—this is a poorly built package. Open your terminal and navigate to the directory
sudo dpkg --remove --force-depends package-name
sudo apt-get install ncontrol
What you get: