最終更新:2024-01-30 (火) 03:19:55 (313d)
apt
Top / apt
Advanced Packaging Tool
概要
- apt-getコマンドとapt-cacheコマンドを一つにまとめた
- Ubuntu 16.04
- Debian 8
パラメータ
- -f, --fix-broken
Most used commands:
- apt list - list packages based on package names
- apt search - search in package descriptions
- apt show - show package details
- apt install - install packages
- apt reinstall? - reinstall packages
- apt remove? - remove packages
- apt autoremove? - automatically remove all unused packages
- apt update - update list of available packages
- apt upgrade - upgrade the system by installing/upgrading packages
- apt full-upgrade - upgrade the system by removing/installing/upgrading packages
- apt edit-sources? - edit the source information file
- apt satisfy? - satisfy dependency strings
使い方
apt
- apt update
- apt autoremove?
- apt full-upgrade
apt-get
apt-get update apt-get install <パッケージ名> apt-get upgrade <パッケージ名> apt-get remove <パッケージ名> apt-get autoremove
apt-cache
apt-cache search <キーワード> apt-cache pkgnames apt-cache show <パッケージ名>
apt-file
- ファイルがどのパッケージか調べたりする
ツール
高速化
apt-get install netselect