Is it possible to get a list of most recently installed packages?



Recently, I answered a question in the Visual C++ Forum concerning how you would duplicate the list of installed programs seen when you select Add/Remove Programs in Control Panel, and I thought the solution would make a nice (if basic) article.

To fetch the list is very easy - first you need to open the following registry key:


Then simply enumerate all the entries and fetch the DisplayName value from each one.


In order to cater for all tastes, I have included versions of my code for the following environments:

MFC WTL ATL7 (included with Visual Studio 2002/2003)

The differences between the MFC and WTL versions are subtle - the MFC version stores the list of programs in a CStringArray and the WTL version uses a CSimpleArray.

The ATL7 version makes use the of the handy CRegKey class.

Using the CInstalledSoftware...

0 0
How to get Installed Packages Detail Description using cmd in 12.04

location: - date: September 3, 2013
i want to get detail description of all installed and packages and also want installed packages is device into groups like in synaptic manager. how to achive this using command in ubuntu or another way. i fount some commands for find installed packages and detail description but how to finds packages groups ? the commands are as below : $dpkg --get-selections > install.txt $ dpkg --print-avail mongodb-10gen

[aptitude] How to get a list of all installed packages?

location: - date: June 25, 2006
Hello, I use aptitude for package management. Having already browsed through the forum, google, and aptitude manual, I haven't found a way to list all packages that are installed in the system on purpose (and not been dragged in automatically). I know aptitude maintains a "markauto" list but haven't been able to found out where. I...

0 0

I'm trying to use the list file method. I have generated my packages file, which I store on Dropbox, but when I run

apm install --package-file atom-packages.txt

I get the following error:

npm ERR! install Couldn't read dependencies npm ERR! Linux 3.13.0-48-generic npm ERR! argv "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/goffreder/.atom/.apm/.apmrc" "--userconfig" "/home/goffreder/.atom/.apmrc" "install" "--target=0.22.0" "--arch=x64" npm ERR! node v0.10.35 npm ERR! npm v2.5.1 npm ERR! path /home/goffreder/Dropbox/Resources/scripts/.dotfiles/package.json npm ERR! code ENOPACKAGEJSON npm ERR! errno 34 npm ERR! package.json ENOENT, open '/home/goffreder/Dropbox/Resources/scripts/.dotfiles/package.json' npm ERR! package.json This is most likely not a problem with npm itself. npm ERR! package.json npm can't find a package.json file in your current directory. npm ERR! Please include the...
0 0
0 0
0 0

There may be times when you need to view a list of the packages that were recently installed in Ubuntu for troubleshooting purposes or maybe just to find a program you installed that does not display in the menu. There are two ways to find out what was installed recently. You can view recently installed packages by date using the Synaptic Package Manager and from the command prompt using a Terminal window.

Use the Synaptic Package Manager

To view software packages installed recently using the Synaptic Package Manager, select Administration | Synaptic Package Manager from the System menu.

On the Synaptic Package Manager dialog box, select History from the File menu.

The History dialog box displays. All packages installed and removed using the Synaptic Package Manager are listed by month and date. Click the arrow to the left of a month in the left pane to display dates within that month on which software packages were installed or...

0 0

Ubuntu 16.04 LTS introduced “Snap” packages, which are a great new way of installing apps. Snaps require different terminal commands–apt-get and dpkg will only allow you to install .deb packages the old way, not Snaps.

Snaps–which have the “.snap” extension–are more similar to containers. Applications in Snaps are self-contained, include all the libraries they need to function, and are sandboxed. They’ll install to their own directory and they won’t interfere with the rest of your system.

Not all apps are available as snaps just yet, but if you come across one that is, here’s how to install it.

Search for Available Snap Packages

To see a list of all available packages in the store, open a terminal and run the following command:

snap find

To search for a specific package by name, just add your search term to the end of the snap find command:

snap find name

For a more complete search–searching package descriptions as well...

0 0

After specifying the package (or packages) you wish to query, you'll need to figure out just what information you'd like RPM to retrieve. As we've seen, by default, RPM only returns the complete package label. But there's much more to a package than that. Here, we'll explore every information selection option available to us.

-i — Display Package Information




rpm -q

tells RPM to give you some information on the package or packages you've selected. For the sake of clarity, let's take a look at what it gives you and explain what you're looking at:

There's quite a bit of information here, so let's go through it entry by entry:

