OpenWrt安装软件的方法(2)

如果你想要安装一个软件,但是不知道什么具体的名字,可以用命令获取到软件包的名字(opkg list |grep 软件名),然后安装,比如我想要安装tftp

root@Jack:/tmp/opkg-lists# opkg list|grep tftp
atftp- 0.7-1 - TFTP client
atftpd- 0.7-1 - TFTP server
erlang-inets- 5.8 - Erlang/OTP is a general-purpose programming language and runtimeenvironment. Erlang has built-in support for concurrency, distribution  and fault tolerance. . This Erlang/OTPpackage provides a container for Internet clients and  servers. Currently a FTP client, a HTTPclient and server, and a tftp  client andserver have been incorporated in Inets.
iputils-tftpd- 20101006-1 - Program tftpd from iputils Trivial File Transfer Protocolserver.
kmod-ipt-nathelper- 3.7.10-1 - Default Netfilter (IPv4) Conntrack and NAT helpers Includes: - ftp- irc - tftp
tftp-hpa- 0.48-3 - An enhanced version of the BSD TFTP client
tftpd-hpa- 0.48-3 - An enhanced version of the BSD TFTP server

通过上面的命令我找到我想要的tftp服务器的名字为tftpd-hpa,这样就可以先用

#opkgdownload tftpd-hpa

下载软件包,然后用

#opkginstall tftpd-hpa

来安装。也可以直接用

#opkg installtftpd-hpa

会直接先下载再自动安装。最后用

#opkglist-installed |grep tftpd-hpa

来查看是不是已经安装上了!

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/0502d9cf48404a14024e8b96a5432c1a.html