• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
No Result
View All Result
DefenceDev
No Result
View All Result
ADVERTISEMENT
Home Linux Tutorials

List of Installed Packages on Linux

neo by neo
May 27, 2025
in Linux Tutorials
0
List Installed Packages on Linux

List Installed Packages on Linux

0
SHARES
16
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

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.

Introduction

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.

ADVERTISEMENT

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:

ADVERTISEMENT
apt-mark showmanual > manual-packages.txt

Removing Manually Installed Packages

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

ADVERTISEMENT
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.

About The Author

neo

See author's posts

Tags: linux
ADVERTISEMENT
Previous Post

MikroTik: Schedule Automatic Reboot Every 7 Days

Next Post

MikroTik: How to Create a Backup of Mikrotik Configuration

neo

neo

Related Posts

GitHub: How to Add a Script or a Folder to Your Repository
Linux Tutorials

GitHub: How to Add a Script or a Folder to Your Repository

My Ultimate Linux/Ubuntu Commands Cheat Sheet (2025)
Linux Tutorials

My Ultimate Linux/Ubuntu Commands Cheat Sheet (2025)

Linux Networking: Display Open Ports and Listening Services
Networking

Linux Networking: Display Open Ports and Listening Services

Automating Linux Server Health Checks with a Bash Script
Linux Tutorials

Automating Linux Server Health Checks with a Bash Script

Check Disk Usage on the Linux with du Command
Commands

Check Disk Usage on the Linux with du Command

Linux Process, List all Running Services with ps Command
Commands

Linux Process, List all Running Services with ps Command

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

MikroTik: How to Create a Backup of Mikrotik Configuration

Recommended

WordPress: Renew HTTPS Certificate on WordPress Site

WordPress: Renew HTTPS Certificate on WordPress Site

Fortinet FortiGate: Reverse Path Forwarding (RPF)

Fortinet FortiGate: Reverse Path Forwarding (RPF)

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik: OpenVPN Client Failover Script

MikroTik: OpenVPN Client Failover Script

GitHub: How to Add a Script or a Folder to Your Repository

GitHub: How to Add a Script or a Folder to Your Repository

Categories

  • Blog
  • Cloud
    • Private
  • Linux Tutorials
    • Bash Scripting Tutorials
    • Commands
    • Networking
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Solutions
    • Docker
  • Video Tutorials
    • MikroTik Videos
ADVERTISEMENT

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

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik: OpenVPN Client Failover Script

MikroTik: OpenVPN Client Failover Script

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

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos

© 2025 defencedev.com - All rights reserved.