How to install APT in Ubuntu

So you decided to download a program for Ubuntu in apt format.