admin 管理员组

文章数量: 1087135


2024年12月24日发(作者:显示文件内容的命令linux)

Kali Linux 装好系统后安装常用软件

2014年08月10日 16:13

1.配置软件源

leafpad /etc/apt/

or(recommand):

#官方源

deb /kali kali main non-free contrib

deb-src /kali kali main non-free contrib

deb /kali-security kali/updates main contrib non-free

#激进源,新手不推荐使用这个软件源

deb /kali kali-bleeding-edge main

deb-src /kali kali-bleeding-edge main

#中科大kali源

deb /kali kali main non-free contrib

deb-src /kali kali main non-free contrib

deb /kali-security kali/updates main contrib non-free

#阿里云kali源

deb /kali kali main non-free contrib

deb-src /kali kali main non-free contrib

deb /kali-security kali/updates main contrib non-free

#aptitude 与apt-get 的区别可参考 /

aptitude update && aptitude full-upgrade

2.解决LC_CTYPE,LC_ALL的设置问题

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = “en_-8″,

LC_ALL = “en_-8″,

LANG = “en_-8″

are supported and installed on your system.

perl: warning: Falling back to the standard locale (“C”).

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

参考:/2009/05/30/perl-warning-please-check-that-your-locale-settin

gs-ubuntu/

apt-get install language-pack-en-base

export LANGUAGE=en_-8

export LANG=en_-8

export LC_ALL=en_-8

locale-gen en_-8

dpkg-reconfigure locales

3.安装QQ

下载2

wget ftp:///pub/lib/2

然后解压

tar -jxvf 2

c.最后编译安装:

cd alsa-lib-1.0.26

./configure

make && make install

dpkg --add-architecture i386 ####移出 i386: dpkg --remove-architecture i386

apt-get install -y ia32-libs libnotify-bin ia32-libs-gtk libnotify-bin

wget /download/

dpkg -i

/usr/bin/qq:行69: /opt/longene/qq/longene_gtk: 没有那个文件或目录

解决方法:

apt-get install -y ia32-libs

dpkg -i --force-overwrite /var/cache/apt/archives/libasound2_1.0.25-4_

.0 : No such file or directory

/opt/longene/qq/longene_gtk: error while loading shared libraries: .0: cannot open

shared object file: No such file or directory

apt-get install libgtk-x11-2.0

/?t=155354

apt-get install apt-file

apt-file search .1

apt-get install ia32-libs-gtk (OK)

4.安装eclipe及pydev,django

可参考 /allen_zhao_2012/article/details/7988389

apt-get install -y eclipse

默认安装的 eclipse plugins 路径为: /usr/lib/eclipse/

下载pydev

wget /project/pydev/pydev/PyDev%203.2.0/PyDev%?r=htt

p%3A%2F%%2Fprojects%2Fpydev%2Ffiles%2Fpydev%2FPyDev%25203.2.0%2F&ts=

1407645058&use_mirror=cznic

unzip PyDev

cp -r fautures /usr/lib/eclipse/

cp -r plugins /usr/lib/eclipse/

安装django:

curl /ez_ -o - | python

apt-get install -y apache2 libapache2-mod-wsgi mysql-server python-mysqldb

下载django: #下载页面 /download/

wget /download/1.6.5/tarball/

tar -zxvf

cd Django-1.6.5

python install

打开eclipse

Windows → Preferences → PyDev → Python Interpreters →

(可以Auto config也可手动)

Interpreter name: Python 2.73

Interpreter Executable: /usr/bin/python2.7

/usr/bin/python2.7

5.安装fcitx中文输入法

apt-get install -y fcitxfcitx-pinyin fcitx-module-cloudpinyinfcitx-googlepinyinim-config

im-config

再将默认的输入法改成fcitx,保存即可

6.激活VPN连接

默认安装,是没有激活VPN的,能看到VPN选项,但是不能天际VPN连接

apt-get install -y pptpd network-manager-openvpn network-manager-openvpn-gnome network-man

ager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network

-manager-vpnc-gnome

7.安装libreoffice

apt-get install -y libreoffice

解决libreoffice中文显示方框:

fonts 安装字体:

apt-get install -y ttf-arphic-umingttf-wqy-zenheittf-wqy-microheittf-arphic-ukai

从C:/Windows/Fonts 中复制

和到 /usr/share/fonts/

打开libreoffice

libreoffice ->tools->options->libre write ->basic fonts

将字体改为 simsun

8. 安装java 1.7

#可在这里查看版本列表 /technetwork/java/javase/documentation/7u-relnotes-5

#下载地址 /technetwork/java/javase/downloads/

wget /otn-pub/java/jdk/7u67-b01/

tar -zxvf

cd jdk1.7.0_67/

mkdir /usr/local/java/jdk1.7.0_67

cp -r ./* /usr/local/java/jdk1.7.0_67

vi /etc/profile 加入:

export JAVA_HOME=/usr/local/java/jdk1.7.0_67

export JRE_HOME=/usr/local/java/jdk1.7.0_67/jre

export CLASSPATH=.:$JAVA_HOME/lib/:$JAVA_HOME/lib/:$CLASSPATH

export PATH=$JAVA_HOME:$PATH

source /etc/profile

#检查

java -version

9.安装新得立软件管理和邮件客户端

apt-get install -y synaptic

apt-get install -y gnome-tweak-tool gdebiflashplugin-nofreeicedove

备份

tar cvpzf --exclude=/proc --exclude=/lost+found --exclude=/ --exclude=/mnt --

exclude=/sys --exclude=/media /

您的位置:ITnose首页>操作系统>Linux


本文标签: 安装 软件 默认 解决 下载