우분투를 사용하면서 많이 쓰는 명령어가
apt-get 거시기
이다.
apt-get이 무엇일까?
이렇게 의문을 가지면서도 한번도 뭔지 찾아 본 적이 없다.
apt-get --help
해보니 패키지를 다운로드하고 설치하는 간단한 명령이란다.
사용법은
apt-get [옵션] 명령어
apt-get [옵션] install|remove pkg1 [pkg2 ...]
apt-get [옵션] source pkg1 [pkg2 ...]
명령어:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
autoremove - Remove all automatic unused packages
purge - Remove and purge packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
옵션:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to correct a system with broken dependencies in place
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
이렇게 된단다.
근데 난 영어 무지 약한데.....
하지만 우분투를 쓴다면 꼭 알아야 파워유저가 될것 같은 느낌.