Skip to content

TirsvadCLI/Linux.PackageManager

Contributors Forks Stargazers Issues MIT License LinkedIn


TirsvadCLI Linux Package manager

The TirsvadCLI Linux Package Manager is a script designed to manage software packages on Linux systems. This script supports local installations of packages and offers functions to update and upgrade your system efficiently.

Table of Contents

Features

  • Install Packages: Installs specified packages locally on a server.
  • System Update: Updates the package list based on the Linux distribution.
  • System Upgrade: Upgrades installed packages on the system.

Requirements

To use the package manager, ensure that you have bash installed on your Linux system.

Getting Started

Clone the Repository

git clone git@github.com:TirsvadCLI/Linux.PackageManager.git

Usage

Functions

  • tcli_linux_packagemanager_install(): Installs packages locally on a server.
    • Parameters: A list of packages to install.
    • Returns:
      • 0: If the installation was successful.
      • 1: If the installation failed.
    • Example:
      tcli_linux_packagemanager_install package1 package2
  • tcli_linux_packagemanager_system_update(): Updates the package list on the system.
    • Example:
      tcli_linux_packagemanager_system_update
  • tcli_linux_packagemanager_system_upgrade(): Updates the package list on the system.
    • Example:
      tcli_linux_packagemanager_system_upgrade

Testing

docker-compose build
docker run --rm -it  tirsvadclilinuxpackagemanager_debian_service:latest

In the docker container

/usr/src/app/Test# bash test_PackageManager.sh

License

This project is licensed under the GNU GPL 3 License. See the LICENSE file for more details.

Contributors

See the CONTRIBUTING.md file for information on how to contribute to this project.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published