556
you are viewing a single comment's thread
view the rest of the comments
[-] Nonononoki@lemmy.world 3 points 5 months ago

To this day, I still don't know how to set a path variable permanently in any Linux distro

[-] excitingburp@lemmy.world 8 points 5 months ago

export PATH=$PATH:/mypath1:/mypath2 in ~/.profile. Means "add :/mypath1:/mypath2 to what is already in $PATH." If you need the entire system to be aware, set or update it in /etc/environment with PATH=...

[-] baseless_discourse@mander.xyz 5 points 5 months ago* (last edited 5 months ago)

I do feel like setting environment variable on linux is not as intuitive as on windows, but after I setup my workflow, I realized I never have the need to manually set any environmental variable besides in flatseal.

Maybe you have a specific use case for it?

this post was submitted on 20 Apr 2024
556 points (90.8% liked)

linuxmemes

20707 readers
1089 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS