Re: Installing package *NOT* in repository
On Mon, Aug 13, 2018 at 07:28:20AM -0500, Richard Owlett wrote:
> On 08/13/2018 06:59 AM, Joe wrote:
> > On Mon, 13 Aug 2018 06:47:02 -0500
> > Richard Owlett <email@example.com> wrote:
> > > PREAMBLE:
> > > I've downloaded a .deb file.
> > > I've recently done such an install but don't remember how.
> > > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > > Couldn't come up with useful search term for wiki.
> > > Eventually recalled "dpkg -i" which worked.
> > >
> > > QUESTION:
> > > How would someone find the answer if the answer wasn't already known?
> > > I went thru the same sequence last time.
> > >
> > https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl
> > First hit:
> > https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt
> A partial "mea culpa" ;/
> I was completely focused on Debian tools and never thought of searching the
> whole web.
> My gut feeling is still there should be a way to use Debian tools.
Oki dokey, here ya gokey:
apt-cache search install | sort | egrep -i debian\ package
Of course this can go in a script, or part of it ...
(In this particular example there's a few too many results really,
but not much you can do about that ... that's what J^BGoogle is for.)