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


Groups > linux.debian.user > #198689 > unrolled thread

Installing package *NOT* in repository

Started byRichard Owlett <rowlett@cloud85.net>
First post2018-08-13 13:50 +0200
Last post2018-08-15 08:20 +0200
Articles 9 on this page of 49 — 23 participants

Back to article view | Back to linux.debian.user


Contents

  Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-13 13:50 +0200
    Re: Installing package *NOT* in repository Joe <joe@jretrading.com> - 2018-08-13 14:00 +0200
      Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-13 14:30 +0200
        Re: Installing package *NOT* in repository Samuel Henrique <samueloph@debian.org> - 2018-08-13 14:40 +0200
          Re: Installing package *NOT* in repository Vincent Lefevre <vincent@vinc17.net> - 2018-08-17 11:30 +0200
            Re: Installing package *NOT* in repository Gene Heskett <gheskett@shentel.net> - 2018-08-17 13:40 +0200
              Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-17 14:30 +0200
                Re: Installing package *NOT* in repository Reco <recoverym4n@gmail.com> - 2018-08-17 14:50 +0200
                  Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-17 17:00 +0200
              Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-17 20:50 +0200
                Re: Installing package *NOT* in repository Vincent Lefevre <vincent@vinc17.net> - 2018-08-21 13:00 +0200
                  Re: Installing package *NOT* in repository Gene Heskett <gheskett@shentel.net> - 2018-08-21 14:10 +0200
                    Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-21 14:50 +0200
                      Re: Installing package *NOT* in repository Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 15:40 +0200
                        Re: Installing package *NOT* in repository Michael Stone <mstone@debian.org> - 2018-08-21 16:40 +0200
                      Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 17:10 +0200
                        Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-21 17:40 +0200
                        Re: Installing package *NOT* in repository Gene Heskett <gheskett@shentel.net> - 2018-08-21 19:30 +0200
                    Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 17:10 +0200
                      Re: Installing package *NOT* in repository Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 17:30 +0200
                        Re: Installing package *NOT* in repository Michael Stone <mstone@debian.org> - 2018-08-21 18:00 +0200
                        Re: Installing package *NOT* in repository David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 19:00 +0200
        Re: Installing package *NOT* in repository Joe <joe@jretrading.com> - 2018-08-13 15:00 +0200
        Re: Installing package *NOT* in repository Zenaan Harkness <zenaan@freedbms.net> - 2018-08-13 16:10 +0200
    Re: Installing package *NOT* in repository john doe <johndoe65534@mail.com> - 2018-08-13 14:10 +0200
    Re: Installing package *NOT* in repository Matthew Crews <mailinglists@mattcrews.com> - 2018-08-13 15:00 +0200
      Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-13 15:50 +0200
    Re: Installing package *NOT* in repository Patrick Bartek <nemommxiv@gmail.com> - 2018-08-13 17:40 +0200
      Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-13 17:50 +0200
        Re: Installing package *NOT* in repository Samuel Henrique <samueloph@debian.org> - 2018-08-13 18:00 +0200
          Re: Installing package *NOT* in repository tomas@tuxteam.de - 2018-08-13 18:20 +0200
            Re: Installing package *NOT* in repository Brian <ad44@cityscape.co.uk> - 2018-08-13 18:50 +0200
              Re: Installing package *NOT* in repository Curt <curty@free.fr> - 2018-08-13 19:10 +0200
                Re: Installing package *NOT* in repository Brian <ad44@cityscape.co.uk> - 2018-08-13 19:30 +0200
        Re: Installing package *NOT* in repository Brian <ad44@cityscape.co.uk> - 2018-08-13 18:00 +0200
          Re: Installing package *NOT* in repository Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-08-14 19:50 +0200
            Re: Installing package *NOT* in repository Jason <electron@emypeople.net> - 2018-08-15 13:10 +0200
        Re: Installing package *NOT* in repository Patrick Bartek <nemommxiv@gmail.com> - 2018-08-14 04:10 +0200
          Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-14 09:00 +0200
            Re: Installing package *NOT* in repository Patrick Bartek <nemommxiv@gmail.com> - 2018-08-14 17:00 +0200
              Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-14 17:30 +0200
    Re: Installing package *NOT* in repository songbird <songbird@anthive.com> - 2018-08-14 05:50 +0200
    Re: Installing package *NOT* in repository Erik Christiansen <dvalin@internode.on.net> - 2018-08-14 08:50 +0200
      Re: Installing package *NOT* in repository Richard Owlett <rowlett@cloud85.net> - 2018-08-14 13:50 +0200
        Re: Installing package *NOT* in repository Erik Christiansen <dvalin@internode.on.net> - 2018-08-15 07:10 +0200
          Re: Installing package *NOT* in repository Kenneth Parker <sea7kenp@gmail.com> - 2018-08-15 07:30 +0200
            Re: Installing package *NOT* in repository <tomas@tuxteam.de> - 2018-08-15 10:00 +0200
            Re: Installing package *NOT* in repository Darac Marjal <mailinglist@darac.org.uk> - 2018-08-15 10:30 +0200
          Re: Installing package *NOT* in repository Zenaan Harkness <zenaan@freedbms.net> - 2018-08-15 08:20 +0200

