Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #263384

Re: PATH question

From David <bouncingcats@gmail.com>
Newsgroups linux.debian.user
Subject Re: PATH question
Date 2023-11-11 23:20 +0100
Message-ID <Hz4uB-4L2Y-3@gated-at.bofh.it> (permalink)
References <Hz0AF-4IPW-1@gated-at.bofh.it> <Hz0U2-4IVM-5@gated-at.bofh.it> <Hz1dn-4J2a-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 11 Nov 2023 at 18:42, Thomas George <debianlist@mailfence.com> wrote:

> I downloaded the google-chrome deb file to /opt/
>
> used dpkg to install the program.
>
> initial attempt failed, two lib files missing.
>
> added the sbin entries to path and tried again

Hi, the 'apt install' command does have the capability to install a local .deb
package file together with its dependencies if they are available in
the configured repositories.

This capability seems to be not mentioned in the manpages
of 'apt' or 'apt-get' [1].

Looking for an authoritative source of information to show you,
I found only this:
  https://wiki.debian.org/DebianPackageManagement#Installing_and_removing_packages
which says:
  You can also install a .deb file with:
  # apt install </path/to/deb/file/debfile.deb>

My understanding is that the <target> must look like a pathname.
So, to install 'debfile.deb' in the current directory, it should look like
  apt install ./debfile.deb

Maybe someone else knows where the authoritative documentation
of this capability can be read, if there is any.

Maybe someone else knows why this isn't documented in the manpages.
I have a hazy recollection of possibly reading sometime that 'apt'
authors might
intend to rewrite the package regex handling in future, so maybe how this
works might change, so that might be why it hasn't been documented.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874763

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PATH question Thomas George <debianlist@mailfence.com> - 2023-11-11 19:10 +0100
  Re: PATH question Greg Wooledge <greg@wooledge.org> - 2023-11-11 19:30 +0100
    Re: PATH question Thomas George <debianlist@mailfence.com> - 2023-11-11 19:50 +0100
      Re: PATH question David <bouncingcats@gmail.com> - 2023-11-11 23:20 +0100
        Re: PATH question Greg Wooledge <greg@wooledge.org> - 2023-11-12 01:20 +0100
          Re: PATH question The Wanderer <wanderer@fastmail.fm> - 2023-11-12 01:30 +0100
            Re: PATH question Thomas George <debianlist@mailfence.com> - 2023-11-12 15:30 +0100
              Re: PATH question Greg Wooledge <greg@wooledge.org> - 2023-11-12 15:40 +0100
                Re: PATH question Max Nikulin <manikulin@gmail.com> - 2023-11-12 16:10 +0100
                Re: PATH question Charles Kroeger <mbone@gmx.co.uk> - 2023-11-18 08:40 +0100

csiph-web