400 028 6601

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

RHEL6基础二十四之RHEL软件包管理③源码安装

一、概述

创新互联建站是一家专注于成都做网站、网站制作与策划设计,张掖网站建设哪家好?创新互联建站做网站,专注于网站建设10年,网设计领域的专业建站公司;建站业务涵盖:张掖等地区。张掖做网站价格咨询:13518219792

二、编译安装

编译安装的基本步骤

RHEL6基础二十四之RHEL软件包管理③源码安装

将源代码文件转变为二进制可执行程序,编译的过程主要是根据makefile文件中的配置信息,将源代码编译、连接成可执行程序

顾名思义,这一步就是对上一步 make 的检查了,要确保 make 是没有错误的,也就是这一步的 test、check要全部是 OK 的,error 为0;这步可省略

三、源码编译安装程序的卸载

很多source的Makefile都有写uninstall规则,如果原先的source还在,可直接在Souce里make uninstall&&make clean,然后重新configure......如果没有uninstall规则一句一句看Makefile里install部分他都干了些什么,然后挨个删除


编译安装ntfs-3g

[root@justin src]# wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2013.1.13.tgz
[root@justin src]# tar zxvf ntfs-3g_ntfsprogs-2013.1.13.tgz -C /usr/local/
[root@justin src]# cd /usr/local/ntfs-3g_ntfsprogs-2013.1.13
[root@justin ntfs-3g_ntfsprogs-2013.1.13]# yum -y install gcc
[root@justin ntfs-3g_ntfsprogs-2013.1.13]# ./configure --prefix=/usr/local/ntfs
[root@justin ntfs-3g_ntfsprogs-2013.1.13]# make && make install
[root@justin ntfs-3g_ntfsprogs-2013.1.13]# ntfs-3g
ntfs-3g: No device is specified.
ntfs-3g 2013.1.13 integrated FUSE 27 - Third Generation NTFS Driver
        Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2012 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage:    ntfs-3g [-o option[,...]]  
Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
News, support and information:  http://tuxera.com
[root@justin ntfs-3g_ntfsprogs-2013.1.13]#


本文名称:RHEL6基础二十四之RHEL软件包管理③源码安装
转载来于:http://mbwzsj.com/article/pggich.html

其他资讯

让你的专属顾问为你服务