Hello Mick, I once messed up my Guix installation, by not using sudo -i when trying to update the root profile, so I had to go through removing it as well. I wrote down all the things I removed though:
https://notabug.org/ZelphirKaltstahl/guix-package-manager-tutorials/raw/master/uninstall.org: ~~~~ rm --recursive --force /gnu/store || true; rm --recursive --force /var/guix || true; rm --recursive --force ~/.guix-profile || true; rm --recursive --force ~/.config/guix || true; rm --recursive --force /etc/guix/profile/config.scm || true; rm --recursive --force /tmp/guix.* || true; rm --recursive --force /home/xiaolong/.cache/guix || true; rm --recursive --force /root/.cache/guix/ || true; rm --recursive --force /root/.cache/guile/ || true; rm --recursive --force /var/log/guix || true; rm --recursive --force /root/.config/guix || true; rm --recursive --force /etc/systemd/system/guix-daemon.service || true; rm --recursive --force /etc/guix || true; rm --recursive --force /usr/local/bin/guix || true; rm --recursive --force /etc/systemd/system/multi-user.target.wants/guix-daemon.service || true; rm --recursive --force /usr/local/share/info/guix.* || true; rm --recursive --force /tmp/guix.Mgm || true; # all of the above does not help # you need to do also the following rm --recursive --force /var/guix || true; rm --recursive --force /gnu || true; ~~~~ This does not include the users or groups. Perhaps I did not uninstall those, because I wanted to install it again afterwards. Also (!) check all location first, to be sure you are not deleting anything you still need. Also: If any of this is not correct or damaging, please people correct me : ) Regards, Zelphir On 1/14/21 9:16 PM, [email protected] wrote: > Message: 6 > Date: Thu, 14 Jan 2021 13:34:33 +0000 > From: Mick Sulley <[email protected]> > To: [email protected] > Subject: How to remove guix > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > I am having real problems with Unison, I installed via Guix and it is > not working so I want to remove it and try with an apt install. > > I have run > > guix package -r unison > > and it seems to work, I have also installed unison with > > sudo apt install unison > > and that seemed to work as well but then I see > > mick@holly:~$ unison -version > -bash: /home/mick/.guix-profile/bin/unison: No such file or directory > mick@holly:~$ > > so it is looking for the guix version and not seeing the standard apt > install. So > > 1) How can I get it to look for the standard version rather than the > guix version > > 2) How can I remove guix completely? I have searched on-line and cannot > see anything on this. > > My PATH is > > mick@holly:~$ echo $PATH > /home/mick/.guix-profile/bin:/home/mick/.config/guix/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > mick@holly:~$ > > Thanks > > Mick
