Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Because I am working on a user setup repository, such that user settings are not scattered all over the place.
So you've got a .bash_profile, a .profile, .bashrc, and an linge-profile.rc....but don't want things 'scattered all over the place'?? They already ARE scattered.
Set things up in the default profile on your system, so any new users get the path info, by putting it in /etc/skel/.profile (or .bashrc). Edit your profile to have those variables, and you're done.
.profile and .bashrc were there already. Things are scattered, but not the actual commands (all are in directory ${HOME}/Opstk/bin/gun-1.0/linge). I just access them.
@TBOne What would you suggest as a good system? Remove .bash_profile and put things in the .bashrc? Have read that .bash_profile is intended for terminal prompt settings.
@TBOne What would you suggest as a good system? Remove .bash_profile and put things in the .bashrc? Have read that .bash_profile is intended for terminal prompt settings.
You were given this advice earlier; you then opened another thread for the same thing. Reported as duplicate.
But, when I do echo $PATH, the directory ${tldir}/bin/x86_64-linux is not there. I also have a .profile. I am using Ubuntu 18.04.
Did you troubleshoot this at all? 'set -x'? Maybe remove the rather pointless enclosing function? Come to think of it, that might be the reason it's not working. Dunno. I did NOT troubleshoot your code.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.