This commit is contained in:
2025-06-03 14:30:55 +03:30
parent 2ce50f4aa9
commit a7509c6285
3 changed files with 119 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
job1:
stage: hello_stage
script: echo "Hi :)"
job2:
stage: hello_stage
script: echo "Hello :)"
job3:
stage: hello_stage
script: echo "How Are You :)"
needs:
- job2
Build_job1:
stage: build_stage
script: echo "Building Code"
needs:
- job3
tags:
- build_runner
stages:
- hello_stage
- build_stage

94
Linux/LPIC1/4-dpkg.md Normal file
View File

@@ -0,0 +1,94 @@
# 📦 `dpkg` Debian Package Manager
`dpkg` is the package manager for Debian-based Linux distributions. It is used to install, remove, and manage `.deb` packages directly.
### 📘 Basic Syntax
```bash
dpkg [<option>...] <command>
```
---
## 🌐 Finding Packages
You can browse and search for Debian packages at [pkgs.org](https://pkgs.org).
---
## 📋 Listing Installed Packages
```bash
dpkg -l
dpkg --list
```
---
## 📥 Installing a Package
```bash
dpkg -i <package.deb>
dpkg --install <package.deb>
```
> ⚠️ If there are missing dependencies, run:
```bash
apt install -f
```
---
## 📂 Viewing Package Contents
```bash
dpkg -c <package.deb>
dpkg --contents <package.deb>
```
---
## Getting Package Info
```bash
dpkg -I <package.deb>
dpkg --info <package.deb>
```
---
## 📁 Listing Installed Files
```bash
dpkg -L <package-name>
dpkg --listfiles <package-name>
```
---
## 🧹 Removing a Package (and its config files)
```bash
dpkg -p <package-name>
dpkg --purge <package-name>
```
---
## 📝 Checking Package Status
```bash
dpkg -s <package-name>
dpkg --status <package-name>
```
---
## 🔧 Reconfiguring a Package
```bash
dpkg-reconfigure <package-name>
```