Follow-up: MFS Meeting. (at PLANT NOMA) Tue, 15 May. "GNU Guix package manager"

Michael Dorrington <[email protected]> Sat, 19 May 2018 22:26:58 +0100
Newsgroups gmane.politics.software.free-software.manchester,gmane.org.fsf.uk
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============3065817264836399234==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="uyVJGx8nqdbCutu3zPJJwMUNwciM28g1B"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--uyVJGx8nqdbCutu3zPJJwMUNwciM28g1B
Content-Type: multipart/mixed; boundary="CIxZxLHFfcSgTwpaQ2pG5uLE9yctZhTIt";
 protected-headers="v1"
From: Michael Dorrington <[email protected]>
To: Manchester Free Software <[email protected]>
Cc: Free Software and the United Kingdom <fsfe-uk-mXXj517/[email protected]>
Message-ID: <de074336-ee37-382b-4e19-2a5081bc2615-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>
Subject: Follow-up: MFS Meeting. (at PLANT NOMA) Tue, 15 May. "GNU Guix
 package manager"
References: <9920ca04-e8e7-4b7a-fecb-d100813698db-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>
In-Reply-To: <9920ca04-e8e7-4b7a-fecb-d100813698db-IGUgQLVVQiRCV4ILt04nZQ@public.gmane.org>

--CIxZxLHFfcSgTwpaQ2pG5uLE9yctZhTIt
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

On 09/05/18 20:00, Michael Dorrington wrote:

> * Event: Manchester Free Software's May Meeting
>=20
> * Talk: GNU Guix package manager
> * Speaker: Michael Dorrington

Follow-up and notes on the talk.

On LFS, I recommend installing a few extra packages using the Beyond
[GNU/]Linux from scratch (B[GNU/]LFS) book to get to a self-reliant OS
with [GNU/]LFS level package management (remember you need to build
dependencies first):

* Wget - so can download packages
* cURL - some programs use for downloading like GnuPG
* GnuPG - so can verify package signatures on this host
* Unbound - so don't need external name server (DNS resolver)
* Git - download (and update) Git repos; use for general version control
* Linux build extra support (depends on how the .config was obtained)
** USB dongles
** Other things; try out your use cases.
* DHCP?  In a pinch can manually set router and use free IP.
* Wi-Fi especially security?
** Use 'iw' not "Wireless Tools" as it is deprecated
* Console web browser?  No, will use Guix for that; can Wget docs.

For building Guix from source the [GNU/]LFS system already has some of
the necessary dependencies and then the B[GNU/]LFS book gets you even
closer but it doesn't get you all the way there.  The particular issue
is with "Guile-Git" and its dependencies.  But I did it so it can be
done; let me know if you get stuck.

On a "foreign distro" (a normal GNU/Linux(-libre) distro), the Guix
manual recommends a few extra things, see:

https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html=


and here are some notes on them:

1. Using nscd

[GNU/]LFS includes the nscd (name service cache daemon) executable
mentioned in the "Name Service Switch" subsection plus [GNU/]LFS
installs its config file and a cache directory.  However, there appears
to be no init script for nscd and the config (/etc/nscd.conf) contains
references to unconfigured "netgroup".

a) "netgroup" is https://manpages.debian.org/nis/netgroup.5.en.html

Options are:

* Do nothing - nscd will keep complaining about missing /etc/netgroup
* Create an empty /etc/netgroup file
* Remove/comment out "netgroup" lines in /etc/nscd.conf

b) starting nscd needs /var/run/nscd directory and /var/run is temporary

Options are:

* Manually create /var/run/nscd directory and start nscd
* Create a script for it
* Create an init script for it


2. Building Locales (from source)

The "Locales" subsection recommends installing locales via Guix because
"Guix will not use the locale data of the host system".  I wanted to do
this from source since the rest of the system, including Guix itself,
had built from source.  I did this running the guix-daemon with:

--no-substitutes --substitute-urls=3D''

The building took approximately 24 hours (approx. 600-700 SBUs) and
built approx 1200 packages bootstrapping itself similarly to [GNU/]LFS
but more so!


Let me know if you need more help.

The Guix package manager looks like good package manager for [GNU/]LFS
system.

M.

--=20
FSF member #9429
http://www.fsf.org/register_form?referrer=3D9429
http://www.fsf.org/about
"The Free Software Foundation (FSF) is a nonprofit with a worldwide
mission to promote computer user freedom and to defend the rights of all
free software users."




--CIxZxLHFfcSgTwpaQ2pG5uLE9yctZhTIt--

--uyVJGx8nqdbCutu3zPJJwMUNwciM28g1B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJWBAEBCABAFiEEymnV/lrtCqpNhpze13JsPqr44+8FAlsAlroiHG1pY2hhZWwu
ZG9ycmluZ3RvbkBtZW1iZXIuZnNmLm9yZwAKCRDXcmw+qvjj7wuwEACC70P2RmoR
OIe57A5XSDRjgGzxnaplbu6DeJaGfAmbdejq0Z7iVjDhghJ6fL8y2bUA4BOLdLer
yY2y2CpXHROeFgn0UaBpRLobRmbwgjwvzU+l8XaEV3xqQm/q87Rf0usMXSGxE5Rt
nnsvQD1k2g+AyjksVzOsUdUBKntO+BaNiy4FXgSjJwjpqn2Qlo4Xr6H6sAUwQXj0
8mfzcEnYeTzE7E0TupHPK42pV0FmoQ1/OgBh/KHPW+YQDgQP5UVcWBMSNB+AVQ80
MjymtVBqcADafMFW9FmXYz+aUrUDn+8kxU6wC9CN4Vs+SsD6xHEPaX1e7fesh63d
+iPzHjH8AhvL1JEOF1yBRWhdvJT272Dx3W1nWU90ZD7iwguG36uhQcajHcKIKP2o
rT0/J1M6OT29QP0UiNFVs8QUHocgu+SNVP9vbwhBsrfD2JLldysQP2Bx2Anmw0J9
DM0uiDTn11s5XrwfvW+swH9EMwOwZXSnm9XFJmz6qneJCy9lq7jhZt2fBtYtwwji
a7EiCM42uAa7CoxeBZIcyihNuhqlmgtMPMc69vsGLstnfjlc71cH3AH02vrTlDre
Dd+DbvY4qKDEDnFbGkT6yaz6Z13pPnfMNM/krY5ZyKnZ7Q5rMiJ4hiMp8F4MNZ8I
uUrkSK/eywWzZu9Zm/47dBf3DoMevPoBXA==
=XHGd
-----END PGP SIGNATURE-----

--uyVJGx8nqdbCutu3zPJJwMUNwciM28g1B--


--===============3065817264836399234==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Fsuk-manchester mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fsuk-manchester

--===============3065817264836399234==--