Next: Installing Guix in a Virtual Machine, Previous: 手动安装, Up: 系统安装 [Contents][Index]
Success, you’ve now booted into Guix System! From then on, you can update the system whenever you want by running, say:
guix pull sudo guix system reconfigure /etc/config.scm
This builds a new system generation with the latest packages and services
(see Invoking guix system
). We recommend doing that regularly so that
your system includes the latest security updates (see 安全更新).
注: Note that
sudo guix
runs your user’sguix
command and not root’s, becausesudo
leavesPATH
unchanged. To explicitly run root’sguix
, typesudo -i guix …
.The difference matters here, because
guix pull
updates theguix
command and package definitions only for the user it is run as. This means that if you choose to useguix system reconfigure
in root’s login shell, you’ll need toguix pull
separately.
Now, see 入门, and join us on #guix
on the Libera Chat
IRC network or on guix-devel@gnu.org to share your experience!