linux:slack_4system
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:slack_4system [2025/01/12 10:21] – azman | linux:slack_4system [2025/12/07 09:41] (current) – [Listing Packages] azman | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Listing Packages ===== | ===== Listing Packages ===== | ||
| - | Run ls -l output on / | + | Simply list files in / |
| + | List full package name (with version) only <code bash># for that in $(ls / | ||
| + | |||
| + | List installed package name only <code bash># list=$(ls / | ||
| + | |||
| + | Find installed packages that are not in Slackware tree <code bash> | ||
| + | slackfull=slackware64-15.0 ; slacktree=/ | ||
| + | for pkg in $(ls / | ||
| + | pkgf=$(find $slacktree/ -name " | ||
| + | [ -f " | ||
| + | echo "** Package ' | ||
| + | done</ | ||
| + | |||
| + | View information on specific package < | ||
| + | |||
| + | To list all official packages without DE <code bash>for pack in a d k l n ap t tcl x xap ; do | ||
| + | slackview file --name pkgs.txt --insert --pack $pack ; | ||
| + | done</ | ||
| + | |||
| + | To list currently installed packages (to be used in my1live) | ||
| + | |||
| + | * get all installed packages <code bash># slackview file --name pkgs.txt --insert --installed</ | ||
| + | * sort based on software sets < | ||
| + | * remove those already selected for my1live < | ||
| + | * rename pkgs.txt to my1live list (e.g. XXmore.list) | ||
| + | |||
| + | ===== Building Custom Kernel ===== | ||
| + | |||
| + | * run shell script ([[https:// | ||
| + | * select version, download source | ||
| + | * extract at ''/ | ||
| + | * copy a config from ''/ | ||
| + | * use that config < | ||
| + | * configure build < | ||
| + | * build the kernel < | ||
| + | * build/ | ||
| + | * '' | ||
| + | * copy (as root) kernel < | ||
| + | cp arch/ | ||
| + | cp System.map / | ||
| + | cp .config / | ||
| + | * generate initrd if using generic< | ||
| + | * a useful initrd generator script IS available | ||
| + | * run ''/ | ||
| + | * then run the generated/ | ||
| + | * checkout the '' | ||
linux/slack_4system.1736648472.txt.gz · Last modified: by azman
