www.久久久久|狼友网站av天堂|精品国产无码a片|一级av色欲av|91在线播放视频|亚洲无码主播在线|国产精品草久在线|明星AV网站在线|污污内射久久一区|婷婷综合视频网站

當(dāng)前位置:首頁(yè) > 芯聞號(hào) > 充電吧
[導(dǎo)讀]在安裝中文語(yǔ)言包和中文輸入法之前,我先配置好了pc-arm的交叉編譯環(huán)境和QT,因?yàn)槲乙趒t中使用中文,所以不知道是否應(yīng)該先把開(kāi)發(fā)環(huán)境配置好再安裝輸入法。1.更新源列表:ubuntu上的軟件安裝都需

在安裝中文語(yǔ)言包和中文輸入法之前,我先配置好了pc-arm的交叉編譯環(huán)境和QT,因?yàn)槲乙趒t中使用中文,所以不知道是否應(yīng)該先把開(kāi)發(fā)環(huán)境配置好再安裝輸入法。

1.更新源列表:

ubuntu上的軟件安裝都需要實(shí)時(shí)聯(lián)網(wǎng),所以在安裝軟件時(shí)都應(yīng)該保持網(wǎng)絡(luò)暢通。安裝軟件需要獲取網(wǎng)絡(luò)資源,這些資源的地址都存在/etc/apt/souces.list這個(gè)列表文件里,網(wǎng)絡(luò)上的源有很多,下面我列出一些。

官方源:


#?deb?cdrom:[Ubuntu?12.04.2?LTS?_Precise?Pangolin_?-?Release?i386?(20130213)]/?precise?main?restricted

#?See?http://help.ubuntu.com/community/UpgradeNotes?for?how?to?upgrade?to
#?newer?versions?of?the?distribution.
deb?http://archive.ubuntu.com/ubuntu?precise?main?restricted
deb-src?http://archive.ubuntu.com/ubuntu?precise?main?restricted

##?Major?bug?fix?updates?produced?after?the?final?release?of?the
##?distribution.
deb?http://archive.ubuntu.com/ubuntu?precise-updates?main?restricted
deb-src?http://archive.ubuntu.com/ubuntu?precise-updates?main?restricted

##?N.B.?software?from?this?repository?is?ENTIRELY?UNSUPPORTED?by?the?Ubuntu
##?team.?Also,?please?note?that?software?in?universe?WILL?NOT?receive?any
##?review?or?updates?from?the?Ubuntu?security?team.
deb?http://archive.ubuntu.com/ubuntu?precise?universe
deb-src?http://archive.ubuntu.com/ubuntu?precise?universe
deb?http://archive.ubuntu.com/ubuntu?precise-updates?universe
deb-src?http://archive.ubuntu.com/ubuntu?precise-updates?universe

##?N.B.?software?from?this?repository?is?ENTIRELY?UNSUPPORTED?by?the?Ubuntu?
##?team,?and?may?not?be?under?a?free?licence.?Please?satisfy?yourself?as?to?
##?your?rights?to?use?the?software.?Also,?please?note?that?software?in?
##?multiverse?WILL?NOT?receive?any?review?or?updates?from?the?Ubuntu
##?security?team.
deb?http://archive.ubuntu.com/ubuntu?precise?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise?multiverse
deb?http://archive.ubuntu.com/ubuntu?precise-updates?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise-updates?multiverse

##?N.B.?software?from?this?repository?may?not?have?been?tested?as
##?extensively?as?that?contained?in?the?main?release,?although?it?includes
##?newer?versions?of?some?applications?which?may?provide?useful?features.
##?Also,?please?note?that?software?in?backports?WILL?NOT?receive?any?review
##?or?updates?from?the?Ubuntu?security?team.
deb?http://archive.ubuntu.com/ubuntu?precise-backports?main?restricted?universe?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise-backports?main?restricted?universe?multiverse

deb?http://archive.ubuntu.com/ubuntu?precise-security?main?restricted
deb-src?http://archive.ubuntu.com/ubuntu?precise-security?main?restricted
deb?http://archive.ubuntu.com/ubuntu?precise-security?universe
deb-src?http://archive.ubuntu.com/ubuntu?precise-security?universe
deb?http://archive.ubuntu.com/ubuntu?precise-security?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise-security?multiverse

##?Uncomment?the?following?two?lines?to?add?software?from?Canonical's
##?'partner'?repository.
##?This?software?is?not?part?of?Ubuntu,?but?is?offered?by?Canonical?and?the
##?respective?vendors?as?a?service?to?Ubuntu?users.
deb?http://archive.canonical.com/ubuntu?precise?partner
deb-src?http://archive.canonical.com/ubuntu?precise?partner

