Ȼ/10

Top / Ȼ / 10

Install softwares manually: եȥμư󥹥ȡ

μȤǤϡեȥΥ󥹥ȡˡˤĤƳؽ롥
ǯǤϡ饤ȥ桼Ǥñ unix Ȥ褦ˤȤθ ѥå󥰤ϤȤ륤󥹥ȡμưʤǤ뤬

  • ޤ unix ȤФ OS Ǥѥåϳơۤʤ뤿ᡤؽƤѤʤ
  • ȥ֥뤬Ȥн褹ǽϤȤˤĤˤ
  • Ūʥեȥ䡤ʥեȥˤϥѥå󥰤ƤʤΤ¿

ʤɤդߤơŪͳ顤μȤǤϼư󥹥ȡ򰷤

ms-windows ʤɤȰۤʤꡤunix Ǥϥեȥϥե (Source File, ɤץ)ηۤƤ뤳Ȥ¿ 󥹥ȡϥƼʬǥѥ뤹뤳Ȥˤʤ롥
ϡ ߤäͤפȤָФäڤˡ§ ˤΤäȤäƥ桼ʬǥեȥäƤȤ unix 䡤 ʤ٤¿δĶǻȤ褦ˤȸθ եȥʤ٤ץˤ褦ȤʸŪطʤ餳ʤäƤΤǤꡤ طʤ򤳤γؽ̤ƴ뤳Ȥ⤳μȤǤ롥

Flow of installation: եȥμư󥹥ȡή

եȥ unix ˼ưǥ󥹥ȡ뤹Ūʼϰʲ̤Ǥ롥

  1. 󥹥ȡ뤹륽եȥɤʥեȥʤΤפİ롥
  2. 饤󥹤γǧ
  3. Source μ, Ÿ
  4. ѥ
  5. ѥ
  6. ѥ뤷եʤɤ,

ήռƤС¤Ϥʤ񤷤Ϥʤ Ūμ׵ᤵȤ⤢뤬 ɤƤ褯ʬʤȤϥ󥹥ȡ뤷ʤɤäǤ롥

warning.png ƥͤȡ Τ˼ʬ򤷤Ƥ뤫ɤİǤƤʤϡ ष󥹥ȡ뤷Ƥϡ֤ʤפȹͤɤ⤷ʤ
֥ȥϡפ򤦤ä꼫ʬǻŹǤޤäȤȤʤ ˡǤⲿ򤷤Ƥ뤫μФʤȤ褦ˤ褦

Installation of a software: եȥμư󥹥ȡμº

ƤβԤȤȤˡ JNorth_arrow-right-sm.png FDclone ȸƤФ cui ġȤƵ, ºݤ˥󥹥ȡ뤷ʤȤ˽Ϥ롥

FDclone Ȥġ(ܤǤ)ŤΤ줿ġʤΤǡ 󥹥ȡ뤷ƻȤ褦ˤʤäƤɤ

What is the software? ɤʥեȥʤΤפİ

Ǥ뤬󥹥ȡ뤹륽եȥɤʥեȥʤΤΤʤƤϻϤޤʤ ǡͤơեȥγפĴ٤Ƥ
ˤϡΥեȥ켡ۤƤ볫ȯ web 򻲾ȤΤޤɤ

notes.png ½
JNorth_arrow-right-sm.png FDclone web 򸫤ȡˡFDclone äƲ?פȤޤˤĤ館 web Τ狼롥 ɤǤޤϳפİ补

Confirmation of the license: 饤󥹤γǧ

˺줬Ǥ뤬 󥹥ȡ뤷ȻפեȥΥ饤󥹤ǧƤɬפ롥
вɬפʤΤǤʤΤ Ѵ֤¤Ϥʤۤϲǽɤ եȥΥ饤󥹤η֤¿ͤʤΤǡɡ 饤󥹤ɤʤäƤ뤫ϳƥեȥĴ٤¾Ϥʤ
̤ɤΤƤΤϡ־ѡפȡ֥ե꡼פȤޤʶ̤Ǥ뤬 ޤΩʤ

warning.png () 饤󥹤˰ȿ֤ǥեȥѤȡ »ᤵʤɤλ֤ȯŸǽ뤿ᡤ 󥹥ȡˤ褯褯饤󥹤ǧƤȡ
ޤͭפʥեȥۤƤԤؤδդȷɰդɽˤ⡤ 饤󥹤餹褦ˤ.

