手動安裝
前一頁
下一頁

手動安裝

儘管首選的安裝方式是經由軟體套件管理軟體來安裝,見添加、移除及更新應用程式,您依然可以下載並安裝單獨的軟體套件。Linux 下有各種不同的軟體套件檔案,大多數都與特定的 Linux 發行版本相關聯。

如果你發現了想安裝的軟體套件,建議你先經由軟體套件管理系統檢查是否有適合 Kubuntu 本地的套件,並安裝替代版本。這樣可以保証該軟體完全與系統兼容。如果當時沒有合適的軟體套件,你可以手動進行安裝。安裝過程與套件的類型相關。

安裝/卸裝 .deb 檔案

The package files associated with Kubuntu have the .deb suffix because of Kubuntu's close relation to the Debian GNU/Linux distribution. You can download and install individual .deb files. You will need administrative privileges to do this.

  1. To install a .deb file, simply Right click on the .deb file, and choose Kubuntu Package MenuInstall Package.

  2. Alternatively, you can also install a .deb file by opening a terminal and typing:

    sudo dpkg -i package_file.deb
  3. To uninstall a .deb file, remove it using Adept, or type:

    sudo apt-get remove package_name

將 .rpm 檔案轉換為 .deb 檔案

另一種套件類型是 Red Hat Package 套件管理檔案,以.rpm為後綴。不建議安裝其到 Kubuntu 系統上。在大多數的情況下,都有適用於 Kubuntu 系統的.deb 套件可用。然而,實在有必要的情況下,可以經由程式alien.rpm 檔案轉換為.deb 檔案。

過程 2. Installation of Alien

  1. Open Adept Manager by going to KMenuSystemAdept Manager - Manage Packages.

  2. When prompted to enter a password, enter your user password and press OK.

  3. Locate the Search box just under the buttons at the top of the window and type alien.

  4. Locate the package named alien and select it. Press the Request Install button.

  5. Locate the the Apply Changes button in the top toolbar and press it.

  6. Once the installation has completed close Adept Manager.

過程 3. Using alien

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. At the command prompt type sudo alien package_file.rpm and press the Enter key.

  3. For more information on alien, type man alien at the command prompt. When complete, press q.

從原始碼安裝

後綴為 .tar.gz.tar.bz2 的檔案是以tarballs原始碼 形式發行的套件檔案,這種方式在 Linux 下被廣泛採用。如果在 Kubuntu 套件庫下沒有合適的軟體套件,你可以嘗試用源檔案編譯。關於編譯軟體的訊息,請參閱 Ubuntu Wiki 上的 編譯軟體 頁面。

前一頁
下一頁
內容