Sometimes, I download latest compressed tarball(".tar.gz", ".tgz" etc format) binary packages to stay with the cutting age in my ubuntu linux in a manageable easy way (The unmanageable way is to compile from sources ;o). For example, say latest stable version of firefox which is distributed this way. But the problem is, you have to descend in the deep down in your unpacked directories to execute the binary. One quick and easy fix is to create a directory named "bin" in your home and adding a symbolic link in it pointing to your binary. Say, I extracted my firefox in a directory named "/home/oscar/firefox" and "firefox" is the name of the binary in it. Just, 'ln -s /home/oscar/firefox/firefox /home/oscar/bin/firefox" and restart your shell.
Note: This works because of the charisma of a ".profile" file in the home directory which adds any "bin" folder in your home to the search path, if it exists. I happen to discover it luckily. :-)
Labels
GNU/Linux
(2)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment