[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 如何安裝Package



On Mon, Jul 09, 2001 at 08:03:19PM +0800, lilong@mail.ihep.ac.cn wrote:
> 
> 現在我的機器上可能只裝了內核和網絡部分的東西(網是通的),聲卡和打印機
> 沒有配上(在安裝Debian過程中配置它們時就說失敗)。APT我也不知裝上了沒有,

For sound card, you might want to look into alsa package.
For printer, you can install lprng and apsfilter or CUPS.

> 在安裝Debian過程中它讓我裝包時,我選了手工配置Source文件,但是沒有對
> 文件進行改動(其實這個文件裡全是注釋),就這樣過去了,但是系統仍友好地告
> 訴我0個包裝上了  //faint,我要條件方便我就把所有的包都裝上

In debian, you don't install everything. It's a waste of space. But
you'd better have a debian CD if you don't have good net speed.

> 
> 我想問大蝦的是:
> 1. 我該如何安裝所需要的包,如X window(xfree86 4.x)。當然也請大蝦們告訴
> 我哪些包應該裝上,我想在Debian下編譯Fortran程序,用Emacs編輯器,Latex/CJK,
> 暫時想到這些吧。

We have:
task-x-window-system - X Window System (complete)
task-x-window-system-core - X Window System (core components)

for fortran, there is task-fortran
and task-tex , task-chinese, emacs20 or xemacs21.

And of cause you should install man-db first so that you don't have to ask
us for everything. :).

Since you cannot use apt because you cannot install from CD or
from a debian archive(You only have 20MB), I guess you have to use dpkg. 
download the .deb file, 'dpkg -i file.deb' to install. If failed, 
download the files that it depends. 'dpkg -I file.deb' can give you
more infomation of the .deb. 

Without apt, you will want to install the packages that task-* depends.

$ apt-cache show task-fortran
Package: task-fortran
Priority: extra
Section: devel
Installed-Size: 13
Maintainer: Mark Brown <broonie@debian.org>
Architecture: all
Version: 1.1
Depends: g77 | fortran77-compiler, ftnchek
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Suggests: fweb, slatec, asa
Filename: dists/potato/main/binary-all/devel/task-fortran_1.1.deb
Size: 2094
MD5sum: 3af39d2b2b63d4b288ca7327fa030993
Description: Fortran development environment
 This package depends on a number of other packages.  When installed
 with all its dependencies it provides a reasonably complete environment
 for Fortran 77 development.  It also suggest a couple of other packages
 which may be of use to Fortran programmers, but does not suggest
 general tools like editors.
 .
 Removing this package will not remove any functionality from your
 system - it exists purely to provide dependencies on other packages.

> 
> 反是小于20M的包我都能下載,但只能從其它的機器上下載,然後再傳到我的機器上。
> 
> 2. 包取過來了,我又該如何安裝?我不太明白APT,請大蝦們指點一下。我怎樣才能
> 知道我的機器上裝了什麼包?
> 

You need a archive to use apt. the archive can be put on ftp, http,
local file system or cd. To install a individual file, you have to use
'dpkg' just like install a rpm file on redhat. 

You can point your sources.list of apt to a mirror site in china and
do a apt-get update. Then you can find out want program you want with
apt-cache search. sources.list looks like:

deb http://http.us.debian.org/debian stable main contrib non-free

-- 
hashao|常記得離筵飲泣餞行時,折盡青青楊柳枝。欲拈斑管書心事,無那可乾坤天樣般紙。
hashao|意懸懸訴不盡相思,謾寫下鴛鴦字,空吟就花月詞,憑何人付與嬌姿。

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: