views:

974

answers:

1

hi

i want to install magento extension but not from the magento connect how can i do this i have the module(extension) code and i allready install the sample data in magento installtion

A: 

From magento wiki:

Alternatively, if you do not like to make all files and folders writable to the web service, it is possible to install and upgrade Magento from shell, using command line PEAR instructions, such as:

# all commands are to be ran from the root Magento folder.
# help on all available PEAR commands:
./pear help

# set preferred stability for installed/upgraded packages (alpha,beta,stable):
./pear config-set preferred_state beta

# initial installation from downloader package:
./pear mage-setup .
./pear install magento-core/Mage_All_Latest

# install additional extension:
./pear install magento-community/Some_Extension

# list available upgrades
./pear list-upgrades

# upgrade a package
./pear upgrade magento-core/Mage_Package

# uninstall a package
./pear uninstall magento-community/Unwanted_Package

The pear script should be located under magento/downloader/pearlib

The MYYN