##?This?software?is?not?part?of?Ubuntu,?but?is?offered?by?third-party
##?developers?who?want?to?ship?their?latest?software.
deb?http://extras.ubuntu.com/ubuntu?precise?main
deb?http://archive.ubuntu.com/ubuntu?precise-proposed?restricted?main?multiverse?universe
deb-src?http://extras.ubuntu.com/ubuntu?precise?main


臺(tái)灣大學(xué)源:



#臺(tái)灣源(推薦網(wǎng)通用戶使用,電信PING平均響應(yīng)速度41MS。強(qiáng)烈推薦此源,比較完整,較少出現(xiàn)同步問(wèn)題):
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper?main?restricted?universe?multiverse
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-updates?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-updates?main?restricted?universe?multiverse
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-backports?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-backports?main?restricted?universe?multiverse
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-security?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-security?main?restricted?universe?multiverse
deb?http://fpt.sjtu.edu.cn/ubuntu-cn/?dapper?main?multiverse?restricted?universe


網(wǎng)易源:



#163源:
deb?http://mirrors.163.com/ubuntu/?precise?main?restricted
deb-src?http://mirrors.163.com/ubuntu/?precise?main?restricted
deb?http://mirrors.163.com/ubuntu/?precise-updates?main?restricted
deb-src?http://mirrors.163.com/ubuntu/?precise-updates?main?restricted
deb?http://mirrors.163.com/ubuntu/?precise?universe
deb-src?http://mirrors.163.com/ubuntu/?precise?universe
deb?http://mirrors.163.com/ubuntu/?precise-updates?universe
deb-src?http://mirrors.163.com/ubuntu/?precise-updates?universe
deb?http://mirrors.163.com/ubuntu/?precise?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise?multiverse
deb?http://mirrors.163.com/ubuntu/?precise-updates?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise-updates?multiverse
deb?http://mirrors.163.com/ubuntu/?precise-backports?main?restricted?universe?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise-backports?main?restricted?universe?multiverse
deb?http://mirrors.163.com/ubuntu/?precise-security?main?restricted
deb-src?http://mirrors.163.com/ubuntu/?precise-security?main?restricted
deb?http://mirrors.163.com/ubuntu/?precise-security?universe
deb-src?http://mirrors.163.com/ubuntu/?precise-security?universe
deb?http://mirrors.163.com/ubuntu/?precise-security?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise-security?multiverse
deb?http://extras.ubuntu.com/ubuntu?precise?main
deb-src?http://extras.ubuntu.com/ubuntu?precise?main


上海交通大學(xué)源:



#上海交通大學(xué)源:
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-updates?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-backports?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-proposed?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-security?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu-cn/?dapper?main?multiverse?restricted?universe


cn99源:



#ubuntu.cn99.com源(推薦):
deb?http://ubuntu.cn99.com/ubuntu/?precise?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu/?precise-updates?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu/?precise-security?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu/?precise-backports?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu-cn/?precise?main?restricted?universe?multiverse


我用的是官方的歐洲源,因?yàn)樗亲钊?,而且速度也不慢,下載速度一般在70K/S以上,如果你用官方的源下載速度很慢(更新下載的時(shí)候有可能卡在某個(gè)包不動(dòng)了,沒(méi)速度了,我就遇到了這個(gè)情況。我懷疑是我公司的網(wǎng)絡(luò)問(wèn)題導(dǎo)致的,所以總是不停的嘗試重新更新,最后都成功了),可以使用其他的源,根據(jù)自己的情況選擇。


然后就要更新源列表了。


#sudo?apt-get?update


2.安裝中文語(yǔ)言包:

點(diǎn)擊右上角齒輪狀的按鈕,或者打開(kāi)Dash home搜索,找到System Settings->Language Support,然后它會(huì)自動(dòng)檢查更新(等它更新完,我剛開(kāi)始就直接把它關(guān)掉了,結(jié)果中文輸入法怎么都裝不上),更新完以后,點(diǎn)擊Install/Remove Languages...,選上Chinese(Simplified),點(diǎn)擊Aplly,然后它就會(huì)自動(dòng)下載安裝了(如果下載卡住了,沒(méi)速度了,關(guān)了重新打開(kāi)接著下)。

安裝完了之后發(fā)現(xiàn)“漢語(yǔ)(中國(guó))”還是黑的呢!別急,只需要按住鼠標(biāo)把它拖到最上邊就可以了,OK,Close,ReStart(重啟系統(tǒng))!

3.刪除所有輸入法:

我是怕輸入法太多而引起沖突,而且我也不喜歡有幾個(gè)輸入法,看著煩,就增加了這步。

我是手動(dòng)找到/etc/X11/xinit/xinput.d這個(gè)文件夾,刪除前先備份(養(yǎng)成好習(xí)慣),刪除除all_ALL,none以外的所有文件。

4.安裝ibus輸入法框架及漢語(yǔ)拼音:

打開(kāi)終端,安裝ibus,拼音,五筆


