> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Apt Command is Finally Getting the Much Needed History Features
- URL: https://itsfoss.com/news/apt-upcoming-history-features/
- Published: 2025-09-22T06:55:47.000Z
- Updated: 2025-09-22T06:55:47.000Z
- Description: In the upcoming versions of apt, you'll be able to see the history of package transactions and get details on them.
- Author: Abhishek Prakash
- Tags: Development Updates, News, #Import 2025-11-08 21:15

Looking at this merge request in Apt code, I can see a very useful feature coming to Debian and Ubuntu-based distros. It may not be for every end user but sysadmins are surely going to appreciate it.

The apt command is getting new history features, that allow users to look into past apt command operations.

## New history sub-commands in apt

In the future, apt command will have two new sub-commands that introduce history log parsing:

- `apt history-list` : To list all previous package transaction history.
- `apt history-info` : To show detailed information about a selected package transaction.

Why does it matter? Well, for sysadmins, sometimes it becomes necessary to see what packages they installed or upgraded and when it was installed or removed and what happened during that package transaction.

Up until now, users were restricted to using low-level dpkg command with grep to find out these details.

```
dpkg -l | grep <package_name>
```

With the dedicated sub-commands in `apt`, there would be no need to create combinations of commands and look through the log files just to know what and when a package change happened.

The first `apt history-list` shows the entire package history log. The second one `apt history-info` makes things a lot easier by showing details only on selected package transactions. This streamlines the process, as it is now easier to jump into a specific entry and only read that instead of reading the entire history log.

I'll update our [apt command guide](https://itsfoss.com/apt-command-guide/) when this new feature is available.

[Using apt Commands in Linux \[Ultimate Guide\]This guide shows you how to use apt commands in Linux with examples so that you can manage packages effectively.![](https://itsfoss.com/content/images/icon/android-chrome-192x192-251.png)It's FOSSAbhishek Prakash![](https://itsfoss.com/content/images/thumbnail/apt-commands-example-1.png)](https://itsfoss.com/apt-command-guide/)

## Inspired by DNF...in a good way

It's good to see that developers are adding new, useful features in the apt command. Some will say that these are inspired by Fedora's DNF package manager. Which might not be untrue, as DNF has had this feature for some time now. 

In fact, let me show you these equivalent DNF commands:

```
dnf history list
```

![dnf history list](https://itsfoss.com/content/images/2025/09/dnf-history-list.png)

DNF history list

And when you have the command transaction ID, you can use it to get details obn it:

```
dnf history info <command-transaction-id>
```

![Details on a DNF package operation in history](https://itsfoss.com/content/images/2025/09/dnf-history-info.png)

Looking at these, I am guessing apt should have similar output for their history features.

It's not just the history sub-commands, even some of the recent [changes apt introduced in version 3.0](https://itsfoss.com/apt-3-release/) are seemingly inspired by DNF.

[Join over 60,853 Linux Users on YouTube](https://www.youtube.com/@itsfoss?ref=itsfoss.com)

I don't mind apt getting inspired by dnf. As the end users, we should appreciate the inclusion of useful features. What do you think?