vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Anyone knows of a comfortable way to browse the content of various Slackware packages? I'm currently reworking my "Linux From Slack" documentation, and I need to have a detailed look at the content of many packages from a/, ap/, d/, l/ and n/. It's a bit tedious to explodepkg every package one by one ,run 'tree | less' and then rm -rf afterwards. Niki |
| |||
| Hallo, Niki, Du meintest am 12.12.07: > Anyone knows of a comfortable way to browse the content of various > Slackware packages? FTP-Server: .../linux/slackware/slackware-<version>/slackware/MANIFEST.bz2 Viele Gruesse Helmut "Ubuntu" - an African word, meaning "Slackware is too hard for me". |
| |||
| In article <475fdde2$0$27095$426a34cc@news.free.fr>, Niki Kovacs <mickey@mouse.com> wrote: > Anyone knows of a comfortable way to browse the content of various > Slackware packages? IIRC, Konqueror (KDE's file manager) will let you browse right into tgz archives as if they were directories. - Martijn |
| |||
| Niki Kovacs <mickey@mouse.com> wrote: >Anyone knows of a comfortable way to browse the content of various >Slackware packages? I primarily recommend Helmut's suggestion of using the MANIFEST file... ....but you can also open a tar file with vim. (There's a plug-in to handle it which ships standard.) Then you can select files to view from within vim. It rocks. For more info in vim, type :help pi_tar -Beej |
| |||
| On 2007-12-12, Beej Jorgensen <beej@beej.us> wrote: > Niki Kovacs <mickey@mouse.com> wrote: >>Anyone knows of a comfortable way to browse the content of various >>Slackware packages? > > I primarily recommend Helmut's suggestion of using the MANIFEST file... > > ...but you can also open a tar file with vim. (There's a plug-in to > handle it which ships standard.) Then you can select files to view from > within vim. It rocks. less(1) will do the same thing. -RW |
| |||
| Niki Kovacs wrote: > Hi, > > Anyone knows of a comfortable way to browse the content of various > Slackware packages? I'm currently reworking my "Linux From Slack" > documentation, and I need to have a detailed look at the content of many > packages from a/, ap/, d/, l/ and n/. It's a bit tedious to explodepkg > every package one by one ,run 'tree | less' and then rm -rf afterwards. Give mc a try. Steve |
| |||
| Martijn Dekker <martijn@inlv.demon.nl> says: >In article <475fdde2$0$27095$426a34cc@news.free.fr>, > Niki Kovacs <mickey@mouse.com> wrote: >> Anyone knows of a comfortable way to browse the content of various >> Slackware packages? >IIRC, Konqueror (KDE's file manager) will let you browse right into tgz >archives as if they were directories. mc will allow you to look inside if you prefer a CLI app. cordially, as always, rm |
| ||||
| Wed, 12 Dec 2007 13:10:59 +0000, Niki Kovacs did catÂ*: > Hi, > > Anyone knows of a comfortable way to browse the content of various > Slackware packages? I'm currently reworking my "Linux From Slack" > documentation, and I need to have a detailed look at the content of many > packages from a/, ap/, d/, l/ and n/. It's a bit tedious to explodepkg > every package one by one ,run 'tree | less' and then rm -rf afterwards. > > Niki Depending on what you want to do there are many possibilities, when I need to quickly check stuff about a package I usually take a glance at the MANIFEST file. example, which package contains libfribidi: # bzcat ...pathtoyourrepository/slackware/MANIFEST.bz2 | awk '/libfribidi/{print $5}' RS= ../l/fribidi-0.10.7-i486-1.tgz example, what is in the fribidi-0.10.7-i486-1.tgz package: # bzcat ...pathtoyourrepository/slackware/MANIFEST.bz2 | awk '/fribidi-0.10.7-i486-1.tgz/' RS= ++======================================== || || Package: ./l/fribidi-0.10.7-i486-1.tgz || ++======================================== drwxr-xr-x root/root 0 2006-06-14 01:38:44 ./ drwxr-xr-x root/root 0 2006-06-14 01:38:44 usr/ ....^C And if you want to print the content of the corresponding .txt: # toto=$(bzcat ...pathtoyourrepository/slackware/MANIFEST.bz2 | awk '/libfribidi/{print $5}' RS=) # cat "..pathtoyourrepository/slackware/${toto/%.tgz/.txt}" fribidi: fribidi (Unicode BiDirectional algorithm library) fribidi: .... Now, that this method could be called "a comfortable way to browse the content..." is probably a question of balance ;-) |