2013-04-25 51 views
0

我只想安裝星號軟件。爲此,我需要安裝perl cmd等。但是,當我嘗試在ubuntu上安裝perl時,系統回覆:權限被拒絕。當我在ubuntu系統上安裝perl系統回覆權限被拒絕

這是我用過的命令:

[email protected]:~$ cd /usr/local 
[email protected]:/usr/local$ 
[email protected]:/usr/local$ wget http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz 
--2013-04-25 16:56:59-- http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz Resolving 
asterisk.gnuinter.net (asterisk.gnuinter.net)... 69.54.200.117 
Connecting to asterisk.gnuinter.net 
(asterisk.gnuinter.net)|69.54.200.117|:80... connected. HTTP request 
sent, awaiting response... 200 OK Length: 13217 (13K) 
[application/x-tar] asterisk-perl-0.08.tar.gz: Permission denied 

Cannot write to `asterisk-perl-0.08.tar.gz' (Permission denied). 
[email protected]:/usr/local$ 

我怎樣才能得到適當的權限來做到這一點?

+1

看起來你沒有權限寫/ usr/local。嘗試sudo wget ... – BlackBear 2013-04-25 11:34:54

+0

@BlackBear:提供完整的權限命令。 – soundari 2013-04-25 11:38:49

+0

在正常情況下,我們如何賦予文件權限。 – soundari 2013-04-25 11:53:30

回答