I'm guessing you have something that needs to be installed somewhere not in a "normal" $PATH like /opt/ or /usr/local/, right? If so, you can put a link in /usr/bin to the executable. Alternately you could create a short script that launches the executable and place the script in /usr/bin.
Yes that's right and the package is vmware workstation.
the solution you suggested was actually what i thought and i looked up other binary packages and that's how it was done but the problem here is there's a bunch of binaries for vmware and it would be just easier to add vmware's bin directory than to symlink each binary and hence what i asked.
The question is pretty vague, but if you're asking how to add a dir to $PATH after the package is installed, install a profile to /etc/profile.d/ containing something like this:
export PATH="$PATH":/opt/smth/bin
Otherwise, you need to provide actual details about what you want.
This seems to be what i want i'll try this.
Thanks
]]>I'm guessing you have something that needs to be installed somewhere not in a "normal" $PATH like /opt/ or /usr/local/, right? If so, you can put a link in /usr/bin to the executable. Alternately you could create a short script that launches the executable and place the script in /usr/bin.
]]>export PATH="$PATH":/opt/smth/bin
Otherwise, you need to provide actual details about what you want.
]]>