Openwrt list of installed packages




















Note 2: Since the compression of JFFS2 is transparent, commands like ls will always report the size of the uncompressed file. You can make use of glob patterns directly and also write a little shell script to use regular expressions and otherwise further process information.

Use a pipeline and grep , or awk , or sed to filter that output:. Mass upgrade of all packages is strongly discouraged. If you still want to proceed, set up Opkg extras or use the following one-liner:.

This file is accessible and can be modified from Luci Web interface too, Click on Services then on Software. Click on Configuration tab.

Both files are accessible and can be modified from Luci Web interface too, Click on Services then on Software. Click on Configuration tab, then scroll down. OpenWrt uses multiple repositories, where every repository requires a unique identifier.

It is logical to use their original names, e. The following paragraph requires proofreading and likely some modification to be adapted for the current OpenWrt status. The number specifies a priority index which is used by opkg to determine which package to prefer in case it is available in multiple architectures.

Alternatively, a username and password may be provided as part of the URL if busybox wget is installed:. Authentication currently fails when using uclient-fetch as wget due to Proxy-Authorization not yet being implemented. If you are running apt-cacher-ng and want to use that for OpenWRT, you may experience problems downloading.

In that case put the following line in your acng. Remove partly installed packages and their dependencies if opkg runs out of space during a transaction. There may be use cases where having a package repository on the device itself is advantageous.

Such cases may include:. Convert this into LEDE and explain what it is actually doing. An example of modifying the opkg. To share the repository with other devices local to the network, use the following shell code. This creates a hard link from the mounted directory to the web server root directory, so the web server can traverse the link and see the mounted filesystem:.

On the second device, perform a similar search and replace using sed, but instead point to the first device's IP address in this case Due to its history fork of ipkg , opkg can specify a destination different than root for package installation, but since most packages don't support this natively, it's more a curiosity than actually useful. Uninstalling included packages doesn't free space.

I have not installed opkg using opkg! I remember installing gparted , for example, so I removed it, but there are packages on the result, as I could check with opkg list-installed grep ". I don't want to remove packages already present on the distro, just the ones I installed after the distro was installed. So, I don't want a smaller LEDE package, but that my LEDE, that already had some packages installed by me, have those packages removed, to free up space on the overlay partition.

If all the stuff you need to install to get extroot working still fits into your flash, then there's no need to remove anything you installed after flashing. I asked due to the possibility of removing the USB drive on the future, and then needing to deal with a smaller space again There is section close to tha top of the page that describes how to list user installed packages.

The difference will give you some info but not necessarily reveal which packages were installed as dependencies. And then simply run it with.

Just wait for it to go through your packages and list the ones you installed manually. You can now copy the list to your local machine and keep it safe until the upgrade is complete. Afterwards put the list into a file like, say, packages. Now go upgrade OpenWrt or build an image!



0コメント

  • 1000 / 1000