Ubuntu-18.04安装指定软件

IT
IT
IT
405
文章
1
评论
2021年1月1日01:56:40 评论 3,948 9618字阅读32分3秒

简述

  • 可能有这样的需求,某些软件可以安装最新版本,某些软件得指定版本。

安排

  • 安装openvpn
sudo apt-get update     ###更新源
sudo apt-get install openvpn network-manager-openvpn   #安装openvpn系统管理软件包
sudo apt-get install network-manager-openvpn-gnome   #安装openvpn图像管理软件包
sudo service network-manager restart   #重启network-manager网络服务
  • 安装wps,下载安装包https://www.wps.cn/product/wpslinux
root@lucky-virtual-machine:~# wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/9719/wps-office_11.1.0.9719_amd64.deb
root@lucky-virtual-machine:~# dpkg -i wps-office_11.1.0.9719_amd64.deb
  • 安装钉钉
root@lucky-virtual-machine:~# wget https://cncv.oss-cn-hangzhou.aliyuncs.com/software/dd_for_ubuntu.zip
root@lucky-virtual-machine:~# dpkg -i dingtalk-2.1.9-latest-amd64.deb
  • 安装Chrome
root@lucky-virtual-machine:~# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
root@lucky-virtual-machine:~# dpkg -i google-chrome-stable_current_amd64.deb
  • 安装vscode
root@lucky-virtual-machine:~# wget https://az764295.vo.msecnd.net/stable/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/code_1.52.1-1608136922_amd64.deb
root@lucky-virtual-machine:~# dpkg -i code_1.52.1-1608136922_amd64.deb
  • 安装Qt5,地址源https://mirrors.tuna.tsinghua.edu.cn/qt/archive/qt/
root@lucky-virtual-machine:~# wget https://mirrors.tuna.tsinghua.edu.cn/qt/archive/qt/5.14/5.14.0/qt-opensource-linux-x64-5.14.0.run
root@lucky-virtual-machine:~# chmod +x qt-opensource-linux-x64-5.14.0.run 
root@lucky-virtual-machine:~# ./qt-opensource-linux-x64-5.14.0.run
  • 安装wireshark
apt install wireshark
  • 安装docker
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get update
root@lucky-virtual-machine:~# apt install curl
root@iZ2zef7avvm4qvuh1f2bhxZ:~# curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
  • 安装sshpass
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install sshpass
  • 安装minicom
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install minicom
  • 安装ssh server
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install openssh-server
  • 安装 ntpdate
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install ntpdate
  • 安装 openssl
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install openssl
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install libssl-dev
  • 安装curl
root@lucky-virtual-machine:~# apt install curl
  • 安装cmake
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget https://cmake.org/files/v3.16/cmake-3.16.6.tar.gz
apt-get install libssl-dev apt-get install g++
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar -zxv -f cmake-3.16.6.tar.gz 
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd cmake-3.16.6/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cmake-3.16.6# ./bootstrap 
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cmake-3.16.6# echo $? 
0 
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cmake-3.16.6# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cmake-3.16.6# make install 
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cmake-3.16.6# cmake --version 
cmake 
version 3.16.6
  • 安装eigen3
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget https://gitlab.com/libeigen/eigen/-/archive/3.3.8/eigen-3.3.8.tar.gz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar zxf eigen-3.3.8.tar.gz 
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd eigen-3.3.8/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/eigen-3.3.8# mkdir build
root@iZ2zef7avvm4qvuh1f2bhxZ:~/eigen-3.3.8# cd build/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/eigen-3.3.8/build# cmake ..
root@iZ2zef7avvm4qvuh1f2bhxZ:~/eigen-3.3.8/build# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/eigen-3.3.8/build# make install
  • 安装boost
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install mpi-default-dev libicu-dev python-dev python3-dev libbz2-dev zlib1g-dev 
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.bz2
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar --bzip2 -xvf boost_1_68_0.tar.bz2
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd boost_1_68_0/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/boost_1_68_0# ./bootstrap.sh –with-libraries=all –with-toolset=gcc
root@iZ2zef7avvm4qvuh1f2bhxZ:~/boost_1_68_0# ./b2 toolset=gcc
root@iZ2zef7avvm4qvuh1f2bhxZ:~/boost_1_68_0# ./b2 install
  • 安装cpp-netlib

 

  • 安装glog
