红联Linux门户
Linux帮助

Debian Step by Step Post 003

发布时间:2007-12-22 00:25:18来源:红联作者:Ganwerd
# install essential
debian:~# apt-get install gawk
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
gawk
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/694kB of archives.
After unpacking 2011kB of additional disk space will be used.
Selecting previously deselected package gawk.
(Reading database ... 20905 files and directories currently installed.)
Unpacking gawk (from .../gawk_3.1.5.dfsg-4_i386.deb) ...
Setting up gawk (3.1.5.dfsg-4) ...

debian:~# apt-get install sed

debian:~# apt-get install vim
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
vim-runtime
Suggested packages:
ctags vim-doc vim-scripts
The following NEW packages will be installed:
vim vim-runtime
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 7107kB of archives.
After unpacking 23.5MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://security.debian.org etch/updates/main vim-runtime 1:7.0-122+1etch3 [6362kB]
Get:2 http://security.debian.org etch/updates/main vim 1:7.0-122+1etch3 [745kB]
Fetched 7107kB in 7m33s (15.7kB/s)
Selecting previously deselected package vim-runtime.
(Reading database ... 21012 files and directories currently installed.)
Unpacking vim-runtime (from .../vim-runtime_1%3a7.0-122+1etch3_all.deb) ...
Selecting previously deselected package vim.
Unpacking vim (from .../vim_1%3a7.0-122+1etch3_i386.deb) ...
Setting up vim-runtime (7.0-122+1etch3) ...
Processing /usr/share/vim/addons/doc
Setting up vim (7.0-122+1etch3) ...

debian:~# apt-get install ctags
Reading package lists... Done
Building dependency tree... Done
Note, selecting exuberant-ctags instead of ctags
The following NEW packages will be installed:
exuberant-ctags
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/106kB of archives.
After unpacking 193kB of additional disk space will be used.
Selecting previously deselected package exuberant-ctags.
(Reading database ... 22367 files and directories currently installed.)
Unpacking exuberant-ctags (from .../exuberant-ctags_5.6-1_i386.deb) ...
Setting up exuberant-ctags (5.6-1) ...

debian:~# apt-get install vim-scripts
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
vim-scripts
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/561kB of archives.
After unpacking 3326kB of additional disk space will be used.
Selecting previously deselected package vim-scripts.
(Reading database ... 22374 files and directories currently installed.)
Unpacking vim-scripts (from .../vim-scripts_7-3_all.deb) ...
Setting up vim-scripts (7-3) ...

debian:~# apt-get install gcc
Reading package lists... Done
Building dependency tree... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

debian:~# apt-get install g++
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
g++-4.1 libstdc++6-4.1-dev
Suggested packages:
gcc-4.1-doc lib64stdc++6 libstdc++6-4.1-doc
The following NEW packages will be installed:
g++ g++-4.1 libstdc++6-4.1-dev
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/4250kB of archives.
After unpacking 16.2MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Selecting previously deselected package libstdc++6-4.1-dev.
(Reading database ... 22695 files and directories currently installed.)
Unpacking libstdc++6-4.1-dev (from .../libstdc++6-4.1-dev_4.1.1-21_i386.deb) ...
Selecting previously deselected package g++-4.1.
Unpacking g++-4.1 (from .../g++-4.1_4.1.1-21_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4.1.1-15_i386.deb) ...
Setting up libstdc++6-4.1-dev (4.1.1-21) ...
Setting up g++-4.1 (4.1.1-21) ...
Setting up g++ (4.1.1-15) ...

debian:~# apt-get install gdb
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
gdb-doc
The following NEW packages will be installed:
gdb
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/2411kB of archives.
After unpacking 5181kB of additional disk space will be used.
Selecting previously deselected package gdb.
(Reading database ... 23218 files and directories currently installed.)
Unpacking gdb (from .../gdb/gdb_6.4.90.dfsg-1_i386.deb) ...
Setting up gdb (6.4.90.dfsg-1) ...

