[mythtv] MythTV Ubuntu package

Greg Oliver oliver.greg at gmail.com
Wed Aug 21 20:37:46 UTC 2024


On Wed, Aug 21, 2024 at 8:29 AM Peter Bennett <pb.mythtv at gmail.com> wrote:
>
>
> On 8/16/24 18:19, Gary Buhrmaster wrote:
> > On Thu, Aug 15, 2024 at 1:20 PM Peter Bennett <pb.mythtv at gmail.com> wrote:
> >
> >> It is actually very simple to build, as long as you can run "npm
> >> install" which downloads all dependencies for you. That downloads
> >> hundreds of megabytes into a subdirectory in the project. Also the
> >> dependencies can change from time to time. I will make sure the build
> >> instructions in the README are correct and up to date.
> > Since the ansible tasks are intended to install
> > all the necessary tooling to both build/install
> > and develop MythTV, I'll be looking at adding
> > the (OS default) npm tooling to the ansible tasks
> > (the total amount of diskspace used by the
> > various nodejs and npm packages is typically
> > nominal, although Debian/Ubuntu insists on
> > installing a lot of node components that may
> > not be strictly required).  It may take a few
> > days/weeks/months for that work to percolate
> > to the top of the list of low hanging fruit to pick.
> > _______________________________________________
>
> Actually, I prefer installing node and npm from the web site
> https://nodejs.org/en/download/package-manager, where you can choose the
> version needed. I have documented this in
> https://www.mythtv.org/wiki/Web_Application_Development . I had thought
> it worthwhile to use the distribution version if the web app could be
> built with the normal build, but since that is not going to happen, I
> think we should leave it out of ansible.

I am responsible for creating the "base" image for our corporate
products (in no way related to MythTV), and all I can say is that if
you use public repo(s) for your updates and install npm (and other
javascript related stuff manually), then you will break OS updates
from the main distro repos usually.  I have to keep an alias for the
package managers with all of these 1 offs due to this fact - ie:

alias dnf=$(export DNF=$(which dnf)) && $DNF -y remove npm
2>&1>/dev/null && $DNF -y install npm 2>&1>/dev/null, etc...

It becomes a pain :)

> Peter


More information about the mythtv-dev mailing list