root@iZ2zef7avvm4qvuh1f2bhxZ:~# git clone https://github.com/google/glog
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install autoconf automake libtool
qvuh1f2bhxZ:~# cd glog/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/glog# mkdir build
root@iZ2zef7avvm4qvuh1f2bhxZ:~/glog# cd build/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/glog/build# cmake ..
root@iZ2zef7avvm4qvuh1f2bhxZ:~/glog/build# make -j 24
root@iZ2zef7avvm4qvuh1f2bhxZ:~/glog/build# make install
  • 安装libusb-1.0
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget https://jaist.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.24/libusb-1.0.24.tar.bz2
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar -xvf libusb-1.0.24.tar.bz2 
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd libusb-1.0.24/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/libusb-1.0.24# ./configure --disable-udev
root@iZ2zef7avvm4qvuh1f2bhxZ:~/libusb-1.0.24# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/libusb-1.0.24# make install
  • 安装gflags https://github.com/gflags/gflags
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar zxvf gflags-2.2.2.tar.gz 
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd gflags-2.2.2/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gflags-2.2.2# mkdir build
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gflags-2.2.2# cd build/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gflags-2.2.2/build# cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DINSTALL_HEADERS=ON -DINSTALL_SHARED_LIBS=ON -DINSTALL_STATIC_LIBS=ON ..
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gflags-2.2.2/build# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gflags-2.2.2/build# make install 
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gflags-2.2.2/build# ls /usr/local/lib/libgflags* -l
-rw-r--r-- 1 root root 256398 Jan 1 17:55 /usr/local/lib/libgflags.a
-rw-r--r-- 1 root root 255736 Jan 1 17:55 /usr/local/lib/libgflags_nothreads.a
lrwxrwxrwx 1 root root 26 Jan 1 17:55 /usr/local/lib/libgflags_nothreads.so -> libgflags_nothreads.so.2.2
lrwxrwxrwx 1 root root 28 Jan 1 17:55 /usr/local/lib/libgflags_nothreads.so.2.2 -> libgflags_nothreads.so.2.2.2
-rw-r--r-- 1 root root 175560 Jan 1 17:55 /usr/local/lib/libgflags_nothreads.so.2.2.2
lrwxrwxrwx 1 root root 16 Jan 1 17:55 /usr/local/lib/libgflags.so -> libgflags.so.2.2
lrwxrwxrwx 1 root root 18 Jan 1 17:55 /usr/local/lib/libgflags.so.2.2 -> libgflags.so.2.2.2
-rw-r--r-- 1 root root 176128 Jan 1 17:55 /usr/local/lib/libgflags.so.2.2.2
  • 安装zlib
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install zlib1g-dev
root@iZ2zef7avvm4qvuh1f2bhxZ:~# curl -O http://www.zlib.net/zlib-1.2.11.tar.gz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar zxf zlib-1.2.11.tar.gz 
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd zlib-1.2.11/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/zlib-1.2.11# ./configure 
root@iZ2zef7avvm4qvuh1f2bhxZ:~/zlib-1.2.11# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/zlib-1.2.11# make install
  • 安装网络调试助手mNetAssist
root@iZ2zef7avvm4qvuh1f2bhxZ:~# dpkg -i mNetAssist-release-amd64.deb
  • 安装protobuf3
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install autoconf automake libtool curl make g++ unzip  autoconf automake libtool
root@iZ2zef7avvm4qvuh1f2bhxZ:~# git clone https://github.com/google/protobuf.git
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd protobuf
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# git submodule update --init --recursive
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# ./autogen.sh
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# ./configure
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# make check
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# make install
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# ldconfig # refresh shared library cache.
root@iZ2zef7avvm4qvuh1f2bhxZ:~/protobuf# protoc --version
libprotoc 3.14.0
  • 安装cppkafka
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt install librdkafka-dev
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget https://github.com/mfontanini/cppkafka/archive/v0.3.1.zip
root@iZ2zef7avvm4qvuh1f2bhxZ:~# unzip v0.3.1.zip
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd cppkafka-0.3.1/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cppkafka-0.3.1# mkdir build
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cppkafka-0.3.1# cd build/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cppkafka-0.3.1/build# cmake ../
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cppkafka-0.3.1/build# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cppkafka-0.3.1/build# make install
root@iZ2zef7avvm4qvuh1f2bhxZ:~/cppkafka-0.3.1/build# ldconfig
  • 安装rdkafka

 

  • 安装jsoncpp
