码迷,mamicode.com
首页 > 其他好文 > 详细

debian安装后的配置,debian开发环境。

时间:2018-10-02 18:02:26      阅读:270      评论:0      收藏:0      [点我收藏+]

标签:oid   中文   aging   oca   primary   llb   int   str   zip   

注意:以下命令用sudo或者以root用户进行

一.Xterm(在安装KDE桌面情况下)的配置(可以黏贴,复制):


首先在根目录下编辑文件.Xresources(没有可以创建)

root@debian:~# vim ~/.Xresources 
root@debian:~# cat ~/.Xresources 
!===============================
! – Setting for xterm
! ——————–
XTerm*locale: true
XTerm*utf8Title: true
XTerm*fontMenu*fontdefault*Label: Default
XTerm*faceName: Courier 10 Pitch:antialias=True:pixelsize=18
!中文字体
XTerm*faceNameDoublesize: Microsoft YaHei:antialias=True:pixelsize=12
!中文输入
XTerm*inputMethod: ibus
XTerm*faceSize: 20
XTerm*faceSize1: 20
XTerm*faceSize2: 20
XTerm*faceSize3: 20
XTerm*faceSize4: 20
XTerm*faceSize5: 20
XTerm*faceSize6: 20
XTerm.cjkWidth:true
XTerm*background: #C7EDCC
XTerm*foreground: #000000
XTerm*scrollBar: true
XTerm*rightScrollBar: true
XTerm*jumpScroll: true
XTerm*SaveLines: 1000

XTerm*VT100.Translations: #override \n
Ctrl <KeyPress> V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n                                                
<BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n                                                                
Ctrl <KeyPress> P: print() \n                                                                                        
                                                                                                                     
!———————-                                                                                                            
!- End of setting Xterm                                                                                              
!=========================

最后执行:

xrdb ~/.Xresources

借鉴自:陳聽溪

二.安装fcitx的ui(否则输入法不能使用),安装搜狗输入法:

1)安装fitcx的ui件:

apt-get install fcitx-ui-classic
apt-get install fcitx-ui-light

2)安装搜狗输入法linux版:

1.去搜狗官网下载最新的linux版本

2.然后安装:

dpkg -i deb软件包

3.最后可能出现依赖问题,执行:

apt-get install -f

4.最后reboot,可见效果

三.安装winehq,安装wineqq:

1)安装winehq:

1.去官网可查看最新安装信息

2.选择自己的系统,然后按照命令进行

2)可以参考下面代码:

开启32位包安装:

dpkg --add-architecture i386

安装签名钥匙:

wget -nc https://dl.winehq.org/wine-builds/Release.key
apt-key add Release.key

添加源(如何为debian添加源?):

deb https://dl.winehq.org/wine-builds/debian/ DISTRO main

注意:上面的   DISTRO   是debian版,比如debian8是  Jessie 然而debian9则是: stretch,相关的资料可上wiki查找

安装下面几个包之一:

Stable branch
sudo apt-get install --install-recommends winehq-stable
Development branch
sudo apt-get install --install-recommends winehq-devel
Staging branch
sudo apt-get install --install-recommends winehq-staging

 一般情况安装一个稳定版 

2)安装wineQQ:

1.去下载wineQQ

2.解压:

tar -xvf wineQQ8.9_19990.tar.xz -C ~/

4.运行方式(具体还是看自己的QQ.exe所在的目录):

wine ~/.wine/drive_c/Program Files/QQ/Bin/QQ.exe

3.图标以及启动方式可能不会直接出现,所以必须手动设置,在程序里面添加启动方式(具体后面再续写)

四.浏览器安装百度网盘直接下载助手(linux下没有百度网盘客户端,网页不能直接下载大文件):

 

五.配置开发环境:

1)安装Android studio

1.直接去官网下载或者去android studio中文社区下载linux版 

2.解压,比如我下载的是android-studio-ide-181.5014246-linux.zip:

unzip android-studio-ide-181.5014246-linux.zip

3.移动到/usr目录

mv android-studio-ide-181.5014246-linux/ /usr

 4.安装以及运行:去到/usr/android-studio-ide-181.5014246-linux/bin的目录下,运行:

sudo ./stdio.sh

最后按照自己的方式安装即可

5.添加程序到菜单(后面会续写)

2)安装idea集成开发环境

1.去官网直接下载idea的linux版

2.解压,比如我下载的是ideaIU-2018.2.4.tar.gz

tar -zxvf ideaIU-2018.2.4.tar.gz -C /usr

3.运行:

cd /usr/idea-IU-182.4505.22/bin/
sudo ./idea.sh

4.由于idea不是免费的所以你可能需要破解:

将hosts文件添加一行0.0.0.0 account.jetbrains.com ,也可以用下面的命令:

echo "0.0.0.0 account.jetbrains.com" >> /etc/hosts

然后去到lanyus的网站获取idea注册码,在启动idea时在activty code添加注册码即可

 

debian安装后的配置,debian开发环境。

标签:oid   中文   aging   oca   primary   llb   int   str   zip   

原文地址:https://www.cnblogs.com/SirPi/p/9736809.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!