improve package installation.

- Added some configuration for installation process.
- Tried some installation tricks