Path: csiph.com!weretis.net!feeder4.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Vincent Lefevre Newsgroups: linux.debian.user Subject: Re: Installing package *NOT* in repository Date: Tue, 21 Aug 2018 13:00:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-user-request@lists.debian.org Tue Aug 21 10:57:16 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_FROM_MX=-3.1; rate: -6.1 Mail-Followup-To: debian-user@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.10.1+72 (b1a9ccad) vl-108074 (2018-08-16) X-Mailing-List: archive/latest/739062 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20180821105645.GA21511@zira.vinc17.org Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 21 Aug 2018 12:56:45 +0200 X-Original-Message-ID: <20180821105645.GA21511@zira.vinc17.org> X-Original-References: <5b94161f-4361-50ec-0194-ab35fb8e936e@cloud85.net> <20180817092907.GA12011@zira.vinc17.org> <201808170731.34682.gheskett@shentel.net> <20180817184811.GA6592@alum> Xref: csiph.com linux.debian.user:199137 On 2018-08-17 13:48:11 -0500, David Wright wrote: > On Fri 17 Aug 2018 at 07:31:34 (-0400), Gene Heskett wrote: > > On Friday 17 August 2018 05:29:07 Vincent Lefevre wrote: > > > > > On 2018-08-13 09:38:48 -0300, Samuel Henrique wrote: > > > > If you pass a file as parameter to apt install, like: > > > > apt install ./package.deb > > > > It will work, at least on buster. > > > > > > And the "./" is important, otherwise it will not work (until now, > > > for this reason, I didn't know that passing a file was supported). > > > I don't know the exact rule, but it seems that the pathname needs > > > to start with either "/", "./" or "../". > > > > The effect is where the search for the given file is anchored > > just a plain filename is assumed to be someplace in the $PATH > > It would be very odd to place a package file into one's $PATH. Yes, the use of $PATH is awkward. PATH is where executable files are searched for. But Debian packages are not executable. But I doubt that this is true. If I use a plain filename, strace doesn't show any attempt to look at the file anywhere. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)