cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

os:linux:command:apt.html



Linux Command#Software

How to use apt Command in Debian/Ubuntu

References

Commands List

Command Objective Example
apt update
apt upgrade
apt full-upgrade
apt autoremove
apt install PACKAGE
apt install -y PACKAGE
apt list --installed
apt list --upgradeable
apt install --just-print PACAGE Install test
apt remove PACKAGE
apt remove --purge PACKAGE
apt show PACAGE
apt search PATTERN
apt list PATTERN
apt autoclean
apt clean
echo "PACAKAGE hold" | dpkg --set-selections
echo "PACAGE install" | dpkg --set-selections
cat /var/log/apt/history.log
apt -f install







os/linux/command/apt.html.txt ยท Last modified: 2019/04/18 by admin

Page Tools