-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapt-get.html
220 lines (205 loc) · 7.1 KB
/
apt-get.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<title>apt-get 包管理器 | 时雨君的软件使用纪录</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="" name="description"/>
<meta content="GitBook 2.6.7" name="generator"/>
<meta content="true" name="HandheldFriendly"/>
<meta content="width=device-width, initial-scale=1, user-scalable=no" name="viewport"/>
<meta content="yes" name="apple-mobile-web-app-capable"/>
<meta content="black" name="apple-mobile-web-app-status-bar-style"/>
<link href="gitbook/images/apple-touch-icon-precomposed-152.png" rel="apple-touch-icon-precomposed" sizes="152x152"/>
<link href="gitbook/images/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="gitbook/style.css" rel="stylesheet"/>
<link href="gitbook/plugins/gitbook-plugin-highlight/website.css" rel="stylesheet"/>
<link href="gitbook/plugins/gitbook-plugin-search/search.css" rel="stylesheet"/>
<link href="gitbook/plugins/gitbook-plugin-fontsettings/website.css" rel="stylesheet"/>
<link href="./mit-scheme.html" rel="next"/>
<link href="./cask.html" rel="prev"/>
</head>
<body>
<div class="book" data-basepath="." data-chapter-title="apt-get 包管理器" data-filepath="apt-get.md" data-innerlanguage="" data-level="2" data-revision="Thu May 17 2018 00:06:34 GMT+0800 (CST)">
<div class="book-summary">
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="0" data-path="index.html">
<a href="./index.html">
<i class="fa fa-check"></i>
Introduction
</a>
</li>
<li class="chapter " data-level="1" data-path="homebrew.html">
<a href="./homebrew.html">
<i class="fa fa-check"></i>
<b>1.</b>
Homebrew 包管理器
</a>
<ul class="articles">
<li class="chapter " data-level="1.1" data-path="cask.html">
<a href="./cask.html">
<i class="fa fa-check"></i>
<b>1.1.</b>
Homebrew Cask
</a>
</li>
</ul>
</li>
<li class="chapter active" data-level="2" data-path="apt-get.html">
<a href="./apt-get.html">
<i class="fa fa-check"></i>
<b>2.</b>
apt-get 包管理器
</a>
</li>
<li class="chapter " data-level="3" data-path="mit-scheme.html">
<a href="./mit-scheme.html">
<i class="fa fa-check"></i>
<b>3.</b>
mit-scheme Lisp解释器
</a>
</li>
<li class="chapter " data-level="4" data-path="vim.html">
<a href="./vim.html">
<i class="fa fa-check"></i>
<b>4.</b>
vim 编辑器
</a>
</li>
<li class="chapter " data-level="5" data-path="git.html">
<a href="./git.html">
<i class="fa fa-check"></i>
<b>5.</b>
git 版本控制
</a>
</li>
<li class="chapter " data-level="6" data-path="gitbook.html">
<a href="./gitbook.html">
<i class="fa fa-check"></i>
<b>6.</b>
gitbook 书写工具
</a>
<ul class="articles">
<li class="chapter " data-level="6.1" data-path="gitbookeditor.html">
<a href="./gitbookeditor.html">
<i class="fa fa-check"></i>
<b>6.1.</b>
gitbook editor
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="7" data-path="wireshark.html">
<a href="./wireshark.html">
<i class="fa fa-check"></i>
<b>7.</b>
wireshark 抓包分析
</a>
</li>
<li class="chapter " data-level="8" data-path="bcompare.html">
<a href="./bcompare.html">
<i class="fa fa-check"></i>
<b>8.</b>
Beyond Compare 文本比较
</a>
</li>
<li class="chapter " data-level="9" data-path="zsh.html">
<a href="./zsh.html">
<i class="fa fa-check"></i>
<b>9.</b>
Zsh 终端shell
</a>
</li>
<li class="chapter " data-level="10" data-path="iterm.html">
<a href="./iterm.html">
<i class="fa fa-check"></i>
<b>10.</b>
iTerm Mac终端
</a>
</li>
<li class="chapter " data-level="11" data-path="understand.html">
<a href="./understand.html">
<i class="fa fa-check"></i>
<b>11.</b>
Understand 程序静态分析
</a>
</li>
<li class="chapter " data-level="12" data-path="rufus-qi-dong-pan-zhi-zuo-gong-ju.html">
<a href="./rufus-qi-dong-pan-zhi-zuo-gong-ju.html">
<i class="fa fa-check"></i>
<b>12.</b>
rufus 启动盘制作工具
</a>
</li>
<li class="divider"></li>
<li>
<a class="homepage-back" href="https://freebug.top/book/" target="_self">
Back to Book</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Actions Left -->
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="./">时雨君的软件使用纪录</a>
</h1>
</div>
<div class="page-wrapper" role="main" tabindex="-1">
<div class="page-inner">
<section class="normal" id="section-">
<h1 id="aptget">apt-get</h1>
<p>Linux下的包管理工具,必需要掌握的linux命令之一。</p>
<hr/>
<h5 id="运行环境">运行环境</h5>
<p>Linux</p>
<h5 id="安装">安装</h5>
<p>linux自带</p>
<h5 id="使用">使用</h5>
<ol>
<li><p>安装软件</p>
<pre><code>sudo apt-get update
sudo apt-cache search FORMULA
sudo apt-get install FORMULA
</code></pre><ol>
<li>卸载软件<pre><code>sudo apt-get uninstall FORMULA
</code></pre></li>
</ol>
</li>
<li><p>更新软件</p>
<pre><code>sudo apt-get update
sudo apt-get -u upgrade
</code></pre></li>
<li><p>具体命令使用介绍</p>
<pre><code>apt-get help
</code></pre><p>或</p>
<pre><code>man apt-get
</code></pre></li>
</ol>
</section>
</div>
</div>
</div>
<a aria-label="Previous page: Homebrew Cask" class="navigation navigation-prev " href="./cask.html"><i class="fa fa-angle-left"></i></a>
<a aria-label="Next page: mit-scheme Lisp解释器" class="navigation navigation-next " href="./mit-scheme.html"><i class="fa fa-angle-right"></i></a>
</div>
</div>
<script src="gitbook/app.js"></script>
<script src="gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
<script src="gitbook/plugins/gitbook-plugin-search/search.js"></script>
<script src="gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
<script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
<script>
require(["gitbook"], function(gitbook) {
var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
gitbook.start(config);
});
</script>
</body>
</html>