Changes between Initial Version and Version 1 of multiple ways to install and manage software packages


Ignore:
Timestamp:
04/30/25 08:16:38 (3 weeks ago)
Author:
enno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • multiple ways to install and manage software packages

    v1 v1  
     1== Multiple ways to install and manage software packages
     2
     3=== System-wide installation (via the OS configuration):
     4
     5* Makes packages available to all users.
     6
     7* Best for shared tools or infrastructure software.
     8
     9=== User’s default profile (using guix install):
     10
     11* Manual and ad hoc.
     12
     13* Convenient for quickly installing software for personal use.
     14
     15=== Home configuration (via guix home):
     16
     17* Declarative and portable.
     18
     19* Ideal for maintaining a consistent user environment across machines.
     20
     21=== Temporary environments (using guix shell):
     22
     23* Ephemeral, isolated environments for development or experimentation.
     24
     25* Great for trying out tools without polluting your profiles.
     26
     27----
     28
     29'''Important:''' Packages only behave well together if they’re installed using the same method.
     30
     31If the same package is installed via multiple methods (e.g., system + user profile), only one will be used, and it will shadow the others.
     32
     33Example:
     34
     35Suppose vim is installed system-wide. If a user then installs their own version of vim in their default profile, that version will shadow the system version. If they also declare vim in their guix home configuration, it will shadow both the system and user-installed versions.
     36
     37This becomes especially important when dealing with extensions or plugins.
     38For example, if vim-nerdtree is installed system-wide, but the user is using a vim from their home or user profile, the system-installed plugin might not work — because it’s tied to the shadowed version of vim.