Ubuntu16.04中文源

Ubuntu16.04中文源

阿里源

deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

中科大源# 默认注释了源码仓库,如有需要可自行取消注释

deb https://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

预发布软件源,不建议启用
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

Installing c++/g++ on Windows Disclaimer: This page is being maintained mainly for my students. Use these instructions at your own risk. There is no warranty in any form or shape whatsoever!. There is no guarantee that these instructions are up-to-date. With that understood you may continue with the rest of this page if you choose to accept these terms. This page was last updated on September 13, 2005, but still good as of April 30, 2009. Follow these steps to install g++ (the GNU C++ compiler) for Windows. There is no room for creativity here; you must follow the directions exactly. Pick the drive and a folder in which you want to install g++. I'll assume that it is C:, but you can choose a different one. If you choose a different drive or a different folder, you'll need to adapt the directions below accordingly. Download full.exe, an about 14 megabyte executable, to C:\full.exe by right-clicking on the link. Use Save Link As... or Save Target As... Be sure the browser saves the file as C:\full.exe. Run the downloaded executable. This will install g++ (and a lot of other things that you don't really need) on your hard drive. Go to the C: drive using Windows Explorer and double-click on full.exe. Or, open a DOS window (Start > Programs > Command Prompt), connect to the C: drive using the cd command, and type full. Locate where the bin folder was created for the g++ installation. On my Windows XP machine, it was created in the following path: C:\cygnus\cygwin-b20\H-i586-cygwin32\bin You now should add it to the PATH environment variable. You do that by following: Start -> Control Panel -> System -> Advanced -> Environment Variables At this point you can see the PATH variable either in the User Variables or in the System Variables. Add the g++ path into the PATH variable. You add it to the end of the existing value separated by a semicolon (';'). Make sure that you do not lose the original value. You are just appending more to the end separated by a semicolon. Restart your computer. A Cygnus Solutions entry will appear in your Programs menu, and an icon may appear on your desktop. Don't use them! You will use it using the g++ command on a DOS prompt as explained below. You should now be able to run g++ from a DOS (Command Prompt) window. For example, to compile a file called C:\mine\hello.cpp, connect to the C:\mine folder and enter g++ -g hello.cpp -o hello -lm You'll then be able to run the compiled program by entering hello in the DOS window. If you've installed Emacs as described here, you will also be able to run g++ from Emacs. If, when you do this, Emacs tries to compile with the command make -k, you made a mistake during the Emacs installation. If you want to learn how to run g++ on emacs, see here. If you'd like to learn more about where this free compiler came from, we downloaded it from an older site of http://sourceware.org/cygwin/. If you wish to clean up a little, you may delete the file: full.exe at this point. Your g++ compiler is installed under C:\cygnus.
### 回答1: 在Ubuntu 16.04上安装中文输入法,可以按照以下步骤进行: 1. 打开终端,输入以下命令更新软件: sudo apt-get update 2. 安装中文输入法fcitx: sudo apt-get install fcitx fcitx-config-gtk fcitx-table-all 3. 安装中文输入法的语言包: sudo apt-get install language-pack-zh-hans language-pack-zh-hans-base 4. 重启电脑,打开系统设置,选择“语言支持”,将“键盘输入法系统”改为fcitx。 5. 在终端中输入以下命令,安装中文输入法的拼音输入法: sudo apt-get install fcitx-pinyin 6. 重启电脑,就可以在输入框中切换到中文输入法了。 希望这些步骤能够帮助你在Ubuntu 16.04上安装中文输入法。 ### 回答2: Ubuntu16.04是一种基于Linux操作系统的开软件,是很多开发者常用的一个平台。在Ubuntu16.04中文输入法的安装过程中,我们可以采用多种方法。本文将详细介绍一种最常用的方法。 第一步:打开终端 在Ubuntu中安装输入法需要使用终端命令。因此,我们需要打开终端。在Ubuntu操作系统中,可以通过键盘快捷键「Ctrl+Alt+T」打开终端。 第二步:添加输入法 在打开的终端中输入以下命令: ``` sudo apt-get update ``` 该命令可以更新软件库。更新完成后,则可以继续添加输入法。输入以下命令: ``` sudo apt-get install fcitx fcitx-table-all ``` 该命令的作用是安装Fcitx输入法,Fcitx是Linux下的一款输入法框架,支持多种输入法,并且内置了一些热键设置。 第三步:设置语言和区域 在Ubuntu系统中,通过设置系统语言和区域来判断软件包的安装。因此,在安装输入法之前,我们需要将系统的语言和区域设置为中文。可以通过以下步骤来设置系统语言和区域: 1、打开「系统设置」-「语言支持」,将语言设置成中文。 2、在「地区和语言」中设置相应的地区。 第四步:重启电脑 在完成以上三步操作后,需要重启电脑以使其设置生效。 第五步:启动Fcitx输入法 重启电脑后,我们可以打开「系统设置」-「语言支持」-「输入法」,将输入法设置为「Fcitx」。随后即可在右上角输入法图标处选择具体的汉字输入法。 通过以上5个步骤,我们就可以安装并启用Ubuntu 16.04下的中文输入法。值得注意的是,在第二步中添加的Fcitx输入法,是内置了许多输入法的输入法框架。因此,在上述步骤完成之后,我们还需要在Fcitx的设置中添加具体的输入法。在输入法相关设置中,我们可以添加新的输入法,设置热键,以及整合其他云输入法等等。 ### 回答3: Ubuntu16.04是一种流行的操作系统,拥有广泛的用户群体,其中不乏中国用户。对于这些用户而言,中文输入法是一个必不可少的工具。下面我们就来讲一下在Ubuntu16.04上安装中文输入法的步骤。 第一步:进入系统设置。 首先,我们需要点击左上角的“Settings”菜单按钮,进入系统设置。如果找不到这个菜单,可以点击任务栏上的搜索按钮,并输入“settings”。 第二步:进入语言支持选项。 在系统设置中,我们需要找到“Language Support(语言支持)”选项。这个选项会帮助我们安装和设置语言相关的选项。 第三步:安装中文语言包。 在语言支持选项中,我们可以选择安装中文语言包。这样,Ubuntu就会支持中文语言和字符集。安装语言包的过程需要一段时间,请耐心等待。 第四步:安装中文输入法。 安装好语言包之后,我们需要安装中文输入法。目前有许多种中文输入法,比如搜狗输入法、QQ拼音等,这里我们以搜狗输入法为例。打开终端(Terminal),输入以下命令: sudo add-apt-repository ppa:fcitx-team/nightly sudo apt-get update sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin 这些命令会添加一个PPA,更新软件包列表,并安装fcitx输入法框架、fcitx-config-gtk设置工具和fcitx-sunpinyin中文拼音输入法插件。 第五步:设置输入法。 在安装完成后,我们需要打开输入法设置进行配置。打开“Settings”菜单,选择“Text Entry(文本输入)”选项。然后,点击右下角的加号图标,添加fcitx输入法框架。在“Input Sources(输入)”栏中,选择“Chinese (Pinyin)“或“Chinese (SunPinyin)”。这里我们以SunPinyin为例。 第六步:切换输入法。 配置中文输入法后,我们可以通过Ctrl+Space或者辅助键(如右Alt)切换输入法。 至此,我们就成功地在Ubuntu16.04中安装了中文输入法,并进行了相应的设置。在输入法使用过程中,可能会遇到一些问题,可以通过各种途径获取帮助。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值