With the help of your method I am able to install programs in my home directory. And they are working fine.
But problem with opera is that it is dependent on library "libstdc++.so.5" and this is not in my system. I don't know how to install it without root privileges.
I am try with "yum" but it needs root password.
Can I install this library in my home directory and set some paths to give its address????
Originally Posted by jschiwal
Maybe, but not using yum. You may be able to install opera if you create your own $HOME/usr/bin and $HOME/usr/lib directories. You will need to prefix the command with LD_LIBRARY_PATH=$HOME/usr/lib/ if the package uses /usr/lib. Also add $HOME/usr/bin to your PATH variable.
Instead of installing opera normally using yum or rpm, extract the files with unrar or midnight commander (mc).
You can examine an rpm file before you install it with "rpm -qlp <filename>". There could be a problem if opera needs to read a config file in /etc/, but usually a program will look for a config file in your home directory and use that if it is present.
I can't guarantee this will work. A lot depends on how the program is designed. Some programs like Sun Office have installers that can be install the program for an indivual user.