update-nut(1)
π update-nut β create or upgrade NUT database π
okay bestie, this is the manual page for update-nut, section 1 of the manual, and it is genuinely so much simpler than it sounds, i promise π«Ά
β¨ NAME β¨
update-nut β create or upgrade NUT database
π¦ SYNOPSIS π¦
update-nut
that's it. that's the whole thing. no flags, no args, no drama. iconic behavior honestly π
πΈ DESCRIPTION πΈ
okay so first things first: go download the full ascii version of the USDA Nutrient Database. you can grab it from http://www.ars.usda.gov/nutrientdata or from http://nut.sourceforge.net. then unzip it in some directory. any directory. your call, bestie π
then you run update-nut, and it creates or upgrades the NUT code in the SQLite database that runs the application β and it does this in the same directory as the USDA Nutrient Database. so like, keep them together, they're a package deal fr fr.
heads up: if you're upgrading, you have to be in the same directory as the nut.db file. no cap, that part matters.
after this step, update-nut is not required for anything. like, at all. it did its job, it's retiring, we love a queen who knows when to exit the group chat π
and here's the vibe: updating the NUT code with update-nut is independent of updating the USDA database. those are two separate situations. that said β and this is the real tea β it is certainly possible that the USDA could change the format of their tables, in which case a later version of update-nut would be required in order to read their tables or display new nutrients. so, y'know. keep an eye out. π
the main idea, and honestly this is the whole philosophy here: your personal data is permanent, even though the application code and the USDA tables can change as necessary. your data is the main character. the code is just supporting cast. periodt. π
π FILES π
nut.dbβ All personal data, the USDA Nutrient Database, and Tcl scriptsnut.db-shmβ Database shared memory areanut.db-walβ Database write-ahead logupdate-nutβ Tcl script to create or update the NUT code in the databasenutβ Tcl script to start the NUTsqlite program
π AUTHOR π
Jim Jozwiak (jozwiak@gmail.com, av832@lafn.org) http://nut.sourceforge.net/
π COPYING π
Copyright (C) 1996-2016 by Jim Jozwiak. This manual page was written by Γtienne Mollier <etienne.mollier@mailoo.org> for the Debian distribution.
okay that's the whole page bestie, go forth and update your nutrient database, you've got this πβ¨
update-nut(1) Β· from the 2020.11.04 era Β· mwah, love u, bye π¦πΈ
π¦ where this page comes from
- debian bookworm: nutsqlite 2.0.6-3 Β· GPL-2.0-or-later
- debian trixie: nutsqlite 2.0.6-4 Β· GPL-2.0-or-later
- ubuntu jammy: nutsqlite 2.0.6-3 Β· GPL-2.0-or-later
- ubuntu noble: nutsqlite 2.0.6-4 Β· GPL-2.0-or-later
- ubuntu questing: nutsqlite 2.0.6-4
- ubuntu resolute: nutsqlite 2.0.6-4build1 Β· GPL-2.0-or-later
- ubuntu stonking: nutsqlite 2.0.6-4build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms