Ad Code

How To Upgrade All The Upgradable OpenWRT Packages With Just One Command?

Usually we upgrade packages on the web interface of OpenWRT, one by one. But when you have hundreds of packages to be upgraded, you would feel silly to click your mouse. 

OpenWRT is built from Linux. So, use the commands.

You can type either on the web terminal or the local terminal connected with SSH. 

Firstly, it's recommanded to update your list of packages:

opkg update

And then, to upgrade all LUCI packages prefixed with luci-:

opkg list-upgradable | grep luci- | cut -f 1 -d ' ' | xargs opkg upgrade

If you want to upgrade all packages, remove grep luci- | from the command, that is:

opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade

Stand up and take a walk, it's probably done when you're back.

Post a Comment

1 Comments

  1. Lucky 88 Casino - Mapyro
    Lucky 88 Casino in Gary, MI is a casino and racino 대구광역 출장마사지 located in Gary, MI. 군산 출장안마 It has 1,054 군포 출장샵 slots, 12 양주 출장마사지 table games, and 16 table games. 김해 출장샵 Rating: 3.6 · ‎1,015 votes

    ReplyDelete

Your ideas light up the world.

Ad Code