help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to remove guix


From: Zelphir Kaltstahl
Subject: Re: How to remove guix
Date: Fri, 15 Jan 2021 13:57:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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, help-guix-request@gnu.org wrote:
> Message: 6
> Date: Thu, 14 Jan 2021 13:34:33 +0000
> From: Mick Sulley <mick@sulley.info>
> To: help-guix@gnu.org
> Subject: How to remove guix
> Message-ID: <e61e6f98-a0f5-5cb2-153c-076395af26ae@sulley.info>
> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]