Skip to content

omyldrm/linux-package-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

linux-package-tools

This repository contains simple Bash scripts that analyze installed Linux packages and list those that contain a large number of files.

The project was created as a learning exercise while studying Linux as a first-year Applied Computer Science student at Karel de Grote University of Applied Sciences and Arts.

Project Structure

linux-package-tools/ ├── rpm/ │ └── rpm-package-summary.sh ├── dpkg/ │ └── dpkg-package-summary.sh └── README.md

  • rpm/ → Script for RPM-based Linux distributions
  • dpkg/ → Script for Debian-based Linux distributions

Scripts RPM-based distributions Located in rpm/rpm-package-summary.sh Supported systems include: - Fedora - RHEL / Rocky Linux / AlmaLinux - openSUSE

Debian-based distributions Located in dpkg/dpkg-package-summary.sh Supported systems include: - Debian - Ubuntu - Linux Mint

Usage Make the script executable: chmod +x rpm-package-summary.sh

Run the script: ./rpm-package-summary.sh [minimum_file_count] or ./dpkg-package-summary.sh [minimum_file_count]

If no argument is provided, the default value is 2000 files. Example: ./rpm-package-summary.sh 1500 or ./dpkg-package-summary.sh 1500

Notes

  • These scripts should not be run as root
  • Each script is intended for its respective package management system
  • The scripts are designed for educational purposes

What I Learned

  • Basic Bash scripting
  • Working with Linux package managers
  • Using command-line tools and pipelines
  • Writing small, focused system scripts

Technologies

  • Bash
  • Linux
  • RPM / DPKG

About

Simple Bash scripts written as a learning exercise to analyze installed Linux packages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages