kcalc dependencies
Ray Parrish
crp at cmc.net
Sat Mar 21 06:54:23 UTC 2009
Derek Broughton wrote:
> Greg White wrote:
>
>
>> @H.S.:
>> # aptitude show kcalc
>> Depends: kdebase-runtime (>= 4:4.1.3), kdelibs5 (>= 4:4.1.4), libc6 (>=
>> 2.1.3),
>> libgmp3c2, libqt4-xml (>= 4.4.3), libqtcore4 (>= 4.4.3),
>> libqtgui4 (>= 4.4.3), libstdc++6 (>= 4.1.1)
>>
>> From my /var/cache/apt/archives/
>> kdebase-runtime-data_4%3a4.1.4-0ubuntu1~intrepid1.1_all.deb
>> kdebase-runtime-data-common_4%3a4.1.4-0ubuntu1~intrepid1.1_all.deb
>> kdebase-runtime-data-common-kde3_4%3a3.5.10-0ubuntu4~intrepid0_all.deb
>>
>> How can I have the runtime-data but not runtime???
>> How can I tell what packages I have installed?
>>
Hello,
There are a couple of ways to tell what packages you have installed, One
is a quick command line trick that polls your /usr/share/ folder for
package names which have been installed, and their installation dates,
and sorts them by install date. It is as follows -
cd /usr/share/
find -maxdepth 1 -type d -printf '%f %T+\n' | sort -s -t ' ' -k 2.1nr
-k 2.6n -k 2.9n -k 2.12r -k 2.15 -k 2.18 > ~/installed.txt
Note that the second command is one long line which wraps to the second
line in here. Open ~/installed.txt with your favorite text editor to
view it. There may also be one or two packages found at /opt, /etc/opt,
and/or /usr/share/applications/ as well. On my system, there is the real
[real player] package at /opt/, nothing at /etc/opt/, and kde,
screensavers, and kde4 at /usr/share/applications/ with everything else
showing in /usr/share/.
To get just the alphabetically sorted package names installed use -
cd /usr/share
ls -a --group-directories-first > ~/packages.txt
You can also open the following file and look through it. It includes
the names of all installed packages, along with their descriptions,
dependencies, versions, install dates, and other details. This file is
huge usually, and could take quite a while to browse through.
<file:///var/lib/dpkg/status>
Or, install apt-show-versions and run it to get a list of the packages
installed and their versions on your system.
apt-show-versions > ~/pkgversions.txt
To see which packages need updating run the following
apt-show-versions -u
You can also open Synaptic Package Manager, and use the History menu
item to access a date and time sorted view of all packages installed on
your system. This interface allows you to view them in drop down lists
for each date and time installed. Packages you installed at the same
time will be grouped together, and a later download the same day will be
in another grouping in it's own drop down list.
I haven't studied the dpkg command yet, but I'm pretty sure it also
offers a way or two to examine your installed packages as well.
Later, Ray Parrish
--
Human reviewed index of links about the computer
http://www.rayslinks.com
Poetry from the mind of a Schizophrenic
http://www.writingsoftheschizophrenic.com/
More information about the ubuntu-users
mailing list