Re: TeXLive and dist-upgrades of Debian Stable

Reinhard Kotucha via tex-live <[email protected]>
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
On 2025-09-03 at 14:50:07 +0200, Zdenek Wagner wrote:

 > And you should remember that ~/.profile is used by GUI but the
 > terminal uses ~/.bashrc (if you use bash). Thus if you start tex or
 > tlmgr from a terminal and your .bashrc does not read .profile, the
 > setting will not be visible. I have just ~/.bash_profile which reads
 > ~/.bashrc if it exists.

/etc/bashrc and ~/.bashrc are executed whenever you start a new Bash
shell.  /etc/profile and ~/.profile are executed if your shell is a
login shell.  profile is used by other Bourne-compatible shells too,
hence it's content has to be POSIX compliant.

What we are talking about has nothing to do with GUI vs. command line.
I'm using fvwm2 which simply inherits everything from the CLI setup.
Other GUIs might behave different for no good reason.

You can be sure that whenever you invoke a new instance of Bash,
/etc/bashrc and ~/.bashrc are executed.

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:[email protected]
------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.