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.
- 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.
To use the package manager, ensure that you have bash installed on your Linux system.
git clone git@github.com:TirsvadCLI/Linux.PackageManager.git
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
- Example:
tcli_linux_packagemanager_system_upgrade()
: Updates the package list on the system.- Example:
tcli_linux_packagemanager_system_upgrade
- Example:
docker-compose build
docker run --rm -it tirsvadclilinuxpackagemanager_debian_service:latest
In the docker container
/usr/src/app/Test# bash test_PackageManager.sh
This project is licensed under the GNU GPL 3 License. See the LICENSE file for more details.
See the CONTRIBUTING.md file for information on how to contribute to this project.