installd defaults

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-04-22 15:40:38 -05:00
parent 0b0cdb1bd3
commit 5fad96ed16
1 changed files with 9 additions and 7 deletions

View File

@ -75,22 +75,24 @@ func mainTab(n *gui.Node) {
os.Exit(0)
}
})
rn.NewButton("apt update", func () {
rn.NewButton("apt-file", func () {
myGui.CloseToolkit("gocui")
doCmd("apt update")
doCmd("apt install apt-file")
doCmd("apt-file update")
doCmd("apt-file -x search '/libOpenCL.so.1'")
os.Exit(0)
})
rn.NewButton("apt dist-upgrade", func () {
rn.NewButton("install defaults", func () {
myGui.CloseToolkit("gocui")
doCmd("apt dist-upgrade")
doCmd("apt install -y lsof bash-completion libpam-systemd dbus rbd-nbd golang-go git screen vim " +
"ethstatus iftop ethtool sysstat traceroute whois devscripts automake libtool devscripts " +
"nmap clang rsync bind9utils dnsutils net-tools tcpdump wget curl iputils-ping pciutils " +
"iptables sysbench man usbutils ssh neofetch bc lshw telnet hdparm vrms")
os.Exit(0)
})
rn.NewButton("purge rc-only", func () {
xterm("cd ~/jcarr/setup; make reset-purge-rc-only-packages")
})
rn.NewButton("install defaults", func () {
xterm("cd ~/jcarr/setup; make setup-packages-default")
})
rn.NewButton("install kvm", func () {
xterm("cd ~/jcarr/setup; make setup-packages-kvm")
})