Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9250155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:22:51+00:00 2026-06-18T10:22:51+00:00

Every time I install a new program must I add it’s subdirectory to PATH?

  • 0

Every time I install a new program must I add it’s subdirectory to PATH? or does this statement cover all subdirectories?:PATH=$PATH:~/local/bin in my .bashrc

If I must add every subdirectory to PATH is there an automated solution that I can place in .bashrc? So that on startup it checks all subdirectories against PATH, if FALSE update?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:22:52+00:00Added an answer on June 18, 2026 at 10:22 am

    If it’s indeed the case that you have directories under $HOME/local/bin like

    $HOME/local/bin/atool
    $HOME/local/bin/btool
    $HOME/local/bin/ctool
    

    and you’d like each of these to be in your $PATH then you can do the following in your .bashrc or probably your .bash_login as you wouldn’t want this done every time you start a bash session from an existing one.

    MYLOCALPATH=`find $HOME/local/bin -type d -depth 1 | paste -s -d : -`
    PATH=$PATH:$MYLOCALPATH
    

    If that’s not the case then perhaps you could be a bit more specific in whats not happening for you as usually exes are usually installed in <somewhere>/bin and even if they’re not for versioning reasons they’ll usually be linked there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given this .rvmrc rvm install 1.9.2-p290 Every time I cd I get Already installed
For some reason, every time I attempt to install a new module using easy_install,
we have our business apps and size is 64 MB. every time add new
Every time i try to install PDT through install new software feature in Eclipse
I'm new with Symfony2 and with composer.phar to install bundles. Every time I want
I seem to make this mistake every time I set up a new development
I am trying to install Apache (by compilation)on my mac Lion. Every time, I
Every time i make a new JFrame object, the frame appears in the 0,0
Every time I try to access my localhost/phpmyadmin it gives me this error --->
Every time I upgrade to a new version of the SDK (beta and general

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.