Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-01-2013, 04:37 PM
|
#1
|
LQ Guru
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,048
|
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.
|
|
|
12-01-2013, 04:58 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
12-02-2013, 01:51 PM
|
#3
|
LQ Guru
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,048
Original Poster
|
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.
|
|
|
12-03-2013, 06:56 PM
|
#5
|
Member
Registered: May 2008
Distribution: Slackware
Posts: 45
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|