您的位置:

Ubuntu下Curl安装

一、Ubuntu安装VMware

1、在官方网站下载VMware安装包:

    wget https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-16.1.2-17966106.x86_64.bundle

2、安装VMware Workstation:

    sudo sh ./VMware-Workstation-Full-16.1.2-17966106.x86_64.bundle

二、Ubuntu安装LLVM

1、安装依赖:

    sudo apt-get update
    sudo apt-get install -y build-essential
    sudo apt-get install -y cmake git python3-pip python3-dev

2、安装LLVM:

    wget https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-project-11.1.0.tar.xz
    tar -xf llvm-project-11.1.0.tar.xz
    cd llvm-project-11.1.0/
    mkdir build && cd build/
    cmake -DLLVM_ENABLE_PROJECTS="clang;lld" -G "Unix Makefiles" ../llvm
    make -j4

三、Ubuntu安装PyTorch

1、安装依赖:

    sudo apt-get update
    sudo apt-get install -y python3-numpy python3-dev python3-wheel libglib2.0-0 libsm6 libxrender1 libxext6 libgl1-mesa-glx libglib2.0-dev

2、安装PyTorch:

    pip3 install torch torchvision

四、Ubuntu安装PyCharm

1、下载PyCharm:

    wget https://download.jetbrains.com/python/pycharm-community-2021.1.2.tar.gz

2、解压并安装:

    tar -zxvf pycharm-community-2021.1.2.tar.gz
    cd pycharm-community-2021.1.2/bin
    ./pycharm.sh

五、Ubuntu安装Chrome

1、下载安装包:

    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

2、安装:

    sudo apt install -y ./google-chrome-stable_current_amd64.deb

六、Ubuntu安装Kernel

1、下载官网Kernel:

    wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.6.tar.xz

2、解压并编译安装:

    tar -xf linux-5.14.6.tar.xz 
    cd linux-5.14.6
    make defconfig 
    make -j `nproc`
    sudo make modules_install
    sudo make install
    sudo reboot

七、Ubuntu安装EasyX

1、下载EasyX:

    wget http://www.easyx.cn/downfile/EasyX_Linux_20210824.tar.gz

2、解压并安装:

    tar -zxvf EasyX_Linux_20210824.tar.gz
    sudo cp -r EasyX_Linux_20210824/ /usr/local/
    sudo chmod 777 /usr/local/EasyX_Linux_20210824/Lib
    sudo chmod 777 /usr/local/EasyX_Linux_20210824/Lib/libgraphics.so
    sudo g++ -o test test.cpp -I /usr/local/EasyX_Linux_20210824/Include -L /usr/local/EasyX_Linux_20210824/Lib -lgraphics -lpthread -fpermissive

八、Ubuntu安装Nginx

1、安装Nginx:

    sudo apt-get update
    sudo apt-get install nginx

2、启动Nginx:

    sudo systemctl enable nginx

九、Ubuntu安装Wine

1、添加Wine源:

    sudo dpkg --add-architecture i386 
    wget -nc https://dl.winehq.org/wine-builds/winehq.key 
    sudo apt-key add winehq.key 
    sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' 
    sudo apt-get update

2、安装Wine:

    sudo apt-get install -y winehq-stable

十、Ubuntu安装Make

1、安装依赖:

    sudo apt-get update
    sudo apt-get install -y build-essential

2、安装Make:

    sudo apt-get install -y make