debian:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
dpkg-dev make
Suggested packages:
debian-keyring make-doc-non-dfsg
Recommended packages:
bzip2
The following NEW packages will be installed:
build-essential dpkg-dev make
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/556kB of archives.
After unpacking 2331kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Selecting previously deselected package make.
(Reading database ... 23237 files and directories currently installed.)
Unpacking make (from .../make-dfsg/make_3.81-2_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg/dpkg-dev_1.13.25_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.3_i386.deb) ...
Setting up make (3.81-2) ...
Setting up dpkg-dev (1.13.25) ...
Setting up build-essential (11.3) ...

debian:~# apt-get install make
Reading package lists... Done
Building dependency tree... Done
make is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

debian:~# apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
linux-headers-2.6.18-5 linux-kbuild-2.6.18
The following NEW packages will be installed:
linux-headers-2.6.18-5 linux-headers-2.6.18-5-686 linux-kbuild-2.6.18
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 3442kB/3609kB of archives.
After unpacking 20.0MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://security.debian.org etch/updates/main linux-headers-2.6.18-5 2.6.18.dfsg.1-13etch4 [3165kB]
Get:2 http://security.debian.org etch/updates/main linux-headers-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [276kB]
Fetched 3442kB in 23s (145kB/s)
Selecting previously deselected package linux-headers-2.6.18-5.
(Reading database ... 23358 files and directories currently installed.)
Unpacking linux-headers-2.6.18-5 (from .../linux-headers-2.6.18-5_2.6.18.dfsg.1-13etch4_i386.deb) ...
Selecting previously deselected package linux-kbuild-2.6.18.
Unpacking linux-kbuild-2.6.18 (from .../linux-kbuild-2.6.18_2.6.18-1_i386.deb) ...
Selecting previously deselected package linux-headers-2.6.18-5-686.
Unpacking linux-headers-2.6.18-5-686 (from .../linux-headers-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb) ...
Setting up linux-headers-2.6.18-5 (2.6.18.dfsg.1-13etch4) ...
Setting up linux-kbuild-2.6.18 (2.6.18-1) ...
Setting up linux-headers-2.6.18-5-686 (2.6.18.dfsg.1-13etch4) ...

debian:~# apt-get install binutils
Reading package lists... Done
Building dependency tree... Done
binutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

debian:~# apt-get install perl
Reading package lists... Done
Building dependency tree... Done
perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

debian:~# apt-get install python
Reading package lists... Done
Building dependency tree... Done
python is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

debian:~# apt-get install ruby
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libruby1.8 ruby1.8
Suggested packages:
ruby1.8-examples rdoc1.8 ri1.8
The following NEW packages will be installed:
libruby1.8 ruby ruby1.8
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 1751kB/1770kB of archives.
After unpacking 6255kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://security.debian.org etch/updates/main libruby1.8 1.8.5-4etch1 [1532kB]
Get:2 http://security.debian.org etch/updates/main ruby1.8 1.8.5-4etch1 [219kB]
Fetched 1751kB in 12s (135kB/s)
Selecting previously deselected package libruby1.8.
(Reading database ... 30843 files and directories currently installed.)
Unpacking libruby1.8 (from .../libruby1.8_1.8.5-4etch1_i386.deb) ...
Selecting previously deselected package ruby1.8.
Unpacking ruby1.8 (from .../ruby1.8_1.8.5-4etch1_i386.deb) ...
Selecting previously deselected package ruby.
Unpacking ruby (from .../ruby_1.8.2-1_all.deb) ...
Setting up libruby1.8 (1.8.5-4etch1) ...
Setting up ruby1.8 (1.8.5-4etch1) ...
Setting up ruby (1.8.2-1) ...

debian:~# apt-get install psmisc
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
psmisc
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/80.1kB of archives.
After unpacking 467kB of additional disk space will be used.
Selecting previously deselected package psmisc.
(Reading database ... 31421 files and directories currently installed.)
Unpacking psmisc (from .../psmisc/psmisc_22.3-1_i386.deb) ...
Setting up psmisc (22.3-1) ...
文章评论

共有 0 条评论