{"id":801,"date":"2017-11-05T09:45:42","date_gmt":"2017-11-05T18:45:42","guid":{"rendered":"\/blog\/?p=801"},"modified":"2023-09-21T09:37:42","modified_gmt":"2023-09-21T00:37:42","slug":"apt-get-%ec%82%ac%ec%9a%a9-%eb%b0%a9%eb%b2%95","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=801","title":{"rendered":"apt-get \uc0ac\uc6a9 \ubc29\ubc95"},"content":{"rendered":"\n<p>apt(Advanced Packaging Tool)-get.<br>\ud328\ud0a4\uc9c0 \uc778\ub371\uc2a4 \uc778\ub371\uc2a4 \uc815\ubcf4\ub97c \uc5c5\ub370\uc774\ud2b8 : apt-get\uc740 \uc778\ub371\uc2a4\ub97c \uac00\uc9c0\uace0 \uc788\ub294\ub370 \uc774 \uc778\ub371\uc2a4\ub294 \/etc\/apt\/sources.list\uc5d0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uacf3\uc5d0 \uc800\uc7a5\ub41c \uc800\uc7a5\uc18c\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ud328\ud0a4\uc9c0\uc758 \uc815\ubcf4\ub97c \uc5bb\uc2b5\ub2c8\ub2e4.<br>sudo apt-get update<\/p>\n\n\n\n<p class=\"has-text-color has-vivid-red-color\">\u25a0\uc774\ubbf8 \uc124\uce58\ub418\uc5b4 \uc788\ub294 \ud328\ud0a4\uc9c0 \ubaa9\ub85d \ubcf4\uae30<br><strong>dpkg -l<\/strong><\/p>\n\n\n\n<p>\u25a0\uc124\uce58\ub41c \ud328\ud0a4\uc9c0 \uc5c5\uadf8\ub808\uc774\ub4dc : \uc124\uce58\ub418\uc5b4 \uc788\ub294 \ud328\ud0a4\uc9c0\ub97c \ubaa8\ub450 \uc0c8\ubc84\uc804\uc73c\ub85c \uc5c5\uadf8\ub808\uc774\ub4dc \ud569\ub2c8\ub2e4.<br>sudo apt-get upgrade<\/p>\n\n\n\n<p>\u25a0\uc758\uc874\uc131\uac80\uc0ac\ud558\uba70 \uc124\uce58\ud558\uae30<br>sudo apt-get dist-upgrade<\/p>\n\n\n\n<p class=\"has-text-color has-vivid-cyan-blue-color\">\u25a0\ud328\ud0a4\uc9c0 \uc124\uce58<br>sudo apt-get -y install \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p>\u25a0\ud328\ud0a4\uc9c0 \uc7ac\uc124\uce58<br>apt-get --reinstall install \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p>\u25a0\ud328\ud0a4\uc9c0 \uc0ad\uc81c : \uc124\uc815\ud30c\uc77c\uc740 \uc9c0\uc6b0\uc9c0 \uc54a\uc74c<br>sudo apt-get remove \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p class=\"has-text-color has-vivid-red-color\">\u25a0\uc124\uc815 \ud30c\uc77c\uae4c\uc9c0 \ubaa8\ub450 \uc9c0\uc6c0<br>sudo apt-get -y purge \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p>\u25a0\ud328\ud0a4\uc9c0 \uc18c\uc2a4\ucf54\ub4dc \ub2e4\uc6b4\ub85c\ub4dc<br>sudo apt-get source \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p>\u25a0\uc704\uc5d0\uc11c \ubc1b\uc740 \uc18c\uc2a4\ucf54\ub4dc\ub97c \uc758\uc874\uc131\uc788\uac8c \ube4c\ub4dc<br>sudo apt-get build-dep \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p>\u25a0\ud328\ud0a4\uc9c0 \uac80\uc0c9<br>sudo apt-cache search \uac80\uc0c9\uc5b4<\/p>\n\n\n\n<p>\u25a0\ud328\ud0a4\uc9c0 \uc815\ubcf4 \ubcf4\uae30<br>sudo apt-cache show \ud328\ud0a4\uc9c0\uc774\ub984<\/p>\n\n\n\n<p class=\"has-text-color has-vivid-purple-color\">\u25a0apt-get \uc815\ub9ac<br>sudo apt-get -y clean<br>sudo apt-get -y -f autoremove<br>sudo apt-get -y autoclean<\/p>\n\n\n\n<p>apt\ub97c \uc774\uc6a9\ud574\uc11c \uc124\uce58\ub41c deb\ud328\ud0a4\uc9c0\ub294 \/var\/cache\/apt\/archive\/ \uc5d0 \uc124\uce58\uac00 \ub429\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>apt(Advanced Packaging Tool)-get.\ud328\ud0a4\uc9c0 \uc778\ub371\uc2a4 \uc778\ub371\uc2a4 \uc815\ubcf4\ub97c \uc5c5\ub370\uc774\ud2b8 : apt-get\uc740 \uc778\ub371\uc2a4\ub97c \uac00\uc9c0\uace0 \uc788\ub294\ub370 \uc774 \uc778\ub371\uc2a4\ub294 \/etc\/apt\/sources.list\uc5d0 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uacf3\uc5d0 \uc800\uc7a5\ub41c \uc800\uc7a5\uc18c\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ud328\ud0a4\uc9c0\uc758 \uc815\ubcf4\ub97c \uc5bb\uc2b5\ub2c8\ub2e4.sudo apt-get update \u25a0\uc774\ubbf8 \uc124\uce58\ub418\uc5b4 \uc788\ub294 \ud328\ud0a4\uc9c0 \ubaa9\ub85d \ubcf4\uae30dpkg -l \u25a0\uc124\uce58\ub41c \ud328\ud0a4\uc9c0 \uc5c5\uadf8\ub808\uc774\ub4dc : \uc124\uce58\ub418\uc5b4 \uc788\ub294 \ud328\ud0a4\uc9c0\ub97c \ubaa8\ub450 \uc0c8\ubc84\uc804\uc73c\ub85c \uc5c5\uadf8\ub808\uc774\ub4dc \ud569\ub2c8\ub2e4.sudo apt-get upgrade \u25a0\uc758\uc874\uc131\uac80\uc0ac\ud558\uba70 \uc124\uce58\ud558\uae30sudo apt-get dist-upgrade \u25a0\ud328\ud0a4\uc9c0 \uc124\uce58sudo apt-get -y install \ud328\ud0a4\uc9c0\uc774\ub984 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[39],"tags":[],"class_list":["post-801","post","type-post","status-publish","format-standard","hentry","category-os_linux_unix_macos"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=801"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/801\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}