Openwrt package management operations

EDITORIAL:
This article aims to summarize the backup, to facilitate future inquiries, as is the personal summary, if wrong, please correct me; in addition, most of the content from the Internet, books, and various manuals, should please inform the infringement, immediately delete posts to apologize.

 

Package management techniques used in OpenWRT, called OPKG, it is a lightweight package technology has become the de facto standard open source embedded, can be achieved on a pre-compiled binary software downloads.

 

CLI

Input: opkg list_installed, you can see the software packages already installed

Basic commands:

Enter to see the full opkg entire software help. Syntax: opkg [parameters ...] subcommand [... sub-parameters], the parameters are:

available on the update server to download the list of packages
upgrade <package name> upgrade package
install <package name> installation package
configure <package name> to configure one software package
remove <package name> uninstall packages
info [pkg | regexp] display the information specified package

System commands much more than I want to introduce, and these are the most commonly used commands.

Finally, do not forget to reboot the router

 

By LuCI page operation

Enter LuCI page, select "System - Package" (System-Softeware).
 
First, click the "Refresh List" (update list) button is used to update the latest networking package list;
 
Then enter <keyword> in the "filter" to find the package, such as the search for the package you want to opkg installed directly.
 
Finally, the "Installed Packages" to confirm whether the installation was successful.
 
If you do not know what the package can go to the official website to find your input Openwrt firmware version corresponding package to see which version of the package offers
 
 
2, package
 
Similarly, you can see the package has been installed on the left, there is a remove operation, you do not want want to uninstall directly click on it to complete the uninstall work
 
 
Published 31 original articles · won praise 12 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_42992084/article/details/103945877