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:25] – 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 |
| - | for pkg in `ls / | + | |
| - | pkg_file=`find / | + | |
| - | [ -f " | + | |
| - | echo " | + | |
| - | done | + | |
| - | </ | + | |
| - | Find installation log for standard packages | + | List installed package name only <code bash># list=$(ls |
| - | for pkg in `find /home/share/slackware/slackware64-14.2/ | + | |
| - | base=`basename | + | Find installed packages that are not in Slackware tree <code bash> |
| - | name=${base%.*} ; | + | slackfull=slackware64-15.0 ; slacktree=/ |
| - | test="/ | + | for pkg in $(ls / |
| - | [ -f "$test" ] && continue ; | + | pkgf=$(find $slacktree/ -name "${pkg}.txz" |
| - | echo "Cannot find file for $test" ; | + | [ -f "$pkgf" ] && continue ; |
| - | done | + | echo "** Package '$pkg' is alien!" ; |
| - | </ | + | 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) | 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.1736648729.txt.gz · Last modified: by azman