notes.png ½
FDclone Υ饤󥹤ϤϤwebˤޤȤƤΤǡɤ򤷤Ƥȡ

To obtain the source file: Source μ

ơե켰褦

ޤɤΥեȤäƤɤΤǤ뤬۸ web ǫɤʤ
褯ʬʤϡunix Ǥϥե켰 tarball ȸƤФ hogehoge.tar.gz ⤷ hogehoge.tgz Ȥۤ뤳Ȥ¿Τǡܰ¤ˤɤ

notes.png ½
FDclone Υե켰롥 unix ϡw3m lynx, wget ʤɤΥޥɥ饤ȤΤ᤯ɤ⤷ʤޤߤμˡʤ

Extract the source: Source Ÿ

ơե켰, ̾žñʤ褦˰ĤΥե˸ǤƤ뤿ᡤ ȤǤ褦ˤŸ褦
tarball gzip tar ŸǤ롥
tar gzip ΰ˴ؤƤϥ饤ޥ˥奢ɤФ褤ϻȤ񤤤Ƥ Ĵ٤Ƥ

ʤŸ̤Υե뤬ޤޤƤ뤳Ȥ¿ΤǡκȤޤᡤ ʲκȤϰŪʺѥǥ쥯ȥѰդƤǹԤäɤ

notes.png ½
FDclone Υե FD-3.01a.tar.gz Ÿ롥
㤨С tmp-fd Ȥǥ쥯ȥäƺȤʤС Τ˼Τ褦ήˤʤ

mkdir␣tmp-fd

cp␣FD-3.01a.tar.gz␣tmp-fd

cd␣tmp-fd

tar␣xvfz␣FD-3.01a.tar.gz

κȤΤȡŸ줿ǥ쥯ȥեιɤʤäƤ뤫ǧƤȡ

Readme:

ơǥե켰Ÿ줿Ǥ櫓 Ǥޤ٤Ȥϥե켰˴ޤޤƤɥ (񡤲⡤ޥ˥奢) ܤ̤ȤǤ롥 ɥȥեˤ INSTALL README ʤɤΡʸǻϤޤʬ䤹̾ĤƤΤǡ äȤߤǤɤʬϤǤ롥
ΥɥȤˤϥ󥹥ȡˡƼˡʤɤ񤫤ƤΤǡ ɤǤʤȤˤϼκȤʤޤʤ

warning.png : ɥȤܤ̤ˡִפǼκȤ˿ʤ ޤʤǺǻ֤Ĥ֤(äǿͤ)ɤߤ뤬 Ȥˤʤʤ褦դƤ

notes.png ½
FDclone Υե켰ߤơ ɥȤ˰̤ܤ̤
󥹥ȡˡƤ Install Ȥեä˽פʤΤɤɤǤȡ

Preparation to compile: ѥ

󥹥ȡˡˤĤƽ񤫤줿ɥȤɤߤʤ顤 򥳥ѥ뤹ˤͤФʤʤԤ 礶äѤ˸СϼĤκȤʤ롥

  • OS 䵡ĶȤ˰ۤʤ٤㤤б롥
    ܼŪˤϵŪǤ뤿ᡤեȥκ¦Ϥб뤳Ȥ¿ κб뤿λȤߤ¸ߤ롥 褯ΤƤΤϡ configure Ȥ̾ĤƤ륽եȤ¹Ԥˡ䡤 make␣config Ȥˡޤ xmkmf ȤġȤˡʤɤǤ롥

  • եȥưץꤹ롥
    եȤȤͤιߤĶˤ뤿ᡤ 桼Ԥꤹ뤳Ȥ¿ ߤȸäƤ褯狼ʤʤȤϡ Τޤ(ǥե)ˤƤƸǽƤɤ

ŪˤɤɤϡƤϥɥȤ˻ؼƤϤǤΤǡ 褯ɤǤλؼ˽

notes.png ½
FDclone Install ȤɥȤɤߡΥɥ
3. make
Ƚ񤫤ƤԤޤǤ¹Ԥ补

warning.png ѷ׻ƥ Vine Linux cygwin ϡLinux ȤФ OS ʬव.

Complile: ѥ

