python qq linux 安装,Ubuntu常用软件安装

1) chromium-browser

sudo apt-get install chromium-browser

2) google-chrome

a) sudo vi  /etc/apt/sources.list.d/google.list

b) 输入 deb http://dl.google.com/linux/chrome/deb/ stable main

c) sudo apt-get update

d) sudo apt-get install google-chrome-stable ( stable )

e) sudo apt-get install google-chrome-beta ( beta )

3) linuxQQ

安装运行 linuxqq_v1.0.2_i386.tar.gz 时报错,出错信息: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

这是amd64位linux出现的问题,解决方案:

sudo apt-get install ia32-libs-gtk

sudo  apt-get  install aptitude

sudo  aptitude install libgtk-x11-2.0

4) stardict (字典)

sudo apt-get install stardict

5) mtPaint (绘图)

sudo apt-get install mtpaint

6) unrar / unzip / 7zip (7za)

sudo apt-get install unrar ( unrar )

sudo apt-get install unzip ( unzip )

sudo apt-get install p7zip-full( 7zip )

CentOS 安装7zip

yum install -y p7zip

wget http://nchc.dl.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2

tar -jxvf p7zip_9.20.1_src_all.tar.bz2

cd p7zip_9.20.1

make

make install

Mac 安装7zip

To install p7zip using Homebrew, first update your brew formulae to be sure you are getting the latest p7zip.

$ brew update

Use Homebrew to install p7zip:

$ brew install p7zip

Add all files in the sputnik directory to the compressed file heed.7z:

$ 7z a heed.7z sputnik

Unzip heed.7z:

$ 7z x heed.7z

rar

for 64 bit

install unrar centos x64

#wget http://pkgs.repoforge.org/unrar/unrar-4.0.7-1.el6.rf.x86_64.rpm

#rpm -Uvh unrar-4.0.7-1.el6.rf.x86_64.rpm

install rar centos x64

#wget http://pkgs.repoforge.org/rar/rar-3.8.0-1.el6.rf.x86_64.rpm

#rpm -Uvh rar-3.8.0-1.el6.rf.x86_64.rpm

for 32 bit

install unrar centos 32

#wget http://pkgs.repoforge.org/unrar/unrar-4.0.7-1.el6.rf.i686.rpm

#rpm -Uvh unrar-4.0.7-1.el6.rf.i686.rpm

install rar centos 32

#wget http://pkgs.repoforge.org/rar/rar-3.8.0-1.el6.rf.i686.rpm

#rpm -Uvh rar-3.8.0-1.el6.rf.i686.rpm

7) xchm

sudo apt-get install xchm

8) flash player

sudo apt-get install adobe-flashplugin

9) firefox

sudo apt-get install firefox

10) opera

sudo apt-get install opera

11) vim / emacs

sudo apt-get install vim ( vim )

sudo apt-get install emacs ( emacs )

12) ssh

sudo apt-get install openssh-client ( ssh client )

sudo apt-get install openssh-server ( ssh server )

13) Ubuntu系统升级

sudo apt-get update ( 更新下载源 )

sudo apt-get upgrade ( 更新已安装包 )

sudo apt-get dist-upgrade ( 更新系统版本 )

sudo do-release-upgrade ( 更新系统发行版 )

14) meld

meld是图形化的文件比较工具(diff),详见 meld

sudo apt-get install meld

15)unrar

sudo apt-get install unrar

16)sz rz

ubuntu: sudo apt-get install lrzsz

centos: yum -y install lrzsz

17) subversion

sudo apt-get install subversion

18) git

sudo apt-get install git

19) g++

yum  install  -y  gcc-c++

rpm -iv --replacepkgs  xxx.rpm // 重装rpm

开发工具:

git : egit  -  eclipse team provider

svn : Subversive  -  svn team provider

python : python-pip, tornado, django

clojure :

crontab: yum  -y  install  vixie-cron  crontabs

Python2.7.3, setuptools, pip 安装

问题: urllib2.URLError:

解决: yum -y install openssl-devel

重新编译Python2.7.1  ——》 ./configure  &&   make  &&  make install

问题: RuntimeError: Compression requires the (missing) zlib module

解决: yum -y install zlib

yum -y install zlib-devel

重新编译Python2.7.1  ——》 ./configure  &&   make  &&  make install

问题: error: command 'gcc' failed with exit status 1

解决: yum -y install mysql-devel

yum -y install python-devel

Python2.7.3 下载

https://www.python.org/downloads/

setuptools 下载

https://pypi.python.org/packages/source/s/setuptools/

pip 下载

https://pypi.python.org/pypi/pip

附加:

.deb 格式安装

sudo   dpkg   -i  package.deb

.rpm 格式安装

sudo  apt-get  install   alien  dpkg-dev   debhelper   build-essential // 安装alien,来辅助安装.rpm, ref

sudo  alien  package.rpm

rpm安装

1. 安装 命令

rpm -ivh filename.rpm

参数解释

-i 安装

-h 解压rpm的时候打印50个斜条 (#)

-v 显示详细信息

2.升级命令

rpm -Uvh filename.rpm

参数解释

-U 升级

-h 解压rpm的时候打印50个斜条 (#)

-v 显示详细信息

卸载软件

sudo apt-get remove yourAPP

参考推荐:

RuntimeError: Compression requires the (missing) zlib module

问题: error: command 'gcc' failed with exit status 1

解决: yum -y install mysql-devel

yum -y install python-devel

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值