Name — The name of the package you queried. Usually (but not always) it bears some resemblance to the name of the underlying software.

Version — The version number of the software, as...

0 0

Command to list recently installed packages that were installed via any method (apt-get, Software Center et al.):

grep " install " /var/log/dpkg.log

Example output:

2010-12-08 15:48:14 install python-testtools 0.9.2-1 2010-12-08 15:48:16 install quickly-widgets 10.09 2010-12-08 22:21:31 install libobasis3.3-sdk 3.3.0-17 2010-12-09 12:00:24 install mc 3: 2010-12-09 23:32:06 install oggconvert 0.3.3-1ubuntu1 2010-12-09 23:34:50 install mpg123 1.12.1-3ubuntu1 2010-12-09 23:34:52 install dir2ogg 0.11.8-1 2010-12-09 23:34:53 install faad 2.7-4 2010-12-09 23:34:54 install wavpack 4.60.1-1 2010-12-10 11:53:00 install playonlinux 3.8.6

You could run this command to list only the recently installed package names,

awk '$3~/^install$/ {print $4;}' /var/log/dpkg.log

Command to list history of apt-get (NOTE: this doesn't list dependencies installed, it simply lists previous apt-get commands that were run):

grep " install " /var/log/apt/history.log


0 0

This is a "waiting list" showing links to the web pages of many new phylogeny programs, which I have not yet had time to add to the main listing. They will be listed there, with a single web link and no detailed explanation. I hope that this list will gradually shrink as the new programs are put into the main listing. You can use the submission form here to submit new entries.

These are waiting to be added:

This bunch are all old programs from Masatoshi Nei's lab, available from the same web page there

ADAPTSITE, intended to estimate positive and negative selection at a single amino acid site. These are not from the Nei site: PhyRe infers adequacy of taxon sampling for phylogenetic studies. phylobase is an R package that contains a class of functions for comparative methods, incorporating one or more trees and trait data. PhyML-mixtures, a PhyML version for mixture of amino acid models (EX2, EX3, EHO, UL2, and UL3). PhyD*, Fast NJ-like algorithms to...
0 0

What Is netCDF?

NetCDF (network Common Data Form) is a set of interfaces for array-oriented data access and a freely distributed collection of data access libraries for C, Fortran, C++, Java, and other languages. The netCDF libraries support a machine-independent format for representing scientific data. Together, the interfaces, libraries, and format support the creation, access, and sharing of scientific data.

NetCDF data is:

Self-Describing. A netCDF file includes information about the data it contains. Portable. A netCDF file can be accessed by computers with different ways of storing integers, characters, and floating-point numbers. Scalable. A small subset of a large dataset may be accessed efficiently. Appendable. Data may be appended to a properly structured netCDF file without copying the dataset or redefining its structure. Sharable. One writer and multiple readers may simultaneously access the same netCDF file. Archivable. Access to all...
0 0
0 0

APT (the Advanced Packaging Tool) is an evolution of the Debian .deb software packaging system. It is a rapid, practical, and efficient way to install packages on your system. Dependencies are managed automatically, configuration files are maintained, and upgrades and downgrades are handled carefully to ensure system stability.


resynchronizes the local index of packages files, updating information about new and updated packages that are available. The indexes are fetched from the location(s) specified in /etc/apt/sources.list.

An update should always be performed before an upgrade or dist-upgrade.


installs the newest versions of all packages currently installed on the system, using the sources in /etc/apt/sources.list. If a package is currently installed and a new version is available, it is retrieved and upgraded. Under no circumstances are installed packages removed, or packages not already installed retrieved. New versions of...

0 0

Latest posts by Michael Pietroforte (see all)

Windows Installer is an application installation and configuration tool which was first introduced with Windows 2000. You can find msiexec.exe under C:\windows\system32. The latest version for Windows XP is Windows Installer 3.1 v2. Windows Vista will be delivered with Windows Installer 4.0. Windows Installer uses MSI packages, which are databases containing all information that is necessary to install an application.

Nowadays, many software vendors deliver their applications as MSI packages. Usually, you can recognize them by the MSI extension. Sometimes, the setup program is an EXE file which contains the compressed MSI file. Most software deployment solutions support MSI meanwhile.

Some still have their own packing format as an additional option, though. Even Microsoft’s Systems Management Server 2003 was originally delivered with its own packaging format. There is a free MSI packager for SMS 2003 now, which...

0 0