Skip to content
/ cli Public

Debian Assistant CLI +GenAI

License

Notifications You must be signed in to change notification settings

nimadez/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI

Debian Assistant CLI
Kernel 6.1.0 to 6.9.12

  • .patch: rarely used system scripts
  • .unused: unused scripts
  • .windows: frozen windows scripts
🔷  GNOME Extensions  
Extension GNOME
panel-hwinfo-43@nimadez 43
panel-hwinfo-46@nimadez 46

Add hardware info and transparency to panel
hwinfo

FAQ

How to install Debian with GNOME core desktop?

0- [Disable Secure Boot]
   - Optional, but you have to sign the drivers manually
   $ sudo mokutil --disable-validation
1- [Install Debian]
   - Select "Expert Install"
   - Install minimal debian 12 to start from command-line
   - Do not select "allow login as root" to enable the "sudo" command
   - Do not download or install extras, we're going to update the kernel
   $ sudo apt edit-sources    # comment out the "cdrom" line if needed
2- [Setup Networking]
   $ ip link
   $ sudo nano /etc/network/interfaces
   $ sudo service networking restart
   net-tether.sh              # quick setup USB tethering (optional)
3- [Git Clone]
   $ sudo apt install git
   $ git clone https://github.com/nimadez/cli
4- [Select Branch]
   apt-sources-gen.sh         # generate debian sources.list
   $ update && full-upgrade && reboot
5- [Software Installation]
   apt-install-headers.sh     # install kernel headers
   apt-install-nvidia.sh      # install nvidia driver, reboot is required (all non-free)
   apt-install-gnome.sh       # minimal gnome-core only, no firefox and games (all free)
   apt-install-free.sh        # install common free software
   gnome-debloat.sh           # be careful, it will remove the gnome-software
6- [Finish Installation]
   swap-make.sh               # make a swap file if you don't have a swap partition
   purge-hard.sh              # purge ~/.cache if you don't keep permanent files there

Choose the appropriate branch in step 4:
1:   Maximum stability, but you can't install major drivers like Nvidia
2-4: A balance of stability and up-to-date software (Bookworm with GNOME 43)
5-6: You will get Trixie in the testing or Sid in the unstable branch (both GNOME 46)
optional: .patch/apt-bookworm-bpo.sh   # update kernel for "bookworm-backports"

**************************************************
NOTICE: nvidia-kernel-dkms bug (driver 535/545, introduced in Aug 2024)
The nvidia kernel module fails to compile with linux-image-6.10.x in recent
Debian updates in testing/unstable (trixie/sid) and backported branches.
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1988571.html
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1983502.html
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1984969.html
If you need nvidia-driver, you need to switch back to the stable branch (bookworm)
or target kernel 6.9.x which is not safe in terms of security issues!

Based on the above, I recommend installing option (3) in step 4 (stable-proposed).
**************************************************

* Remember to reinstall kernel headers after every kernel update
* The above has been updated in reinstallation on Aug-29-2024

How to run these scripts system wide?

sh install.sh
* This will symlink scripts to "/usr/local/bin" and remove extensions.

History

↑ Wine requirement reduced to zero, migration completed
↑ Debian assistant with AI support
↑ Q1 2024 - Migrating to Debian Linux after 30 years of MS-DOS/Win32
↑ Created in 2019 for system automation on Windows machine

"A machine can reprogram another machine from scratch."

License

Code released under the GPL-3.0 license.

Credits