[GNC] Building v3 - Wiki entry for Ubuntu

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] Building v3 - Wiki entry for Ubuntu

Colin Law
The wiki entry for building v3 on Ubuntu [1] has get me up and running
with little difficulty so many thanks who contributed to writing it.

There is an error there, though, I think.  The section on
install-target says for /usr/local:

/usr/local - this location is commonly used for versions distributed
with linux distributions and is the default option. If installed here
the program will be available to all users on the system. If you use
this folder, use it with caution as installing from the distribution
will overwrite your build and vice versa.

I do not believe that is correct.  The distribution will not generally
install into /usr/local and in fact, at least on Ubuntu, this is a
common place to put home built stuff.  Applications installed there
will not get overwritten by applications installed using apt-get.

Shall I go ahead and change that?

Also I think the title could be improved to indicate that it is for
anything after Ubuntu 16.04. I know it says that in the text but the
title is confusing I think.

Colin

[1] https://wiki.gnucash.org/wiki/BuildUbuntu16.04
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

Ronal B Morse-2
FWIW, Fedora 28 installs Gnucash from repository into /usr/share.

Thanks to everyone for all the hard work that goes into making Gnucash
what it is.

RBM


On 07/04/2018 08:37 AM, Colin Law wrote:

> The wiki entry for building v3 on Ubuntu [1] has get me up and running
> with little difficulty so many thanks who contributed to writing it.
>
> There is an error there, though, I think.  The section on
> install-target says for /usr/local:
>
> /usr/local - this location is commonly used for versions distributed
> with linux distributions and is the default option. If installed here
> the program will be available to all users on the system. If you use
> this folder, use it with caution as installing from the distribution
> will overwrite your build and vice versa.
>
> I do not believe that is correct.  The distribution will not generally
> install into /usr/local and in fact, at least on Ubuntu, this is a
> common place to put home built stuff.  Applications installed there
> will not get overwritten by applications installed using apt-get.
>
> Shall I go ahead and change that?
>
> Also I think the title could be improved to indicate that it is for
> anything after Ubuntu 16.04. I know it says that in the text but the
> title is confusing I think.
>
> Colin
>
> [1] https://wiki.gnucash.org/wiki/BuildUbuntu16.04
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

Frank H. Ellenberger-3
In reply to this post by Colin Law
hi Colin,

Am 04.07.2018 um 16:37 schrieb Colin Law:

> The wiki entry for building v3 on Ubuntu [1] has get me up and running
> with little difficulty so many thanks who contributed to writing it.
>
> There is an error there, though, I think.  The section on
> install-target says for /usr/local:
>
> /usr/local - this location is commonly used for versions distributed
> with linux distributions and is the default option. If installed here
> the program will be available to all users on the system. If you use
> this folder, use it with caution as installing from the distribution
> will overwrite your build and vice versa.
>
> I do not believe that is correct.  The distribution will not generally
> install into /usr/local and in fact, at least on Ubuntu, this is a
> common place to put home built stuff.  Applications installed there
> will not get overwritten by applications installed using apt-get.


From https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard:> 9^
Historically and strictly according to the standard, /usr/local is for
data that must be stored on the local host (as opposed to /usr, which
may be mounted across a network). Most of the time /usr/local is used
for installing software/data that are not part of the standard operating
system distribution (in such case, /usr would only contain software/data
that are part of the standard operating system distribution). It is
possible that the FHS standard may in the future be changed to reflect
this de facto convention.

And the official FHS3.0
http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html
> Purpose
>
> The /usr/local hierarchy is for use by the system administrator when
installing software locally. It needs to be safe from being overwritten
when the system software is updated. It may be used for programs and
data that are shareable amongst a group of hosts, but not found in /usr.
>
> Locally installed software must be placed within /usr/local rather
than /usr unless it is being installed to replace or upgrade software in
/usr.

> Shall I go ahead and change that?

So, yes, go for it.

> Also I think the title could be improved to indicate that it is for
> anything after Ubuntu 16.04. I know it says that in the text but the
> title is confusing I think.
>
> Colin
>
> [1] https://wiki.gnucash.org/wiki/BuildUbuntu16.04

~Frank
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

Geert Janssens-4
In reply to this post by Ronal B Morse-2
Op woensdag 4 juli 2018 16:48:27 CEST schreef Ronal B Morse:
> FWIW, Fedora 28 installs Gnucash from repository into /usr/share.
>
> Thanks to everyone for all the hard work that goes into making Gnucash
> what it is.
>
> RBM

Well close. It gets installed under /usr which is generally used by package
managers. Parts of gnucash will end up in different subdirectories of /usr,
like /usr/bin/gnucash for the program itself, /usr/lib for shared libraries, /
usr/lib/gnucash/ for libraries intended to be used by gnucash internally only,
/usr/share/gnucash/ for various data files and so on.

Thanks for your appreciation by the way :)

Regards,

Geert


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

Ronal B Morse-2
Thank you. I guess I didn't look far enough into the /usr directories.

