Ubuntu筆記 - 軟體安裝筆記

1.透過套件庫安裝

1.1 Medibuntu 套件庫

Medibuntu的套件庫主要提供多媒體所需要的相關套件,包括:libdvdcss2(介紹)、Realplayer、 Icecast 2、w32codecs(介紹) 、Google Earth…等實用套件。個人認為是使用Ubuntu不可或缺的套件庫之一。

1.1.1 新增套件庫

  • 於終端機中輸入以下指令

sudo wget —output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list;sudo apt-get update;sudo apt-get —allow-unauthenticated install medibuntu-keyring;sudo apt-get update;sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu —force-yes -y;

1.1.2 推薦套件

1.1.2.1 libdvdcss2

  • 安裝指令

sudo apt-get install libdvdcss2 —force-yes -y;

1.1.2.2 W32codecs

  • 安裝指令

sudo apt-get install w32codecs —force-yes -y;

1.1.2.3 Googleearth

  • 安裝指令

sudo apt-get install googleearth googleearth-data —force-yes -y;

1.2 Canonical Partner 套件庫

The partner repositories offer access to proprietary and closed-source software and are not enabled by default.
夥伴套件庫(partner repositories)主要提供一些無法預設安裝具有專利保護以及閉源的軟體,這些軟體雖然並非開源,但仍能免費取得,這個套件庫主要就是提供這些軟體,譬如adobe Reader、adobe flash player、adobe Air、Sun Java6 JRE、UltraEdit..等。

1.2.1 新增套件庫

  • 於終端機中輸入以下指令

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner";

1.2.2 推薦套件

1.2.2.1 Sun-Java6-Jre

  • 安裝之前先移除 Openjdk-6-jre

sudo apt-get purge openjdk-6-jre icedtea6-plugin openjdk-6-jre-lib —force-yes -y;

  • 安裝指令

sudo apt-get install sun-java6-jre sun-java6-plugin —force-yes -y;

1.2.2.2 Adobe reader9

  • 安裝指令

Sudo apt-get install acroread acroread-fonts —force-yes -y;

1.2.2.3 Adobe Flash Player

  • 安裝指令

sudo apt-get install adobe-flashplugin —force-yes -y;

1.3 PPA 套件庫

PPA的全名為Personal Package Archive,是一個由Canonical公司所建立的套件庫模式,這種套件庫通常由貢獻者單獨維護,每個人都可以建立帳號,並且將自己編譯與patch的套件上傳,而這樣的模式使得Ubuntu的使用者更容易取得比其他Linux發行版本更新的套件。PPA套件庫還有一個與其他套件庫不一樣之處,即他可以透過sudo add-apt-repository + PPA's location的指令而使Ubuntu新增套件庫時自動匯入金鑰,對Ubuntu的使用者而言是個相當棒的功能。

1.3.1 新增套件庫

  • 於終端機中輸入以下指令

sudo add-apt-repository "套件庫位置"

以B.J. Stobiecki的PPA套件庫(連結)為例,該套件庫提供最新的emesene。網址中段粗體的"ppa:bjfs/ppa"我們所需要的套件庫位置,我們要新增B.J. Stobiecki的PPA套件庫,要在終端機中輸入:

sudo add-apt-repository ppa:bjfs/ppa

1.3.2 推薦之PPA套件庫

套件庫位置 套件庫提供的軟體
ppa:jd-team/jdownloader Jdownloader
ppa:bjfs/ppa emesene
ppa:deluge-team/ppa Deluge
ppa:nvidia-vdpau/ppa Nvidia顯示卡驅動程式
ppa:tualatrix/ppa Ubuntu Tweak,這是一套剛開始使用Ubuntu非常推薦安裝的一個微調套件,除了提供許多微調的功能之外,還能透過Ubuntu Tweak來尋找自己所需要的套件
ppa:rvm/smplayer SMplayer、Mplayer,SMplayer是一套以Qt為基礎的影音播放器,其特色是支援Nvidia 所專有的Vdpau技術,可以降低播放高畫質影片時的CPU使用率
ppa:msn-pecan/ppa msn-pecan Pidgin 最新的MSN協定支援
ppa:pcf/miro-releases Miro是一套內含Mozilla 瀏覽器及VLC 播放軟體血統的跨平台開放源碼影音播放軟體,我通常用他來看HD的影片以及Video Podcast
ppa:thp/gpodder 管理Podcast的好幫手

1.4 Google套件庫

1.4.1 新增套件庫

  • 於終端機中輸入以下指令

sudo add-apt-repository "套件庫位置";

套件庫位置 套件庫提供的軟體 套件庫所需的金鑰
deb http://dl.google.com/linux/deb/ stable non-free google-desktop-linux、picasa A040830F7FAC5991
deb http://dl.google.com/linux/deb/ stable main google-chrome-beta、google-chrome-stable、google-chrome-untable A040830F7FAC5991
  • 加入套件庫金鑰的方法

gpg —keyserver keyserver.ubuntu.com —recv A040830F7FAC5991;gpg —export —armor A040830F7FAC5991 | sudo apt-key add -;

1.4.2 推薦套件

1.4.2.1 Google-chrome-beta

  • 輸入指令

sudo apt-get install google-chrome-beta —force-yes -y;

1.5 安裝原生套件庫之軟體

2.不透過套件庫安裝軟體

2.1 Bashare

2.1.1 簡介

BaShare (Basic Share) is a very simply and user-friendly file sharing tool over the Internet and private LAN too.

2.1.2 安裝指令

  • 請在終端機輸入以下指令

wget -c http://bashare.googlecode.com/files/libminiupnpc4_1.4-0ubuntu4_i386.deb;wget -c http://bashare.googlecode.com/files/miniupnpc_1.4-0ubuntu4_i386.deb;wget -c http://bashare.googlecode.com/files/bashare_0.5.0-1_all.deb;sudo dpkg -i libminiupnpc4_1.4-0ubuntu4_i386.deb miniupnpc_1.4-0ubuntu4_i386.deb bashare_0.5.0-1_all.deb;

2.2 Firefox

2.2.1 安裝指令

  • 請在終端機輸入以下指令

wget -c http://dm-download02.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-i686/zh-TW/firefox-3.6.8.tar.bz2 ;tar -xjvf firefox-3.6.8.tar.bz2;

2.3 安裝文鼎新宋、新楷書字型

2.3.1 安裝指令

  • 請在終端機輸入以下指令

wget -c http://dl.dropbox.com/u/1059205/deb/opendesktop-fonts_1.5.0-2_all.deb;sudo dpkg -i opendesktop-fonts_1.5.0-2_all.deb;

2.4 PCMAN-X-Gtk2

2.4.1 安裝指令

  • 請在終端機輸入以下指令

wget -c http://dl.dropbox.com/u/1059205/deb/pcmanx-gtk2_0.3.9-1_i386.deb;sudo dpkg -i pcmanx-gtk2_0.3.9-1_i386.deb

2.5 Foxit Rader

2.5.1 簡介

輕巧的PDF Reader,如果厭倦Adobe Reader,可以試試看這個,如果遇到Adobe Reader中文亂碼的狀況,也可以試試看這個軟體。

2.5.2 安裝指令

  • 請在終端機輸入以下指令

2.6 HPLIP

2.6.1 簡介

HP Print, scan and fax drivers for Linux

2.6.2 安裝指令

wget -c http://ncu.dl.sourceforge.net/project/hplip/hplip/3.10.5/hplip-3.10.5.run;sh hplip-3.10.5.run;

+ 參考資料
https://help.ubuntu.com/community/Repositories/Ubuntu

Page tags: notes ubuntu
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License