How to auto-update packages installed with pkg, pip? #18938
Replies: 2 comments 1 reply
-
This functionality is enabled for most "simple" packages. It is explicitly disabled for "core" packages such as Python, which many other packages rely on. This is mostly separate from updating packages on your device.
Please be aware that Termux uses a "rolling release" model and does not support "partial upgrades". It is possible to script
Most pip modules should work just fine.
|
Beta Was this translation helpful? Give feedback.
-
This variable is used ONLY by Termux developer scripts. When it is Nothing to do with If you want automatic updates within Termux, then, please, write own script that would fulfill your requirements and launch it via
Pay attention that some modules may require different Though, Termux DOES NOT RECOMMEND to automatically upgrade packages unless you are prepared to get environment broken at some point. Yes, environment definitely will be broken with 100% probability when using automated updates. |
Beta Was this translation helpful? Give feedback.
-
I have read the wiki page regarding auto-updating packages in Termux, which left me with the following questions:
pkg install python
, does thepython
package get automatically updated? The build.sh ofpython
saysTERMUX_PKG_AUTO_UPDATE=false
, which I interpret as a no. If my interpretation is correct, what other ways are there to automatically update packages installed withpkg
? I am specifically asking – and thankful – for a wiki page or line-by-line instructions.pip
(e.g. by executingpip install radicale
)? If not, how do I enable automatic updates of python packages installed withpip
? Again, I am specifically asking – and thankful – for a wiki page or line-by-line instructions.Beta Was this translation helpful? Give feedback.
All reactions