007-安装百度云,搜狗输入法,播放器

一、安装百度云bypy客户端

1、安装pip

yum install python-pip

 没有python-pip包就执行命令 

yum -y install epel-release

对安装好的pip进行升级 

pip install --upgrade pip

 2、安装百度云/百度网盘Python客户端

pip2.7 install bypy
bypy info
Please visit:
https://openapi.baidu.com/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn
And authorize this app
Paste the Authorization Code here within 10 minutes.
Press [Enter] when you are done
用浏览器打开链接,将验证码输入后回车,即可完成授权,对应网盘目录
 
百度网盘-->我的应用数据-->bypy
更详细的了解某一个命令:
#bypy help <command>
显示在云盘(程序的)根目录下文件列表:
#bypy list
把当前目录同步到云盘:
 
#bypy syncup  
或者
#bypy upload
把云盘内容同步到本地来:
#bypy syncdown
或者
#bypy downdir /
比较本地当前目录和云盘(程序的)根目录(个人认为非常有用):
#bypy compare

3、gui

命令:

bypygui

可能会有:ImportError: No module named '_tkinter'

导入

yum install -y tkinter
yum install -y tk-devel

二、搜狗输入法

下载链接: http://pan.baidu.com/s/1gfNugyZ 密码: cz3v
解压fcitx :
tar -xzvf centos.sougou.fcitx.tar.gz
cd x86_64
yum localinstall *.rpm

三、播放器mplayer

#安装播放器主程序

yum -y install mplayer
yum -y install mplayer-gui
yum -y install ffmpeg*
视频文件要再进行设置
打开mpLayer的设置界面
“preferences"——>"Video"选项卡——>在"Availabe Drivers"中选择“X11“
 
posted @ 2017-12-11 21:20  bjlhx15  阅读(654)  评论(0编辑  收藏  举报
Copyright ©2011~2020 JD-李宏旭