ä顤򥳥ѥ뤷ƥХʥˤ롥 ˤäơʬδĶǼ¹ԤǤե뤬뤳Ȥˤʤ롥
եȥ򵭽Ҥԥ塼ʤɤˤ¸뤬̾
make␣ץ
ȤɤȤ¿ ץޤŪˤɤ뤫ϡɥȤ˽񤫤Ƥؼ˽

ʤκȤϴĶʤɤäƤϡּԡפ뤳ȤΤǡȤޤäɤγǧɬפǤ롥
ǧˡȤƤäȤɤΤ Makefile ƤɤǹԤȤ򤷡ȷ̤Ƚ򤹤סȤΤǤ μȤİ֤Ƥ٥Ǥ줬ǤȤϻפʤ(ToT).
ǼκȤƤʤΤ ֥ѥ˽Ϥɤǡ꤬ƤʤɤȽǤ ȤΤǤ롥

ʸüβ̤ܡäįƤȲ̤ήƤޤɤʤʤ뤿ᡤ ѥȻˤϰμ JNorth_arrow-right-sm.png ¿ʥޥ Ǥ script ޥɤͭѤƵϿȤꡤȤåΤɤ

notes.png ½
FDclone Install ȤɥȤɤǡɥ
3. make
Ƚ񤫤Ƥ뤳Ȥǧ补 줫顤 script ȤäƵϿȤʤ饳ѥ뤹롥 ŪˤϰʲΤ褦ʴˤʤ

script␣Log-make

make

exit

less␣Log-make

ǵϿ򸫤ƤʤȤʤåǤ롥

ˡInstall ɥˤؼ˽ѥ뤷̤Ǥ fd ̵ưɤ,

./fd

ȤƳǧ롥

# ʤߤ fd q򲡤ȽλǤ롥

Something after the compilation: ѥ뤷եʤɤ,

ơޤ̵ˤɤ夤顤ȤϺ٤դǤ롥 Ŀͥ桼եȥ򥤥󥹥ȡ뤹硤ʳäȤ̤¿Τǡ դʤȤ褦

ʳκȤϰ̤˼Τ褦˿ʹԤ롥

  1. ¹ԥե롤ޥ˥奢롤եʤɤŬڤʥǥ쥯ȥ֤
  2. Ȥκǽå
  3. 󥹥ȡ˻ѤפȤʤäեθ
  4. եȥΥץκ٤Ĵ

ˤĤƺ٤⤷褦

Location of files: եŬڤʥǥ쥯ȥ֤

ơäѥޤǤƥեΤǡ ΥեŬڤʥǥ쥯ȥ֤ƻȤ褦ˤΤʳǤ롥

  • ե֤ǥ쥯ȥ
    ʳդפ롥 㤨С/usr/local/bin ʤɤ(Ŀͥ桼Ǥʤ)ǥ쥯ȥ ˥ե֤ȤȤƤ륽եȥ¿Ŀͥ桼ǤϤϽʤ

    н褹뤿ᡤŬڤʥǥ쥯ȥѰդꡤ ĶѿꤷȤȤɬפȤʤ롥 ˤϤޤdzؽ͡μɬפȤʤΤǡ褯פФƺȤ줿
    warning.png եȥˤäƤϡꤷƤĿͥ桼Ǥϥ󥹥ȡǤʤΤ롥 ľˤơԤ˥󥹥ȡ򤪴ꤤ褦

    ơŪ˹ͤȡ unix ˤƸĿͥ桼٥ǥեȥ򥤥󥹥ȡ뤹ݡ Ƴեϼ¹ԥե롤ޥ˥奢롤ե뤬Ǥ롥 ǡΥեɤǥ쥯ȥ֤Τ¾˲ɬפơ
¹ԥե ץΤʤɡ
Ŀͥ桼ξ硤桼ǥ쥯ȥ bin Ȥǥ쥯ȥƤ֤ΤŪ
ޤΥǥ쥯ȥ path ̤ƤʤȻȤʤΤǡ ٤򤷤Ƥɬפ롥
μȤǤϴˤѤǤΤǤˤĤƤʤ
ޥ˥奢
Ŀͥ桼ξ硤桼ǥ쥯ȥ man Ȥǥ쥯ȥƤ֤Ĥ餤 ȡФ MANPATH ȸƤФĶѿꤷƤɬפ롥 MANPATH ˤĤƾܤϡ man␣man ȤĴ٤补
notes.png ½
Ūˤɤǥ쥯ȥ꤬ɬפ Makefile ɤǤߤȡ
~/man/man1 ~/man/ja/man1
ѰդɤǤ롥 ǤޤΤ褦ˤƥǥ쥯ȥ롥

