ubuntu20.04.3安裝Qt6.22操作步驟
前言
一、安裝步驟
1.安裝ubuntu20.04.3
2.更新ubuntu映象下載源
2.1 修改 sources.list檔案
# 阿里雲映象 deb # deb-src deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse # deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb # deb-src deb # deb-src deb # deb-src
2.2 更新操作
sudo apt update sudo apt upgrade
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend xxxx
3.替換系統的vim
sudo apt remove vim-common sudo apt install vim
4. 安裝ifconfig支援
sudo apt install net-tools
5.安裝sshd
sudo apt install openssh-server
6.安裝gcc編譯器
sudo apt-get install build-essential sudo apt-get install libgl1-mesa-dev
root@ubuntu:/opt# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-yTrUTS/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04)
/usr/bin/ld: cannot find -lGL錯誤
7.安裝Qt
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70003733/viewspace-2888188/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- LNMP之PHP安裝操作步驟LNMPPHP
- vnc安裝步驟,vnc安裝步驟詳解VNC
- linux下安裝redis 單節點安裝操作步驟LinuxRedis
- xftp安裝步驟,xftp安裝的2大步驟FTP
- STF 安裝步驟
- php安裝步驟PHP
- oracle 安裝步驟Oracle
- [ 安裝 ] Zeppelin安裝步驟!
- Linux環境下MySQL安裝部署操作步驟LinuxMySql
- 一般安裝EBS 後的 操作步驟,徵集!
- windows安裝cnpm步驟WindowsNPM
- zookeeper安裝部署步驟
- Iris 框架安裝步驟框架
- anaconda安裝步驟
- Linux 安裝步驟Linux
- Nagios安裝步驟iOS
- charles的安裝步驟
- 安裝jdk的步驟JDK
- Sublime Text安裝步驟
- Centos安裝tmux步驟CentOSUX
- php安裝步驟(正式)PHP
- Ubuntu安裝cacti步驟Ubuntu
- 安裝weblogic步驟Web
- GreenPlum的安裝步驟
- vnc安裝步驟,如何在Linux(CentOS 7)下vnc安裝步驟VNCLinuxCentOS
- 操作步驟
- vnc安裝步驟,4個在Linux下vnc的個安裝步驟VNCLinux
- ubuntu 下安裝nginx步驟UbuntuNginx
- MHA安裝和部署步驟
- Linux安裝Nginx步驟LinuxNginx
- CDH6.2.0安裝步驟
- Centos 7 安裝VNC步驟CentOSVNC
- LNMPPHP軟體安裝步驟LNMPPHP
- Protobuf java版本安裝步驟Java
- 簡單oracle安裝步驟Oracle
- ArcGis10安裝步驟
- Nsca安裝簡單步驟
- Nagios的安裝步驟iOS