I was doing some research on how on might be able to use snap packages on puppy. I found the following script to simulate (somewhat) the systemd function:
/usr/bin/systemctl
Code: Select all
#!/bin/bash
# First parameter should be start or stop
# Second parameter will be the name of a unit file
if [ $# -lt 2 ]
then
echo "usage: $0 start unit-file"
exit 0
fi
if [ $1 == "start" ]
then
what=$(grep What /etc/systemd/system/"$2" | cut -f 2 -d '=')
where=$(grep Where /etc/systemd/system/"$2" | cut -f 2 -d '=')
mkdir -p "$where"
mount $what $where
exit 0
fi
if [ $1 == "stop" ]
then
where=$(grep Where /etc/systemd/system/"$2" | cut -f 2 -d '=')
umount $where
exit 0
fi
https://forum.mxlinux.org/viewtopic.php ... pd#p435179
according to the thread on the Mx linux form it should work. I'll give it a try. Anyway the basic steps are first to install "snapd" form the package manager.
https://snapcraft.io/docs/installing-snapd
Enable the socket for snapd (assume the above script is installed in lieu of systmd):
Code: Select all
systemctl enable --now snapd.socket
https://snapcraft.io/docs/installing-snap-on-arch-linux
Then start this with the following command:
Code: Select all
systemctl start snapd
Then
Code: Select all
snap install core
and optionally
Code: Select all
snap install snap-store