Page 3 of 3 — ← Prev page 1 2 [3]


#198782

From<tomas@tuxteam.de>
Date2018-08-14 17:30 +0200
Message-ID<wmJqG-4jA-1@gated-at.bofh.it>
In reply to#198779
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 14, 2018 at 07:58:07AM -0700, Patrick Bartek wrote:
> On Tue, 14 Aug 2018 08:56:17 +0200
> <tomas@tuxteam.de> wrote:

[...]

> > I already retracted somewhere else in this thread-forest. Sorry.
> 
> I saw it, but not until after I replied to your message.

Indeed.

> No apology needed.  Live and learn.

The most beautiful things are often not strictly necessary :-)

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlty82AACgkQBcgs9XrR2kacewCeOAhvKKXuN/UZqAIbbG5dnifg
UqwAni9RupqTKyn2Pm8cBPc7hg0VJNuq
=Ee26
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#198739

Fromsongbird <songbird@anthive.com>
Date2018-08-14 05:50 +0200
Message-ID<wmyvf-68v-1@gated-at.bofh.it>
In reply to#198689
Richard Owlett 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.

  i usually start with man pages by habit so:


$ man -k deb


  and then look through the list of replies and
see what catches my interest and then look at what
those man pages say:

  one is:

"dpkg (1)             - package manager for Debian"


$ man dpkg


  there are other more general references available
too that describe overall operation of a Debian system
and what can be done.


  debian-reference and debian-handbook...


  songbird

[toc] | [prev] | [next] | [standalone]


#198743

FromErik Christiansen <dvalin@internode.on.net>
Date2018-08-14 08:50 +0200
Message-ID<wmBjs-7SI-11@gated-at.bofh.it>
In reply to#198689
On 13.08.18 06:47, Richard Owlett 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.

Personal survival notes, arranged by topic, focused on how a task was
accomplished last time, and with searchable tags of some sort. My 420+
pages of bumpf has accumulated over 3 decades, so some of it is perhaps
dated now, but still preserves what sanity remains.

If I search for "PACKAGE INSTALL:" or "\.DEB:", it's my first hit, as I
uppercase headings & tags shoved over to the RHS for minimal
intrusiveness. The trailing ':' may be superfluous, but reminds me I
intend it to be a tag.

The whole thing is just a plain text file, edited and read with Vim,
using multi-level folding, so it all presents as a one-page TOC. My
version is probably of limited use to anyone else, as it e.g. only deals
with dpkg and apt-get in the current context. All else is completely
unknown.

Now that we have google, I must admit that there's an alternative, but
it won't tell you whether that's what you did last time, giving the
particular outcome which you prefer, or confidence of the same result.

Erik

[toc] | [prev] | [next] | [standalone]


#198770

FromRichard Owlett <rowlett@cloud85.net>
Date2018-08-14 13:50 +0200
Message-ID<wmFZM-2eg-9@gated-at.bofh.it>
In reply to#198743
On 08/14/2018 01:43 AM, Erik Christiansen wrote:
> On 13.08.18 06:47, Richard Owlett 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.
> 
> Personal survival notes, arranged by topic, focused on how a task was
> accomplished last time, and with searchable tags of some sort. My 420+
> pages of bumpf has accumulated over 3 decades, so some of it is perhaps
> dated now, but still preserves what sanity remains.
> 
> If I search for "PACKAGE INSTALL:" or "\.DEB:", it's my first hit, as I
> uppercase headings & tags shoved over to the RHS for minimal
> intrusiveness. The trailing ':' may be superfluous, but reminds me I
> intend it to be a tag.
> 
> The whole thing is just a plain text file, edited and read with Vim,
> using multi-level folding, so it all presents as a one-page TOC. My
> version is probably of limited use to anyone else, as it e.g. only deals
> with dpkg and apt-get in the current context. All else is completely
> unknown.
> 
> Now that we have google, I must admit that there's an alternative, but
> it won't tell you whether that's what you did last time, giving the
> particular outcome which you prefer, or confidence of the same result.
> 