#?sudo?apt-get?install?ibus?ibus-clutter?ibus-gtk?ibus-gtk3?ibus-qt4
#?sudo?apt-get?install?ibus-pinyin
#?sudo?apt-get?install?ibus-table-wubi


然后設(shè)置輸入法



ibus-setup


Input Method選項(xiàng)卡中,選中Customize active input methods,Select an input method->Pinyin,Add。


至此中文輸入法就裝完了。


如需轉(zhuǎn)載請(qǐng)注明出處:http://blog.csdn.net/klo220/article/details/18708985

本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實(shí)性等。需要轉(zhuǎn)載請(qǐng)聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請(qǐng)及時(shí)聯(lián)系本站刪除。
換一批
延伸閱讀

9月2日消息,不造車的華為或?qū)⒋呱龈蟮莫?dú)角獸公司,隨著阿維塔和賽力斯的入局,華為引望愈發(fā)顯得引人矚目。

關(guān)鍵字: 阿維塔 塞力斯 華為

倫敦2024年8月29日 /美通社/ -- 英國(guó)汽車技術(shù)公司SODA.Auto推出其旗艦產(chǎn)品SODA V,這是全球首款涵蓋汽車工程師從創(chuàng)意到認(rèn)證的所有需求的工具,可用于創(chuàng)建軟件定義汽車。 SODA V工具的開(kāi)發(fā)耗時(shí)1.5...

關(guān)鍵字: 汽車 人工智能 智能驅(qū)動(dòng) BSP

北京2024年8月28日 /美通社/ -- 越來(lái)越多用戶希望企業(yè)業(yè)務(wù)能7×24不間斷運(yùn)行,同時(shí)企業(yè)卻面臨越來(lái)越多業(yè)務(wù)中斷的風(fēng)險(xiǎn),如企業(yè)系統(tǒng)復(fù)雜性的增加,頻繁的功能更新和發(fā)布等。如何確保業(yè)務(wù)連續(xù)性,提升韌性,成...

關(guān)鍵字: 亞馬遜 解密 控制平面 BSP

8月30日消息,據(jù)媒體報(bào)道,騰訊和網(wǎng)易近期正在縮減他們對(duì)日本游戲市場(chǎng)的投資。

關(guān)鍵字: 騰訊 編碼器 CPU

8月28日消息,今天上午,2024中國(guó)國(guó)際大數(shù)據(jù)產(chǎn)業(yè)博覽會(huì)開(kāi)幕式在貴陽(yáng)舉行,華為董事、質(zhì)量流程IT總裁陶景文發(fā)表了演講。

關(guān)鍵字: 華為 12nm EDA 半導(dǎo)體

8月28日消息,在2024中國(guó)國(guó)際大數(shù)據(jù)產(chǎn)業(yè)博覽會(huì)上,華為常務(wù)董事、華為云CEO張平安發(fā)表演講稱,數(shù)字世界的話語(yǔ)權(quán)最終是由生態(tài)的繁榮決定的。

關(guān)鍵字: 華為 12nm 手機(jī) 衛(wèi)星通信

要點(diǎn): 有效應(yīng)對(duì)環(huán)境變化,經(jīng)營(yíng)業(yè)績(jī)穩(wěn)中有升 落實(shí)提質(zhì)增效舉措,毛利潤(rùn)率延續(xù)升勢(shì) 戰(zhàn)略布局成效顯著,戰(zhàn)新業(yè)務(wù)引領(lǐng)增長(zhǎng) 以科技創(chuàng)新為引領(lǐng),提升企業(yè)核心競(jìng)爭(zhēng)力 堅(jiān)持高質(zhì)量發(fā)展策略,塑強(qiáng)核心競(jìng)爭(zhēng)優(yōu)勢(shì)...

關(guān)鍵字: 通信 BSP 電信運(yùn)營(yíng)商 數(shù)字經(jīng)濟(jì)

北京2024年8月27日 /美通社/ -- 8月21日,由中央廣播電視總臺(tái)與中國(guó)電影電視技術(shù)學(xué)會(huì)聯(lián)合牽頭組建的NVI技術(shù)創(chuàng)新聯(lián)盟在BIRTV2024超高清全產(chǎn)業(yè)鏈發(fā)展研討會(huì)上宣布正式成立。 活動(dòng)現(xiàn)場(chǎng) NVI技術(shù)創(chuàng)新聯(lián)...

關(guān)鍵字: VI 傳輸協(xié)議 音頻 BSP

北京2024年8月27日 /美通社/ -- 在8月23日舉辦的2024年長(zhǎng)三角生態(tài)綠色一體化發(fā)展示范區(qū)聯(lián)合招商會(huì)上,軟通動(dòng)力信息技術(shù)(集團(tuán))股份有限公司(以下簡(jiǎn)稱"軟通動(dòng)力")與長(zhǎng)三角投資(上海)有限...

關(guān)鍵字: BSP 信息技術(shù)
關(guān)閉
關(guān)閉