(cd␣~;␣mkdir␣man;␣cd␣man;␣mkdir␣man1)

(cd␣~/man;␣mkdir␣ja;␣cd␣ja;␣mkdir␣man1)

󡤺ȸˤΥǥ쥯ȥ꤬ǤƤ뤫ɤǧƤȡ ޤɤƾΥޥɤǥǥ쥯ȥ꤬Ǥ뤫ͤƤ

MANPATH ꤹ롥 bash ȤäƤʤ(̾Ϥ) .bashrc ǼΤ褦ꤹΤɤ

if␣[␣-d␣$HOME/man␣]

then

MANPATH="$HOME/man:␣:";␣export␣MANPATH

fi

⤷ tcsh ȤäƤʤС.tcshrc ʤɤ

setenv␣MANPATH␣"${HOME}/man:␣:"

Ȥɤ
ե
Ŀͥ桼ξ硤桼ǥ쥯ȥ etc Ȥǥ쥯ȥƤ֤Ȥˤʤ פʤϤ ǰΰ٤ˡetc ǥ쥯ȥۡβ˺äƤ

(cd␣~;␣mkdir␣etc)


¾
Makefile ɤȡɤ data ֤ǥ쥯ȥ꤬ɬפʤ褦 Ǥˤн褹뤳Ȥˤ褦

(cd␣~;␣mkdir␣share;␣cd␣share;␣mkdir␣fd)

  • ºݤΥեֺ

ơ嵭Υǥ쥯ȥȴĶѿ꤬ä顤 ե嵭Υǥ쥯ȥ֤ɤ κȤϼưǹԤäƤɤFDclone Install ɥȤɤȡ
7. make␣install
Ƚ񤫤ƤΤ make install ǹԤ뤳Ȥ()ʬ롥
Ǥϥե֤ǥ쥯ȥλϤɤǹԤΤȤȡ ˽񤫤Ƥ
5. Makefile.in ˤ TOPDIR ΥޥʬδĶ˱ơ
Ȥʬ롥

ơǤϤޤ Makefile.in Ŭڤ˽ؤθ塤make install ¹Ԥ褦

warning.png () Install ɥȤ "6. _fdrc fdrc Ȥ̾ǥԡ " ȤʬϺϼ¹Ԥɬפʤ Ȥꡤ¹ԤʤŬڡ ʤʤ顤ϸĿͥ桼ǥ󥹥ȡ뤹Τǡ եѰդȡɡ ͤΥ桼ѤĤե뤬¸ߤƤޤȤˤʤꡤ 𤹤Ǥ롥

notes.png ½
Makefile.in ؤǰΤ˥ХååפȤäƤ

cp␣Makefile.in␣Makefile.in.ORG

줫顤Makefile.in 򥨥ǥǽؤ롥 ؤȽؤϼ̤ꡥ

12 BINTOP = $(PREFIX)/binBINTOP = $(HOME)/bin
14 DATATOP = $(PREFIX)/shareDATATOP = $(HOME)/share
16 MANTOP = $(PREFIX)/manMANTOP = $(HOME)/man
19 JMANDIR = $(BUILD)$(MANTOP)__LANGDIR__/man$(MANSEC)JMANDIR = $(BUILD)$(MANTOP)/ja/man$(MANSEC)
20 JCATDIR = $(BUILD)$(MANTOP)__LANGDIR__/cat$(MANSEC)JCATDIR = $(BUILD)$(MANTOP)/ja/cat$(MANSEC)
25 DEFRC = $(CONFDIR)/fd__RCVERSION__rcDEFRC = $(HOME)/fd__RCVERSION__rc


Ǥä make install ¹ԤǤ롥 ˤäơscript ȤȤ˺ʤ褦ˤ褦

script␣Log-install

make␣install

exit

less␣Log-install

ǵϿ򸫤ƤʤȤʤåƤ

Final check: Ȥκǽå

ǹԤäȤԤƤ뤫å褦 Ķѿʤɤ⤢äΤǡǰΤˤäۤʤ ʸüΩ夲̵Ω夬뤫ǧξ塤 ä ơåԤ

notes.png ½
ʸü⤦ĵươ̵˵ư뤫ǧ롥
ˡο ʸüǡ ꤷĶѿȿǤƤ뤫

env␣|␣grep␣-i␣path

ȤơɽƤ PATH MANPATH ˾ߤʬäƤ뤫å롥
ˡο ʸüǡ

fd

ȤơɤΥǥ쥯ȥ꤫Ǥ fd ư뤫ɤå롥
ˡο ʸüǡ

man␣fd

Ȥơfd Υޥ˥奢뤬뤫ɤå롥 ˡ

man␣man

ʤɤȤơ¾Υޥ˥奢˰ƶФƤʤȤǧ롥

ޤǤޤä顤Ȣ Ԥ ΥåƤӹԤ ꤬ʤС󥹥ȡȤλϱۤȸ롥

Cleaning: ץեθ

ơǥ󥹥ȡȤΤΤϽλȸ롥 ǡȤϻĤäեʤɤ¸뤫ѴǤ롥 ϥݥꥷȥȤʤΤǡƿͤŬ˷ɤ

ʤߤˤϡ̤;͵ʤСŬڤʥǥ쥯ȥ(src ʤ)ơ˥ե¸ƤȤǤ롥 λե script Ǻ줿ȲεϿեˤȤäƤȸ塹ΩĤȤ

notes.png ½
Υե켰ȺƤʤɤ¸Ƥ
ޤѥǺ줿פʥե롥 ˤϡ̤˥եΤǥ쥯ȥ

make␣clean

ȤФ褤(Ȥ«ˤʤäƤ)
ˡΥ켰 tarball ˤƤޤ

cd␣..

tar␣cvfz␣FD-3.01a-20130620.tar.gz␣./FD-3.01a

Τ褦դʤɤƤɤ Ȥϡե֤Ƥǥ쥯ȥơذܤ, Ĥäեɤ

(cd␣~;␣mkdir␣src)

mv␣FD-3.01a-20130620.tar.gz␣~/src

(cd␣FD-3.01a;␣\rm␣*)

rmdir␣FD-3.01a

rm␣FD-3.01a.tar.gz

Configuration: ץĴ

եȥˤäƤϡץŬڤĴʤȻȤʪˤʤʤΤ⤢Τǡ ĴƤ

notes.png ½
ޤ FDclone ư롥 "?" 򲡤ȴñʥإפФΤǤɤȡ "E" 򲡤ȥޥǤ뤳Ȥʬ롥 ǡޥ򤤤Ԥ
ޥ̤ǤϡEnter 򲡤ȥץ򤬤Ǥ롥 äʬˤΤǡäƤߤ褦



Report: ݡ

ʲβˤĤǽ¤긭ĴȹͻԤ
AppliedMath7-Report-10
Ȥ̾Ĥ e-mail ˤƶ˥ݡȤȤФ. ʤݡȤ e-mail TeX Ǻ̤ˤФƤ褤.

Exercises:

  1. ʤ FDclone ȤäƤΤ򸫤ơͧͤʬȤȸФȤ롥 ǡʤ FDclone Υ켰ͧͤϤȻפ ι԰٤ FDclone Υ饤󥹤ȿƤʤɤ󤲤补

  2. FDclone Υե켰ˤϲफΥɥȤƱƤ롥 ƤΥɥȥե̾󤲡˲񤤤ƤΤ⤻补

  3. FDclone ΥץѤơʬֻȤ䤹褦ˤ补 ɤɤѤơɤʤäˤĤƲ⤻补

  4. JNorth_arrow-right-sm.png QKC ȸƤФ륽եȥˤĤơƱͤ˥󥹥ȡԤŬڤ𤻤补

  5. ;ϤΤԤϡ sl ޥ( JNorth_arrow-right-sm.png Ԥweb(˭ % sl) , JNorth_arrow-right-sm.png SL¤ײ ) ˤĤƱͤ˥󥹥ȡԤŬڤ𤻤补
    ʤߤ,¤ǤְϤ.



about Icons, ClipArts

For details, see JNorth_arrow-right-sm.png this.