Installing Guix on Trisquel 10, w/ luakit and ungoogled-chromium

5 Antworten [Letzter Beitrag]
andyprough
Offline
Beigetreten: 02/12/2015

Just going to write down the steps I took today for my own future reference, hope this is helpful to someone:

0. Install the 'nscd' package:
sudo apt install nscd

1. Install the guix shell script - run these commands (as root):
cd /tmp
wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
chmod +x guix-install.sh
./guix-install.sh

2. Set up the locale (I went with the smaller set of utf8 locales - for the full set of about 1gb of locales run 'guix install glibc-locales') (as non-root):
guix install glibc-locales
export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

3. Install fonts (as non-root):
guix install gs-fonts font-dejavu font-gnu-freefont
guix install fontconfig
fc-cache -rv
xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))
xlsfonts

4. Setup the guix profile (as non-root):
nano ~/.bash_profile
Insert this text into .bash_profile:
GUIX_PROFILE="$HOME/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"

Save and exit nano by hitting the Ctrl-o keys and the Enter key, followed by the Ctrl-x keys.

5. Reboot the computer

6. Pull the latest revision of guix and update all guix packages:
guix pull
hash guix
guix upgrade

7. Reboot (might not be necessary, but I did it at this point)

8. I installed the latest luakit, ungoogled-chromium, and okular (a pdf editor). Do this as non-root:
guix install luakit ungoogled-chromium okular

9. Should be able to add ungoogled-chromium (with the "chromium" command), luakit, and okular to your Trisquel Mate menu by starting and stopping them from the command line a couple times, and Mate should automatically add them to the menu system after a short bit of time. If not, you will have to manually edit the Mate menu by right-clicking on it and selecting "Edit Menu".

10. That's it! ungoogled-chromium is the latest version 96, luakit is the latest version 2.3, and okular is a very recent version 20.12.1.

Anyone familiar with guix - please let me know if I missed any steps or did any steps incorrectly. These steps are working for me on Trisquel 10 right now.

andyprough
Offline
Beigetreten: 02/12/2015

Here's icecat 91 preview version from guix.

This is one amazingly good browser. Probably better than LibreWolf.

guix-icecat.jpg
SkedarKing
Offline
Beigetreten: 11/01/2021

Has Icecat development started to get faster? I hope so for all yall sake. :)

Malsasa
Offline
Beigetreten: 12/01/2016

I like Icecat too.

Geshmy
Offline
Beigetreten: 04/23/2015

I'm following your steps in Trisquel-mini (Just realized, LXDE desktop, not XFCE)

After running guix pull I got this error:

building package cache...
-builder for `/gnu/store/3ya08d8nz9ishh3jib6ddn96wx1dz1bb-guix-package-cache.drv' failed to produce output path `/gnu/store/ci8ipms8bqg9lwv4afy25x9njqyzzb6r-guix-package-cache'
build of /gnu/store/3ya08d8nz9ishh3jib6ddn96wx1dz1bb-guix-package-cache.drv failed
View build log at '/var/log/guix/drvs/3y/a08d8nz9ishh3jib6ddn96wx1dz1bb-guix-package-cache.drv.bz2'.
cannot build derivation `/gnu/store/wd5jipj4nz57hcbdxfvhm8asjl89a0v2-profile.drv': 1 dependencies couldn't be built
guix pull: error: build of `/gnu/store/wd5jipj4nz57hcbdxfvhm8asjl89a0v2-profile.drv' failed

So I found the archived log, extracted it and here is what it says

(repl-version 0 1 1)
Generating package cache for '/gnu/store/9z87frib9331dxqfpx9x1slaf5z0chxq-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (modify-phases)) (value #f))

Since I had got this far, I plunged on ahead and also got

guix upgrade
guix upgrade: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

But installing the browsers seemed to go without a hitch and I am running guix pull again now.

Edit: Second run of 'guix pull' went without a hitch.

I also ran 'hash guix' and 'guix upgrade' again and the upgrade brought the newest versions of the browsers you mentioned.

Thanks for the great guide!

I'll see if the apps show up on the menu in a bit on LXDE.

andyprough
Offline
Beigetreten: 02/12/2015

Awesome for pushing through the problems! I had nearly the exact same errors, I think on my Hyperbola install of the Guix package manager. If I recall, I restarted the machine, ran 'guix pull' again, and it began to correct itself like in your instance.

Good luck!