In Latex, package is like a library that provides a list of commands that can be used to perform a particular task. To be able to use package that are not define in the latex directory (enviroment), the following steps are required to be executed:
Suppose you want to use algorithms.sty
1. Locate the directory "..\tex\latex"
2. create new folder named "algorithms" under "..tex\latex\"
3.put the algorithm.sty in "..\tex\latex\algorithms" directory
4.update the name database using the following command (using the windows mode)
c:>initexmf -u
happy latex!
