Deepin Linux 15.5个人配置


  • 爱湃森会员

    安装git和 curl

    sudo apt install git curl
    

    安装JDK

    tar zxvf jdk-8u171-linux-x64.tar.gz
    mv jdk-8u171-linux-x64 jdk
    sudo mv jdk /opt/jdk
    环境变量见zshrc配置文件
    

    多版本Python共存

    我需要Python3.6
    sudo apt install python3.6
    wget https://bootstrap.pypa.io/get-pip.py](https://bootstrap.pypa.io/get-pip.py
    python3.6 get-pip.py
    *#更改默认软连接 
    sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3 
    sudo ln -s /usr/local/bin/pip /usr/local/bin/pip3
    参考:https://blog.csdn.net/MenciusHometown/article/details/77688629
    

    安装sublime

    wget https://download.sublimetext.com/sublime_text_3_build_3143_x64.tar.bz2
    tar jxvf sublime_text_3_build_3143_x64.tar.bz2
    sudo mv sublime_text_3 /opt
    sudo ln -s /opt/sublime_text_3/sublime_text  /usr/bin/sublime
    sudo cp /opt/sublime_text_3/sublime_text.desktop /usr/share/applications/
    如果sublime无法输入中文,使用下面解决方法
    git clone https://github.com/lyfeyaj/sublime-text-imfix.git
    cd sublime-text-imfix
    ./sublime-imfix
    
    

    pycharm IDEA

    IDEA直接用深度商店安装。
    pycharm解压到/opt/pycharm
    制作快捷方式,注意路径
    vim /usr/share/applications/Pycharm.desktop
    [Desktop Entry]
    Type=Application
    Name=Pycharm
    GenericName=Pycharm3
    Comment=Pycharm3:The Python IDE
    Exec=sh /opt/pycharm/bin/pycharm.sh
    Icon=/opt/pycharm/bin/pycharm.png
    Terminal=pycharm
    Categories=Pycharm;
    X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
    X-Deepin-AppID=Pycharm
    
    
    xd FileZilla_3.32.0_x86_64-linux-gnu.tar.bz2
    xz -d FileZilla_3.32.0_x86_64-linux-gnu.tar.bz2
    解压到/opt/FileZilla3/
    sudo ln -s /opt/FileZilla3/bin/filezilla /usr/bin/fz
    

    安装proxychains

    git clone https://github.com/rofl0r/proxychains-ng.git
    ./configure --prefix=/usr --sysconfdir=/etc
    make 
    sudo make install
    

    Telegram

    wget https://updates.tdesktop.com/tlinux/tsetup.1.2.17.tar.xz
    xz -d tsetup.1.2.17.tar.xz
    tar xvf tsetup.1.2.17.tar
    sudo mv tsetup /opt
    

    安装zsh和 oh myzsh

    sudo apt install zsh
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    
    >zshrc配置文件
    #JAVA 环境变量
    export JAVA_HOME=/opt/jdk/  
    export JRE_HOME=${JAVA_HOME}/jre  
    export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib  
    export PATH=${JAVA_HOME}/bin:$PATH
    
    # 快捷键
    bindkey \^U backward-kill-line
    
    # 自定义命令 
    alias sudo='sudo '
    alias jeb='sh /media/username/data/Android-tool/jeb225/jeb_linux.sh'
    alias jadx='/media/username/data/Android-tool/jadx7/bin/jadx-gui'
    alias jadgui='java -jar /media/username/data/Android-tool/jd-gui.jar'
    alias apkfile='java -jar /media/username/data/Android-tool/ApkToolBox_v1.6.2_beta1/tool/apkfile.jar'
    alias apktool='java -jar /media/username/data/Android-tool/ApkToolBox_v1.6.2_beta1/tool/apktool.jar'
    alias apksigner='java -jar /media/username/data/Android-tool/ApkToolBox_v1.6.2_beta1/tool/apksigner.jar'
    alias baksmali='java -jar /media/username/data/Android-tool/ApkToolBox_v1.6.2_beta1/tool/baksmali.jar'
    alias smali='java -jar /media/username/data/Android-tool/ApkToolBox_v1.6.2_beta1/tool/smali.jar'
    alias burp='java -jar /media/username/data/Android-tool/burpsuite/BurpUnlimited.jar'
    alias ssr='python /media/username/data/Android-tool/shadowsocksr/shadowsocks/local.py'
    

  • 爱湃森会员

    This post is deleted!

Log in to reply
 

Looks like your connection to 爱湃森 was lost, please wait while we try to reconnect.