I'm working on it :} Someone pointed me to CherryTree. I have much 
information in saved emails.

[toc] | [prev] | [next] | [standalone]


#198799

FromErik Christiansen <dvalin@internode.on.net>
Date2018-08-15 07:10 +0200
Message-ID<wmWed-3rZ-1@gated-at.bofh.it>
In reply to#198770
On 14.08.18 06:44, Richard Owlett wrote:
> On 08/14/2018 01:43 AM, Erik Christiansen wrote:
> > The whole thing is just a plain text file, edited and read with Vim,
> > using multi-level folding, so it all presents as a one-page TOC. My
> > version is probably of limited use to anyone else, as it e.g. only deals
> > with dpkg and apt-get in the current context. All else is completely
> > unknown.
> > 
> > Now that we have google, I must admit that there's an alternative, but
> > it won't tell you whether that's what you did last time, giving the
> > particular outcome which you prefer, or confidence of the same result.
> > 
> 
> I'm working on it :} Someone pointed me to CherryTree. I have much
> information in saved emails.

Please don't tell anyone, but I too have quite a number of list posts
flagged in mutt for adding to the notes - just not done yet. While
deleting 95% of posts and flagging 1% does distill the local archive
to a useful essence, it's still not as accessible as structured notes,
where related information is colocated, mixed with personal experience.

The optimal balance between doing and documenting depends significantly
on how good the wetware memory still is, but the act of documenting can
significantly improve that memory. (I have forgotten the numbers put
forward, at a seminar decades ago, for the percentage retention of what we:
hear, read, write, carry out in practice, but the difference is marked.)

Erik

[toc] | [prev] | [next] | [standalone]


#198800

FromKenneth Parker <sea7kenp@gmail.com>
Date2018-08-15 07:30 +0200
Message-ID<wmWxA-3yd-3@gated-at.bofh.it>
In reply to#198799

[Multipart message — attachments visible in raw view] — view raw