root@iZ2zef7avvm4qvuh1f2bhxZ:~# apt-get install libjsoncpp-dev
  • 安装mpfr(先安装gmp)
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget http://mirror.hust.edu.cn/gnu/mpfr/mpfr-4.0.2.tar.xz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar -Jxf mpfr-4.0.2.tar.xz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar -Jxf mpfr-4.0.2.tar.xz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# mkdir -p /usr/local/mpfr-4.0.2
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd mpfr-4.0.2/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/mpfr-4.0.2# ./configure --prefix=/usr/local/mpfr-4.0.2 --with-gmp=/usr/local/gmp-6.1.2
root@iZ2zef7avvm4qvuh1f2bhxZ:~/mpfr-4.0.2# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/mpfr-4.0.2# make install
  • 安装gmp
root@iZ2zef7avvm4qvuh1f2bhxZ:~# wget http://mirror.hust.edu.cn/gnu/gmp/gmp-6.1.2.tar.xz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# tar -Jxf gmp-6.1.2.tar.xz
root@iZ2zef7avvm4qvuh1f2bhxZ:~# mkdir -p /usr/local/gmp-6.1.2
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd gmp-6.1.2/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gmp-6.1.2# ./configure --prefix=/usr/local/gmp-6.1.2
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gmp-6.1.2# make
root@iZ2zef7avvm4qvuh1f2bhxZ:~/gmp-6.1.2# make install
  • 安装pcl-1.91
sudo apt-get update 
sudo apt-get install git build-essential linux-libc-dev
sudo apt-get install cmake cmake-gui
sudo apt-get install libusb-1.0-0-dev libusb-dev libudev-dev
sudo apt-get install mpi-default-dev openmpi-bin openmpi-common 
sudo apt-get install libflann1.9 libflann-dev
sudo apt-get install libeigen3-dev
sudo apt-get install libboost-all-dev
sudo apt-get update 
sudo apt-get install git build-essential linux-libc-dev
sudo apt-get install cmake cmake-gui
sudo apt-get install libusb-1.0-0-dev libusb-dev libudev-dev
sudo apt-get install mpi-default-dev openmpi-bin openmpi-common 
sudo apt-get install libflann1.9 libflann-dev
sudo apt-get install libeigen3-dev
sudo apt-get install libboost-all-dev
root@iZ2zef7avvm4qvuh1f2bhxZ:~# cd pcl-pcl-1.9.1/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/pcl-pcl-1.9.1# mkdir build
root@iZ2zef7avvm4qvuh1f2bhxZ:~/pcl-pcl-1.9.1# cd build/
root@iZ2zef7avvm4qvuh1f2bhxZ:~/pcl-pcl-1.9.1/build# cmake -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_GPU=ON-DBUILD_apps=ON -DBUILD_examples=ON \ -DCMAKE_INSTALL_PREFIX=/usr ..
root@iZ2zef7avvm4qvuh1f2bhxZ:~/pcl-pcl-1.9.1/build# make -j6

  • 安装cgal-5.1.2 https://github.com/CGAL/cgal/releases/tag/v5.1.2
  • 安装FileZilla
root@lucky:~# sudo apt-get install filezilla
继续阅读
  • 我的QQ
  • QQ扫一扫
  • weinxin
  • 我的头条
  • 头条扫一扫
  • weinxin
Ubuntu 最后更新:2021-1-9
IT
  • 本文由 发表于 2021年1月1日01:56:40
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
Ubuntu-18.04安装 Ubuntu

Ubuntu-18.04安装

简述 由于博主之前一直使用的是Centos系统,当入职新公司后,发现有部分Ubuntu系统,不得不学习这个开发人员喜好的系统,所以本次使用Vmware安装演示。 安装 启动后,语言默认,选择insta...
Ubuntu Server 20.04.2安装 Ubuntu

Ubuntu Server 20.04.2安装

选择语言 选择键盘 配置网络 系统自动获取的地址 手动配置,选择这里回车键。 选择Edit IPv4 选择Manual回车 配置好之后是这样 选择代理,默认即可 配置软件源,可以默认 也可以手动输入h...

您必须才能发表评论!