556
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
To this day, I still don't know how to set a path variable permanently in any Linux distro
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
withPATH=...
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?