RBM


On 07/04/2018 09:35 AM, Geert Janssens wrote:

> Op woensdag 4 juli 2018 16:48:27 CEST schreef Ronal B Morse:
>> FWIW, Fedora 28 installs Gnucash from repository into /usr/share.
>>
>> Thanks to everyone for all the hard work that goes into making Gnucash
>> what it is.
>>
>> RBM
> Well close. It gets installed under /usr which is generally used by package
> managers. Parts of gnucash will end up in different subdirectories of /usr,
> like /usr/bin/gnucash for the program itself, /usr/lib for shared libraries, /
> usr/lib/gnucash/ for libraries intended to be used by gnucash internally only,
> /usr/share/gnucash/ for various data files and so on.
>
> Thanks for your appreciation by the way :)
>
> Regards,
>
> Geert
>
>

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

DaveC49
In reply to this post by Colin Law
Hi Colin,

I'm responsible for m,ost of the update  on the build Ubuntu. No problem for
me with a more generic page name at all. I had stuck with the names that
were there as I updated it with the more recent build instructions. I have
tried to generalise the page and make it a bit more user oriented and less
specifically developer oriented than it was originally.

I have always wondered about the /usr/local/ as I also personally have a lot
of home built software which installs there by default and the Ubuntu File
System Heirarchy lists the two most common install points other than the
users home directory as:

/opt :- This directory is reserved for all the software and add-on packages
that are not part of the default installation

/usr/local :- The /usr/local hierarchy is for use by the system
administrator when installing software locally. It needs to be safe from
being overwritten when the system software is updated.

Please feel free to modfy the text as you feel fit. I did not find the FHS
exactly illuminating.

The Linux Mint and I presume Ubuntu distribution versions of GnuCash install
into /usr/local. I have always installed there and as long as I don't
install over it from the software manager, it has never been a problem for
me. I modified that from an earlier version which primarily recommended
installing into $HOME/.local as the preferred option. I do use that if I
have built a version from the  github master or maint for testing so it was
possibly more developer oriented. T times I have had 3 versions of GnuCash
up and running

David
Cousens



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
David Cousens
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

Colin Law
Hi David

I have changed the text on usr/local. I haven't changed the title as it was
not immediately clear to me how to do that.  It probably doesn't matter
anyway.

Cheers

Colin

On 5 July 2018 at 11:12, DaveC49 <[hidden email]> wrote:

> Hi Colin,
>
> I'm responsible for m,ost of the update  on the build Ubuntu. No problem
> for
> me with a more generic page name at all. I had stuck with the names that
> were there as I updated it with the more recent build instructions. I have
> tried to generalise the page and make it a bit more user oriented and less
> specifically developer oriented than it was originally.
>
> I have always wondered about the /usr/local/ as I also personally have a
> lot
> of home built software which installs there by default and the Ubuntu File
> System Heirarchy lists the two most common install points other than the
> users home directory as:
>
> /opt :- This directory is reserved for all the software and add-on packages
> that are not part of the default installation
>
> /usr/local :- The /usr/local hierarchy is for use by the system
> administrator when installing software locally. It needs to be safe from
> being overwritten when the system software is updated.
>
> Please feel free to modfy the text as you feel fit. I did not find the FHS
> exactly illuminating.
>
> The Linux Mint and I presume Ubuntu distribution versions of GnuCash
> install
> into /usr/local. I have always installed there and as long as I don't
> install over it from the software manager, it has never been a problem for
> me. I modified that from an earlier version which primarily recommended
> installing into $HOME/.local as the preferred option. I do use that if I
> have built a version from the  github master or maint for testing so it was
> possibly more developer oriented. T times I have had 3 versions of GnuCash
> up and running
>
> David
> Cousens
>
>
>
> -----
> David Cousens
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

DaveC49
In reply to this post by DaveC49
Colin,

A correction. The latest LM 18.3 Software Manager now installs Gnucash 3.2
as a flatpack in /usr/bin. There are no identiable gnucash directories apart
from the user configuration.

David



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
David Cousens
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

Colin Law
What is that a correction to?

Colin

On 8 July 2018 at 11:37, DaveC49 <[hidden email]> wrote:

> Colin,
>
> A correction. The latest LM 18.3 Software Manager now installs Gnucash 3.2
> as a flatpack in /usr/bin. There are no identiable gnucash directories
> apart
> from the user configuration.
>
> David
>
>
>
> -----
> David Cousens
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Building v3 - Wiki entry for Ubuntu

DaveC49
Hi Colin,

Sorry for the confusion. I had gone back to check where LM installed from
its software manager to check that it was into /usr/local and discovered it
was now using flatpack and didn't install in any manner I was previously
accustomed to. I appreciate that apt installs to /usr but my memory was that
LM packagers installed it to/usr/local, but it had been 3-4 years since I
have installed GnuCash from the Software Manager in Mint as I've been
building it from source.  I'll update the wiki page to reflect that the
Ubuntu packagers install it in/usr

David



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
David Cousens