Okay now i tell a little history, after installed wordpress on localhost i can’t upload this plugin and theme.
solution you must rewritable on your where directory wordpress installed
1 # chmod -R 777 /var/www/htdocs/wordpress
and now you must edit file on wp-config.php and add to under line
1 define('FS_METHOD', 'direct');
may be useful :)