Is there a way to install a package via a simple URL without having to add a PPA beforehand? Something like apt-get https://url.to.package.deb
? Or perhaps some command line options that would add the PPA, update, and install the package all at once? Seems like I've seen other package managers that do this. I just find it a hassle to type the commands to add a whole repository just so I can install only one of its packages.
Ubuntu – Install package from without adding PPA
aptpackage-managementppasoftware installation
Best Answer
If you already know the
.deb
file link, then download that deb file by,If you want to download a package then run,
It will download all the .deb files related to the package.Finally install all the
.deb
files by running,