مدير الحِزَم حسب التوزيعة
- Debian/Ubuntu:
apt - Fedora/RHEL:
dnf(أوyum) - Arch:
pacman
apt (الأشهر)
sudo apt update # حدّث قائمة الحِزَم
sudo apt upgrade # رقِّ الحِزَم المثبّتة
sudo apt install nginx # تثبيت
sudo apt remove nginx # إزالة
sudo apt search python # بحث
dnf (Fedora/RHEL)
sudo dnf install nginx
sudo dnf update
sudo dnf remove nginx
التثبيت اليدوي
sudo dpkg -i package.deb # حزمة .deb
💡 ابدأ دائمًا بـ
sudo apt updateقبل التثبيت لتحصل على أحدث الإصدارات.
🎯 التالي: الأرشفة والضغط.