How to install titlesec and secsty packages? [duplicate]

Possible Duplicate:
How do I update my TeX distribution?
How can I change the package repository?

Please help me to install packages. When I install the options for random repository package is not shown.

• It's hard to tell without knowing which TeX distribution you're using. – egreg May 21 '12 at 14:30
• There's some pretty explicit answers here: How do I update my TeX distribution. – Alan Munn May 21 '12 at 14:52
• Consider updating your distribution from MiKTeX 2.8 to MiKTeX 2.9. – Werner May 21 '12 at 15:02
• The best thing you can do is to fully install MiKTeX version 2.9 or TeX Live. – egreg May 21 '12 at 15:03