Wurst_User You can set environment variables on Debian-like Linux distributions in several ways. Here are two common methods:
Setting Environment Variables in /etc/environment:
This file is used to set system-wide environment variables. You can add a new variable by just editing the file.
Setting Environment Variables in Shell Initialization Files:
You can also add environment variables in shell initialization files such as
~/.profile, although I'm not 100% sure that those would be visible to Wurst.
~/.bashrc in a text editor. For instance, using nano:
Add your environment variable in the form
export NAME=VALUE. For example:
Save and close the file. The changes will take effect at the next login or you can use the source command to apply the changes immediately:
Please note that these changes will apply to all users on the system if you add them to
~/.bashrc of the root user. If you want to apply them only to a specific user, add them to that user's