Page 1 of 1

DietPi-Software | from the command line

Posted: Fri Feb 09, 2018 4:54 pm
by baz123
baz123 wrote:I am sure I have seen something about using dietpi-software from the command line if you know the package number. Could someone remind me or point me to the docs on it please?

Re: dietpi-software from the command line

Posted: Fri Feb 09, 2018 6:40 pm
by Fourdee
baz123 wrote:I am sure I have seen something about using dietpi-software from the command line if you know the package number. Could someone remind me or point me to the docs on it please?
Its currently undocumented, as its intended for dev use only.

However,

List all software titles:

Code: Select all

dietpi-software list 
Find netdata only:

Code: Select all

dietpi-software list | grep netdata
Example Install netdata

Code: Select all

dietpi-software install 65
Reinstall netdata:

Code: Select all

dietpi-software reinstall 65
Uninstall netdata:

Code: Select all

dietpi-software uninstall 65

Re: dietpi-software from the command line

Posted: Tue Feb 13, 2018 7:16 pm
by baz123
Excellent many thanks. I've a list of software I install into VMs and it is quicker than going through the menu system as I am inclined to do one at a time :D :D

Re: dietpi-software from the command line

Posted: Tue Feb 13, 2018 9:04 pm
by Fourdee
baz123 wrote:Excellent many thanks. I've a list of software I install into VMs and it is quicker than going through the menu system as I am inclined to do one at a time :D :D
command supports multiple index inputs, you can 1 line it :) eg:

Code: Select all

dietpi-software install 65 125 129 3

Re: dietpi-software from the command line

Posted: Wed Feb 14, 2018 11:05 am
by baz123
Excellent :D :D