1

I have a problem. I have a .deb file for my ubuntu app, but I want users to be able to install it using the sudo apt-get install command. How would I make it so that anyone can install my .deb file with sudo apt-get install?

JSGuy
  • 13

2 Answers2

3

You could read about 'personal package archives' (PPA). That's one method to share a debian packaged program with many other users. To install it then they need to do nothing but this:

sudo add-apt-repository ppa:YOUR-LAUNCHPAD-USERNAME/PPA-NAME 
sudo apt-get update
sudo apt-get install SOFTWARE-NAME

Those PPAs are hosted on Launchpad so there website might be a good place to start at.

N0rbert
  • 103,263
Tayfe
  • 176
  • 1
  • 2
  • 8
1
sudo apt install /path/to/file.deb

or, if you are already in the correct directory,

sudo apt install ./file.deb
user535733
  • 68,493