This brings up a question:  If I am Installing something outside of the
Packaging Infrastructure (usually, via a TarBall), I usually install inside
of my Home Directory (for example, using $PATH for ~/bin).  If I  *MUST*
make it available to other Users, I use the /usr/local/* directories.

Now the question:  Does dpkg have options for doing this?  (Or would I need
to, still use the "tarball"?  (The reason I bring up dpkg, is that it, at
least gives "lip service" to Dependencies).

Thanks in advance,

Kenneth Parker

[toc] | [prev] | [next] | [standalone]


#198810

From<tomas@tuxteam.de>
Date2018-08-15 10:00 +0200
Message-ID<wmYSJ-4MS-5@gated-at.bofh.it>
In reply to#198800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 15, 2018 at 01:26:48AM -0400, Kenneth Parker wrote:
> This brings up a question:  If I am Installing something outside of the
> Packaging Infrastructure (usually, via a TarBall), I usually install inside
> of my Home Directory (for example, using $PATH for ~/bin).  If I  *MUST*
> make it available to other Users, I use the /usr/local/* directories.
> 
> Now the question:  Does dpkg have options for doing this?  (Or would I need
> to, still use the "tarball"?  (The reason I bring up dpkg, is that it, at
> least gives "lip service" to Dependencies).

I don't think so. And if you look at the contortions needed during
the regular build process (there are many "system" paths for different
things which need (re-)mapping, like /sbin, /bin, /usr/sbin, /usr/bin,
/usr/lib, /usr/share/bin, /usr/share/doc and reams of others (last
but not least, /etc(, all reflecting a system policy), I don't think
this possible at the package install phase at all. It's (barely)
possible at the package build phase, and only if the authors were
extremely careful or just used a civilised build system.

To give you a conundrum to chew on: somewhere deep in the guts of your
(compiled) C program, part of some mythical package "furrfu", the
path to its first config file, "/etc/furrfu/main.conf" is hardcoded
(it better be, because you don't want to force your poor users to
always call

  furrfu -c /etc/furrfu/main.conf

or something. If you relocate the package... where's the config
file now?  (a) /usr/local/etc? (b) /etc? Each one has its upsides
and downsides.  Assume we want (a): now dpkg would have to live-patch
the /usr/local/bin/furrfu binary, to replace "in situ" the config
patch. Or replace /usr/local/bin/furrfu by a wrapper shell script
calling real-furrfu -c /usr/local/etc/furrfu.conf.

And this is supposed to work (more or less uniformly) across upstreams
by a huge community of (sometimes very idiosyncratic) authors, which
swear by scaringly diverse build systems, from Autotools through
Cmake or some of the Java build systems (ever tried Ant, with all
its XML goodness?) to most exotic or artisanal ones.

And this across roughly 20K (source) packages.

There lies the work Debian packagers are doing, picking up the discrepancies
between what the upstream's build system is capable of and the policy
which keeps your box together (most of the time, that is).

To me, they are heroes.

So the answer to your question? Download the source package, wrap your
head around the build system, re-build, re-package, and you're good
to go :-)

Alternatively, and this is a /very/ interesting alternative, go have
a look at schroot, where you can set up a special environment. Mostly
used to achieve clean builds, you can use it for a package which doesn't
quite fit into your system (it needs a slightly different libc, for
example, or it would trample on locations already needed by another
package). Yet another world to discover :-D

(basically, that's what the young-uns are doing with all those flatpaks
and things, only that I don't really believe in seeing the whole world
through this one tool -- but I'm an old fart, y'know).

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltz28sACgkQBcgs9XrR2kbcEQCeORQ4p2gKaixQlDHw++gkME4I
ju0An2yiBeFejN1THWuy85ubedJrB42n
=UtYY
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#198813

FromDarac Marjal <mailinglist@darac.org.uk>
Date2018-08-15 10:30 +0200
Message-ID<wmZlL-5bi-1@gated-at.bofh.it>
In reply to#198800

[Multipart message — attachments visible in raw view] — view raw

On Wed, Aug 15, 2018 at 01:26:48AM -0400, Kenneth Parker wrote:
>   This brings up a question:  If I am Installing something outside of the Packaging Infrastructure (usually, via a TarBall), I   
>   usually install inside of my Home Directory (for example, using $PATH for ~/bin).  If I  *MUST*  make it available to other    
>   Users, I use the /usr/local/* directories.                                                                                     
>   Now the question:  Does dpkg have options for doing this?  (Or would I need to, still use the "tarball"?  (The reason I        
>   bring up dpkg, is that it, at least gives "lip service" to Dependencies).                                                      
>   Thanks in advance,                                                                                                             
>   Kenneth Parker                                                                                                                 

Take a look at the "checkinstall" program. Essentially, you run this 
instead of "make install" and it will build a deb file out of the 
installation. The deb file can then be treated as a normal package
(i.e. installed, copied to another machine and installed there, 
uninstalled, dpkg-repack'd and so on).

-- 
For more information, please reread.

[toc] | [prev] | [next] | [standalone]


#198801

FromZenaan Harkness <zenaan@freedbms.net>
Date2018-08-15 08:20 +0200
Message-ID<wmXjX-42K-1@gated-at.bofh.it>
In reply to#198799
On Wed, Aug 15, 2018 at 02:59:17PM +1000, Erik Christiansen wrote:
> On 14.08.18 06:44, Richard Owlett wrote:
> > On 08/14/2018 01:43 AM, Erik Christiansen wrote:
> > > The whole thing is just a plain text file, edited and read with Vim,
> > > using multi-level folding, so it all presents as a one-page TOC. My
> > > version is probably of limited use to anyone else, as it e.g. only deals
> > > with dpkg and apt-get in the current context. All else is completely
> > > unknown.
> > > 
> > > Now that we have google, I must admit that there's an alternative, but
> > > it won't tell you whether that's what you did last time, giving the
> > > particular outcome which you prefer, or confidence of the same result.
> > > 
> > 
> > I'm working on it :} Someone pointed me to CherryTree. I have much
> > information in saved emails.
> 
> Please don't tell anyone, but I too have quite a number of list posts
> flagged in mutt for adding to the notes - just not done yet. While
> deleting 95% of posts and flagging 1% does distill the local archive
> to a useful essence, it's still not as accessible as structured notes,
> where related information is colocated, mixed with personal experience.

Can't beat personal experience as the ultimate memory jog…


> The optimal balance between doing and documenting depends significantly
> on how good the wetware memory still is, but the act of documenting can
> significantly improve that memory. (I have forgotten the numbers put
> forward, at a seminar decades ago, for the percentage retention of what we:
> hear, read, write, carry out in practice, but the difference is marked.)

Document, condense, condense, then document.

Man when I was younger, I condensed my notes so much I not only
-read- between the lines, I -wrote- between the lines!

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | linux.debian.user


csiph-web