LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2013, 04:37 PM   #1
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,048

Rep: Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673
Question How To Get Package Installed Info Like KDE3 KPackage Used To?


Greetings
I'm not sure how to best pose my question that will give people a frame of reference so they can help me get the best solution,
since I have one that works but seems like unnecessary "jumping through hoops" but I need to try.

It used to be in KDE3 that KPackage would list in the left window all installed packages and the summary on the right window had a tab called "File List" which showed where files were installed. So for example, if I installed a package called "foo" I could see at a glance that version 2.3.4 was installed on 12/1/2012 and that the executable was in "usr/local/bin/foo" and libraries were in "/usr/lib/foo", icons in "/user/share/icons/foo" or wherever and so on. I found this
extremely useful for many operations.

Once I started using KDE4 and up until now I went to the trouble of installing enough KDE3 support libraries to use the old KPackage app which was first changed into something I found less useful, and then, afaik, dropped altogether. I have the instinct that such information is kept somewhere basic and that KPackage v3 simply
read and organized this information. So I am wondering if there is a better/easier way of seeing such info, preferably well organized, instead of having to accommodate KPackage v3?

Can anyone point me in the right direction? If it matters, I still use 32 bit Slackware 14.
 
Old 12-01-2013, 04:58 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The directory /var/log/packages contains information about your installed packages. Each packages has a text file, whose name contains package name, version and architecture (and possibly a suffix, like SBo or alien, if you have such packages installed). Each textfile contains information about the package. This is for example the text file that belongs to the links browser:
Code:
PACKAGE NAME:     links-2.8-x86_64-1
COMPRESSED PACKAGE SIZE:     1.9M
UNCOMPRESSED PACKAGE SIZE:     3.1M
PACKAGE LOCATION: ./links-2.8-x86_64-1.txz
PACKAGE DESCRIPTION:
links: links (WWW browser for the console)
links:
links: Links is a console mode WWW browser, supporting colors, correct table
links: rendering, background downloading, frames, Javascript, and a menu
links: driven configuration interface.  The default is text output, but
links: graphical output (using -g) is also supported using the Linux
links: framebuffer console or SVGAlib.
links:
links: links was written by Mikulas Patocka.
links:
links:
FILE LIST:
./
install/
install/slack-desc
usr/
usr/bin/
usr/bin/links
usr/man/
usr/man/man1/
usr/man/man1/links.1.gz
usr/doc/
usr/doc/links-2.8/
usr/doc/links-2.8/mailcap.pl
usr/doc/links-2.8/AUTHORS
usr/doc/links-2.8/ChangeLog
usr/doc/links-2.8/COPYING
usr/doc/links-2.8/README
usr/doc/links-2.8/INSTALL
usr/doc/links-2.8/links_cal/
usr/doc/links-2.8/links_cal/picture-icon.png
usr/doc/links-2.8/links_cal/black-icon.png
usr/doc/links-2.8/links_cal/picture-crank-0.png
usr/doc/links-2.8/links_cal/black-control-rocking.png
usr/doc/links-2.8/links_cal/adjusted.png
usr/doc/links-2.8/links_cal/test_pattern.png
usr/doc/links-2.8/links_cal/elbow.png
usr/doc/links-2.8/links_cal/picture-crank-up.png
usr/doc/links-2.8/links_cal/kalibrace.html
usr/doc/links-2.8/links_cal/calibration.html
usr/doc/links-2.8/NEWS
usr/doc/links-2.8/SITES
So actually all you need to get information about packages is a file browser and a text editor/viewer. It should be pretty easy to write simple programs to display that information.
 
Old 12-02-2013, 01:51 PM   #3
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,048

Original Poster
Rep: Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673
Thanks, but...

Hello and thank you for your response
I have been familiar with /var/log packages for a long time and I do use it when I just want to check a single package. I guess I'm a bit of an oddball because I despise automatic dependency resolving package managers but I do appreciate and enjoy "one-stop shops" for overall system view, maintenance, etc. Because KPackage was expressly compatible with Slackware, it was really useful for uninstalling, calling "pkgtool" right from the interface.

So while I might be able to write some simple code to organize the info in "/var/log/packages" so that I could see the entire contents laid out, I suspect that it would be easier to continue to give KPackage the libraries it needs rather than trust my rusty skills incorporating "pkgtool" to do all the things KPackage integrated, and that I still want to have.

From time ago on Slack IRC channels, I realize few people bothered to use KPackage even to see it's usefulness and when I google it, only a few seem to lament it's passing, so I suppose I am stuck with my old "shade-tree" solution.
 
Old 12-03-2013, 05:28 PM   #4
Pode
LQ Newbie
 
Registered: Oct 2008
Posts: 24

Rep: Reputation: 1
There are some gui frontends for pkgtool.
Here are two what i tried on Slackware64-14.0:
http://qtgzmanager.wordpress.com/
http://slackpackpkgman.wordpress.com/

The qtgzmanager is on SlackBuilds.org
http://slackbuilds.org/repository/14...m/qtgzmanager/
 
Old 12-03-2013, 06:56 PM   #5
GVrooman
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 45

Rep: Reputation: 11
Interesting. I never even realized that KPackage existed. I always opened a Konsole window and ran pkgtool. I can see how it would save you a few keystrokes. I just finished downloading 600 megabytes worth of Slackware 13.37 over my dial-up connection, a grueling job that took almost a week. Then I installed it with KDE 3.5.10 and Firefox 17.0.11. I now have a version of Slackware with a modern web browser and all of my favorite KDE apps, a few of which disappeared with KDE 4. I will have to start using KPackage in the future.

Last edited by GVrooman; 12-03-2013 at 07:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kpackage says this package needs /bin/sh newbiesforever Linux - General 3 01-16-2009 09:05 PM
Missing some info in kde3.5.2 jiml8 Linux - Software 2 06-21-2006 10:25 PM
Update to KDE 3.5 cleared installed apps from kpackage aldar Slackware 9 01-09-2006 02:58 PM
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 03:15 AM
why doesn't debian release KDE3.4 package this moment? Mathsniper Debian 2 04-12-2005 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration