在Red Hat 5.0內裝Pidgin - 通達人驛站
2008/8/11

在Red Hat 5.0內裝Pidgin

因為想在RHEL5(Red Hat Enterprise Linux 5)底下安裝pidgin,就上網找了如何安裝pidgin的資料,並直接嘗試安裝,成功後就寫在這裏以避免自己忘記了。

  1. 使用su切換成root的權限。
  2. 從pidgin的官網複製pidgin.repo至/etc/yum.repos.d/下
  3. 在/etc/yum.repos.d/下使用"yum install pidgin"指令安裝Pidgin:
    Loading "installonlyn" plugin
    Loading "rhnplugin" plugin
    Setting up Install Process
    Setting up repositories
    rhel-i386-server-5 100% |=========================| 1.4 kB 00:00
    pidgin 100% |=========================| 951 B 00:00
    Reading repository metadata in from local files
    primary.xml.gz 100% |=========================| 14 kB 00:00
    ################################################## 82/82
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for pidgin to pack into transaction set.
    pidgin-2.3.1-0.el5.i386.r 100% |=========================| 64 kB 00:00
    ---> Package pidgin.i386 0:2.3.1-0.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: libpurple = 2.3.1 for package: pidgin
    --> Processing Dependency: perl(Purple) for package: pidgin
    --> Processing Dependency: libpurple.so.0 for package: pidgin
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for libpurple to pack into transaction set.
    libpurple-2.3.1-0.el5.i38 100% |=========================| 39 kB 00:01
    ---> Package libpurple.i386 0:2.3.1-0.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: libsilc-1.0.so.2 for package: libpurple
    --> Processing Dependency: cyrus-sasl-md5 for package: libpurple
    --> Processing Dependency: libsilcclient-1.0.so.1 for package: libpurple
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for cyrus-sasl-md5 to pack into transaction set.
    cyrus-sasl-md5-2.1.22-4.i 100% |=========================| 15 kB 00:00
    ---> Package cyrus-sasl-md5.i386 0:2.1.22-4 set to be updated
    --> Running transaction check
    --> Processing Dependency: libsilc-1.0.so.2 for package: libpurple
    --> Processing Dependency: libsilcclient-1.0.so.1 for package: libpurple
    --> Finished Dependency Resolution
    Error: Missing Dependency: libsilc-1.0.so.2 is needed by package libpurple
    Error: Missing Dependency: libsilcclient-1.0.so.1 is needed by package libpurple
  4. 從訊息中找出欠缺的套件
    Error: Missing Dependency: libsilc-1.0.so.2 is needed by package libpurple
    Error: Missing Dependency: libsilcclient-1.0.so.1 is needed by package libpurple
  5. 進入義守大學檔案伺服器,找到符合Linux版本的套件
    libsilc-1.0.so.2位置:/pub/Linux/Mandrake/official/2007.1/i586/media/main/release/libsilcclient-1.0.so.1
    libsilcclient-1.0.so.1位置:/pub/Linux/CentOS/5.0/os/i386/CentOS/libsilc-1.0.so.2
  6. 安裝套件
    rpm -ivh libsilcclient-1.0_1-1.0.2-1mdv2007.1.i586.rpm
    rpm -ivh --replacefiles libsilc-1.0.2-2.fc6.i386.rpm
  7. 在/etc/yum.repos.d/下使用"yum install pidgin"指令安裝Pidgin,就出現:
    Loading "installonlyn" plugin
    Loading "rhnplugin" plugin
    Setting up Install Process
    Setting up repositories
    rhel-i386-server-5 100% |=========================| 1.4 kB 00:00
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package pidgin.i386 0:2.3.1-0.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: libpurple = 2.3.1 for package: pidgin
    --> Processing Dependency: perl(Purple) for package: pidgin
    --> Processing Dependency: libpurple.so.0 for package: pidgin
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package libpurple.i386 0:2.3.1-0.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: cyrus-sasl-md5 for package: libpurple
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package cyrus-sasl-md5.i386 0:2.1.22-4 set to be updated
    --> Running transaction check

    Dependencies Resolved

    =============================================================================
    Package Arch Version Repository Size
    =============================================================================
    Installing:
    pidgin i386 2.3.1-0.el5 pidgin 1.2 M
    Installing for dependencies:
    cyrus-sasl-md5 i386 2.1.22-4 rhel-i386-server-5 45 k
    libpurple i386 2.3.1-0.el5 pidgin 7.2 M

    Transaction Summary
    =============================================================================
    Install 3 Package(s)
    Update 0 Package(s)
    Remove 0 Package(s)

    Total download size: 8.4 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/3): libpurple-2.3.1-0. 100% |=========================| 7.2 MB 00:20
    (2/3): pidgin-2.3.1-0.el5 100% |=========================| 1.2 MB 00:08
    (3/3): cyrus-sasl-md5-2.1 100% |=========================| 45 kB 00:00
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing: cyrus-sasl-md5 ######################### [1/3]
    Installing: libpurple ######################### [2/3]
    Installing: pidgin ######################### [3/3]

    Installed: pidgin.i386 0:2.3.1-0.el5
    Dependency Installed: cyrus-sasl-md5.i386 0:2.1.22-4 libpurple.i386 0:2.3.1-0.el5
    Complete!
  8. 安裝完後會在左上角的 Application > Internet下出現pidgin的圖示
 Related Posts with Thumbnails 

0 意見 :

張貼留言