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:26] – 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 / |
| - | Find package | + | List full package |
| + | |||
| + | List installed package name only <code bash># list=$(ls / | ||
| + | |||
| + | Find installed packages | ||
| + | slackfull=slackware64-15.0 ; slacktree=/ | ||
| for pkg in $(ls / | for pkg in $(ls / | ||
| - | pkg_file=$(find | + | pkgf=$(find |
| - | [ -f "$pkg_file" ] && continue ; | + | [ -f "$pkgf" ] && continue ; |
| - | echo " | + | echo " |
| - | done | + | done</ |
| - | </ | + | |
| + | View information on specific package < | ||
| - | Find installation log for standard | + | To list all official |
| - | for pkg in $(find / | + | |
| - | base=$(basename $pkg) ; | + | done</ |
| - | name=${base%.*} ; | + | |
| - | test="/ | + | |
| - | [ -f "$test" ] && continue ; | + | |
| - | echo " | + | |
| - | done | + | |
| - | </ | + | |
| To list currently installed packages (to be used in my1live) | To list currently installed packages (to be used in my1live) | ||
| - | * get all installed packages <code bash># slackview file --name pkgs.txt --installed | + | * get all installed packages <code bash># slackview file --name pkgs.txt --insert |
| * sort based on software sets < | * sort based on software sets < | ||
| * remove those already selected for my1live < | * remove those already selected for my1live < | ||
linux/slack_4system.1736648813.txt.gz · Last modified: by azman
