您当前的位置:首页>>技术中心>>数据恢复文章>>正文
 
FreeBSD handbook中文版 4 安装应用程序:Packages 和Ports
作者: 来源: 日期:2007-6-14 10:27:34  点击次数:

... 
===> Generating temporary packing list 
===> Installing xchat docs in /usr/X11R6/share/doc/xchat 
===> Registering installation for xchat-1.3.8 

回到命令行后,你就可以运行刚才安装的应用程序了。
注意:你也可以只运行make install,把make 和make install 两步并作一步来执行。
请记住有些ports 由于许可证的原因,不允许通过cdrom 来安装。这可能有很多原因,包
括在下载安装前需要注册,重新发布没有得到许可等等。如果你希望安装一个cdrom 上没
有的port,你可能需要在线安装。
4.4.2.2. 通过internet 安装
正如前一节所讲到的,这一节假定你已经连接到Internet 上了。如果没有的话,你只
好通过CDROM 来安装了。通过Internet 安装一个port,实际上跟你通过CDROM 安装是一样
的。两者之间唯一的不同是程序的源代码是从Internet 上而不是从CDROM 上下载。
有关的步骤是一样的: 
# make install 
>> xchat-1.3.8.tar.bz2 doesn’t seem to exist on this system. 
>> Attempting to fetch from http://xchat.org/files/v1.3/
Receiving xchat-1.3.8.tar.bz2 (305543 bytes): 100% 
305543 bytes transferred in 2.9 seconds (102.81 Kbytes/s) 
===> Extracting for xchat-1.3.8 
>> Checksum OK for xchat-1.3.8.tar.bz2. 
===> xchat-1.3.8 depends on executable: bzip2 - found 
===> xchat-1.3.8 depends on executable: gmake - found 
===> xchat-1.3.8 depends on shared library: gtk12.2 - found 
===> xchat-1.3.8 depends on shared library: Imlib.5 - found 
===> xchat-1.3.8 depends on shared library: X11.6 - found 
第10 页FreeBSD 使用手册
===> Patching for xchat-1.3.8 
===> Applying FreeBSD patches for xchat-1.3.8 
===> Configuring for xchat-1.3.8 
... 
[configure output snipped] 
... 
===> Building for xchat-1.3.8 
... 
[compilation snipped] 
... 
===> Installing for xchat-1.3.8 
===> xchat-1.3.8 depends on shared library: gtk12.2 - found 
===> xchat-1.3.8 depends on shared library: Imlib.5 - found 
===> xchat-1.3.8 depends on shared library: X11.6 - found 
... 
[install routines snipped] 
... 
===> Generating temporary packing list 
===> Installing xchat docs in /usr/X11R6/share/doc/xchat 
===> Registering installation for xchat-1.3.8 

正如你所看到的,唯一的不同是那些告诉你系统是从哪儿找到port 行的。在下一节中, 
你将学到如何从你的系统中删除一个port。
4.4.3. 删除已经安装的port 
现在你已经知道如何安装ports 了,你大概想知道如何删除它们吧。例如,已经安装好
了一个port,不久发现安装的是一个错误的port。下面的段落将谈到这些问题。
现在我们将删除我们刚才安装的xchat。正如安装ports 时一样,第一件事情是你必须
改变port 的目录。如果你记得的话,那应该是/usr/ports/irc/xchat。你改变了目录后, 
你就要准备删除xchat 了。你可以执行下面的反安装程序: 
# cd /usr/ports/irc/xchat 
第11 页FreeBSD 使用手册
# make deinstall 
===> Deinstalling for xchat-1.3.8 

就这么简单。你现在已经把xchat 从你的系统中删除掉了。如果你想再重新安装它的话, 

本新闻共7页,当前在第5页  1  2  3  4  5  6  7  


上一篇:FreeBSD handbook中文版 3 Unix 基础
下一篇:FreeBSD handbook中文版 5 X Window 系统
  北京总部: 4006-505-808
  天 津 部: 4006-505-808
  上 海 部: 4006-505-808
  深 圳 部: 4006-505-808
  广 州 部: 4006-505-808
  重 庆 部: 4006-505-808
  南 京 部: 4006-505-808
  其它地区: 4006-505-808
经典案例
中国石油管理局-Oracle数据库恢
中国网通-IBM EXP300磁盘阵列数
大连鸿德经贸有限责任公司-SQL
中国地质环境监测院-HP LH3000
藁城市东街百货-EFS文件解密成
工商银行某省分行-AIX删除LV数
中央电视台新闻评论部-苹果分
promise乔鼎硬盘阵列数据恢复成
麒麟童文化-苹果分区无法打开,
NAS 8100服务器数据恢复成功 
解决方案
raid磁盘阵列OFFLINE后的应急方
磁盘未被格式化,是否格式化数据
误GHOST、误一键恢复灾难应急方
误删除、误格式化数据灾难应急
LINUX FSCK数据出错灾难应急方
北亚数据恢复 - 联系我们 - 关于北亚 - 友情链接 - 网站地图 - RSS聚合 
版权所有 北亚数据恢复中心
全国统一客服热线:4006-505-808
北京总部:北京市海淀区中关村大街11号E世界A座8层832B室