Skip to contentমূল লেখায় যান

Stage 07 · Linuxধাপ 07 · Linux · 6 topics · 9 commands6টি টপিক · 9টি কমান্ড

Packages

Find, install, update, and remove software with package managers.

UPPERCASE = your own value · red ! = can destroy data · tick a card when you know itUPPERCASE = আপনার নিজের মান · লাল ! = data নষ্ট করতে পারে · জানা হলে কার্ডে টিক দিন

0 / 6 done0 / 6 সম্পন্ন

Package Management

cat /etc/os-release
which distribution you runআপনি কোন distribution চালাচ্ছেন
apt
the package tool of Debian systemsDebian সিস্টেমের package tool
dnf
the package tool of RPM-based systemsRPM-ভিত্তিক সিস্টেমের package tool
dpkg
the low-level tool under aptapt-এর নিচের স্তরের tool
rpm
the low-level tool under dnfdnf-এর নিচের স্তরের tool
snap
a package format for many distributionsঅনেক distribution-এর জন্য একটি package format

Source 1সোর্স 1Source 2সোর্স 2Source 3সোর্স 3Source 4সোর্স 4Source 5সোর্স 5Source 6সোর্স 6

Package Repositories

/etc/apt/sources.list
where APT looks (Debian); newer systems use .sourcesAPT কোথায় খোঁজে (Debian); নতুন সিস্টেমে .sources file
ls /etc/apt/sources.list.d/
the extra repositoriesঅতিরিক্ত repository
sudo apt update
refresh the package listspackage তালিকা হালনাগাদ করে
apt-cache policy PKG
which repository a package comes frompackage কোন repository থেকে আসে
sudo add-apt-repository ppa:USER/NAME
add a PPA (Ubuntu)PPA যোগ করে (Ubuntu)
dnf repolist
the enabled repositories (Red Hat)চালু repository-র তালিকা (Red Hat)
/etc/yum.repos.d/
where dnf repository files livednf-এর repository file এখানে থাকে

Source 7সোর্স 7Source 2সোর্স 2Source 8সোর্স 8Source 9সোর্স 9Source 10সোর্স 10Source 3সোর্স 3Source 11সোর্স 11

Finding and Installing Packages

apt search WORD
search by name or descriptionনাম বা বর্ণনা দিয়ে খোঁজে
apt show PKG
details of a packagepackage-এর বিস্তারিত
sudo apt install PKG
install a packagepackage install করে
dnf search WORD
search (Red Hat)খোঁজে (Red Hat)
dnf info PKG
details of a package (Red Hat)package-এর বিস্তারিত (Red Hat)
sudo dnf install PKG
install a package (Red Hat)package install করে (Red Hat)
dnf provides */NAME
which package has a fileকোন package-এ ফাইলটি আছে

Source 2সোর্স 2Source 3সোর্স 3

Installing, Removing, and Upgrading Packages

sudo apt update
refresh the lists firstআগে তালিকা হালনাগাদ করে
sudo apt upgrade
upgrade the installed packagesinstall করা package upgrade করে
sudo apt full-upgrade
Warningসতর্কতা: upgrade, adding or removing packages if neededupgrade করে, দরকারে package যোগ বা বাদ দেয়
sudo apt remove PKG
Warningসতর্কতা: remove it, keep its configurationসরায়, configuration রাখে
sudo apt purge PKG
Warningসতর্কতা: remove it and its configurationসরায়, configuration-ও মোছে
sudo apt autoremove
Warningসতর্কতা: remove packages nobody needsযে package কারও দরকার নেই তা সরায়
sudo dnf upgrade
upgrade everything (Red Hat)সব upgrade করে (Red Hat)
sudo dnf remove PKG
Warningসতর্কতা: remove a package (Red Hat)package সরায় (Red Hat)

Source 2সোর্স 2Source 3সোর্স 3

Listing Installed Packages

apt list --installed
the installed packages (Debian)install করা package-এর তালিকা (Debian)
dpkg -l
the same list, from dpkgএকই তালিকা, dpkg থেকে
dpkg -L PKG
the files a package installedpackage যেসব file বসিয়েছে
dpkg -S FILE
which package owns a fileকোন package file-টির মালিক
dnf list --installed
the installed packages (Red Hat)install করা package-এর তালিকা (Red Hat)
rpm -qa
all installed RPM packagesinstall করা সব RPM package
rpm -ql PKG
the files of a packagepackage-এর file-গুলো
rpm -qf FILE
which package owns a fileকোন package file-টির মালিক

Source 2সোর্স 2Source 4সোর্স 4Source 3সোর্স 3Source 5সোর্স 5

Snap

snap find WORD
search the storestore-এ খোঁজে
snap info NAME
details and channelsবিস্তারিত ও channel
sudo snap install NAME
install a snapsnap install করে
sudo snap install NAME --classic
for tools that need system accessযে tool-এর system access দরকার তার জন্য
snap list
the installed snapsinstall করা snap-এর তালিকা
sudo snap refresh
update all snapsসব snap হালনাগাদ করে
sudo snap remove NAME
Warningসতর্কতা: remove a snapsnap সরায়

Source 6সোর্স 6Source 12সোর্স 12Source 13সোর্স 13

2 min read2 মিনিটে পড়া যায় · 6 sections6টি সেকশন · 13 sources13টি সোর্স · updated Nov 2026আপডেট: Nov 2026

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

Sourcesসোর্স13 · accessed 2026-11-27দেখা হয়েছে: 2026-11-27

Suggest an editএডিটের পরামর্শ দিন
  1. [1]os-release(5) - operating system identification
  2. [2]apt(8) - command-line interface
  3. [3]DNF Command Reference
  4. [4]dpkg(1) - package manager for Debian
  5. [5]rpm(8) - RPM Package Manager
  6. [6]Get started
  7. [7]sources.list(5) - list of configured APT data sources
  8. [8]apt-cache(8) - query the APT cache
  9. [9]add-apt-repository(1) - add or remove an APT repository
  10. [10]Personal Package Archive
  11. [11]DNF Configuration Reference
  12. [12]Manage updates
  13. [13]snap(8) - tool to interact with snaps