linux:slack_4system
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:slack_4system [2025/01/12 10:18] – created azman | linux:slack_4system [2025/01/12 10:58] (current) – [Listing Packages] azman | ||
---|---|---|---|
Line 3: | Line 3: | ||
Useful system level notes. | Useful system level notes. | ||
+ | ===== Listing Packages ===== | ||
+ | |||
+ | Simply list files in / | ||
+ | |||
+ | List full package name (with version) only <code bash># for that in $(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 currently installed packages (to be used in my1live) | ||
+ | |||
+ | * get all installed packages <code bash># slackview file --name pkgs.txt --installed --insert</ | ||
+ | * 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.1736648331.txt.gz · Last modified: by azman