• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Linux
    • Bash Scripting
      • Bash Scripting Lessons
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Tools
No Result
View All Result
  • Home
  • Linux
    • Bash Scripting
      • Bash Scripting Lessons
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Tools
No Result
View All Result
DefenceDev
No Result
View All Result
Home Linux Commands&Tips

List Installed Linux Packages

by neo
September 3, 2026
in Commands&Tips
0
List Installed Packages on Linux

List Installed Packages on Linux

0
SHARES
73
VIEWS
Share on FacebookShare on LinkedIn
Table of Contents
  • List of Installed Packages on Linux
    • What is apt-mark showmanual?
    • Why Use apt-mark showmanual?
    • How to Use apt-mark showmanual
    • Filtering the Output
  • Remov Manually Installed Packages

List of Installed Packages on Linux

Tracking installed packages on a Linux system is essential for effective management. Whether you need to monitor manually installed packages or dependencies, tools like apt-mark showmanual simplify this process. In this article, we’ll explore how to use this command to generate a list of installed packages, helping you maintain a clean and well-organized system.

Managing a Linux system requires tracking installed packages, including manual installs and dependencies. The apt-mark showmanual command helps with this task. In this article, we’ll explain how it works and how to use it to list installed packages.

What is apt-mark showmanual?

The apt-mark showmanual command is part of the apt-mark toolset, which allows you to mark and unmark software packages as automatically or manually installed. The showmanual option lists all packages that were manually installed by the user, giving you an overview of which software was explicitly added to the system.

At this link you can see more details apot apt-mark showmanual.

Why Use apt-mark showmanual?

There are several reasons why you might want to list manually installed packages on your Ubuntu system:

  1. System Maintenance: It helps you identify non-essential packages that may no longer be needed, making it easier to clean up unnecessary software.
  2. Backup and Reinstallation: When moving to a new system or reinstalling Ubuntu, knowing the packages you’ve manually installed is helpful for recreating the same environment.
  3. Dependency Tracking: Knowing which packages were installed manually versus automatically helps manage dependencies, ensuring that you don’t accidentally remove a package needed by others.

How to Use apt-mark showmanual

Using apt-mark showmanual is straightforward. Simply open a terminal and run:

apt-mark showmanual
Output is something like:

base-files
bash
bsdutils
dash
diffutils
findutils
grep
grub-pc
gzip
hostname
init
linux-generic
login
ncurses-base
ncurses-bin
openssh-server
ubuntu-minimal
ubuntu-server
ubuntu-server-minimal
ubuntu-standard
util-linux

Filtering the Output

Since the output can be extensive, especially on long-running systems, you may want to filter or redirect the results:

  • Filtering for a Specific Package: If you’re looking for a particular package, you can filter the list using grep:
apt-mark showmanual | grep package-name

Saving the List to a File: If you want to save the list for future reference, you can redirect the output to a file:

apt-mark showmanual > manual-packages.txt

Remov Manually Installed Packages

If you discover unnecessary packages from the apt-mark showmanual list, you can easily remove them using apt-get:

sudo apt-get remove package-name

To further clean up, you can use:

sudo apt-get autoremove

This will remove any packages that were installed automatically but are no longer required by any other packages.

You can visit the following link for more information about removing packages.

Tags: linuxubuntu
Previous Post

MikroTik: Schedule Automatic Reboot Every 7 Days

Next Post

MikroTik: How to Create a Backup of Mikrotik Configuration

neo

Related Posts

10+ Useful Linux find Command Examples You Should Know
Commands&Tips

10+ Useful Linux find Command Examples You Should Know

My Ultimate Linux/Ubuntu Commands Cheat Sheet (2025)
Commands&Tips

My Ultimate Linux/Ubuntu Commands Cheat Sheet (2025)

Timeshift on Linux: How to Create and Restore System Snapshots
Commands&Tips

Timeshift on Linux: How to Create and Restore System Snapshots

Remote Desktop Access to Ubuntu 24.04 from Windows
Commands&Tips

Remote Desktop Access to Ubuntu 24.04 from Windows

Fix "blk_update_request: critical target error" on Ubuntu Server (dev sdb, DISCARD Operation)
Commands&Tips

Fix “blk_update_request: critical target error” on Ubuntu Server with SSD (dev sdb, DISCARD Operation)

Passwordless SSH Login on Ubuntu: Secure Server Access
Commands&Tips

Passwordless SSH Login on Ubuntu: Secure Server Access

Next Post
MikroTik: How to Create a Backup of Mikrotik Configuration

MikroTik: How to Create a Backup of Mikrotik Configuration

Recommended

Linux Networking: netplan Network Configuration on Ubuntu

Linux Networking: netplan Network Configuration on Ubuntu

Solution: Connect from Ubuntu to the FortiGate Firewall and Execute Command (Bash Script)

Fortigate and Ubuntu Bash Automation

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here's the Fix

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here’s the Fix

Briefly unavailable for scheduled maintenance. Check back in a minute.

WordPress Stuck in Maintenance Mode After Plugin Update

AI-generated illustration showing how to configure Telegram notifications in Proxmox and send alerts via Telegram

Configure Telegram Notifications in Proxmox VE Using Webhooks

Categories

  • Linux
    • Bash Scripting
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Web Tools

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Recent News

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here's the Fix

Proxmox Backup Server: Deleted Backup but Disk Space Is Still Used? Here’s the Fix

Briefly unavailable for scheduled maintenance. Check back in a minute.

WordPress Stuck in Maintenance Mode After Plugin Update

  • Site Map
  • Privacy Policy
  • Facebook Page
  • GitHub
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Linux
    • Bash Scripting
      • Bash Scripting Lessons
    • Commands&Tips
    • Monitoring
  • Networking
    • FortiGate
    • MikroTik
  • Projects & Case Studies
  • Self-Hosted
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Virtualization
    • Proxmox
    • VMware
  • Tools

© 2025 defencedev.com - All rights reserved.