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
- linux下安裝redis 單節點安裝操作步驟LinuxRedis
- vnc安裝步驟,vnc安裝步驟詳解VNC
- [ 安裝 ] Zeppelin安裝步驟!
- Linux環境下MySQL安裝部署操作步驟LinuxMySql
- xftp安裝步驟,xftp安裝的2大步驟FTP
- Nagios安裝步驟iOS
- STF 安裝步驟
- anaconda安裝步驟
- Linux 安裝步驟Linux
- vnc安裝步驟,如何在Linux(CentOS 7)下vnc安裝步驟VNCLinuxCentOS
- Sublime Text安裝步驟
- aws安裝jenkins步驟Jenkins
- Iris 框架安裝步驟框架
- zookeeper安裝部署步驟
- windows安裝cnpm步驟WindowsNPM
- Maya 2023安裝步驟
- charles的安裝步驟
- Linux安裝Nginx步驟LinuxNginx
- 安裝jdk的步驟JDK
- vnc安裝步驟,4個在Linux下vnc的個安裝步驟VNCLinux
- 操作步驟
- ubuntu 下安裝nginx步驟UbuntuNginx
- linux下安裝docker步驟LinuxDocker
- CDH6.2.0安裝步驟
- Android studio的安裝步驟Android
- MHA安裝和部署步驟
- 【Nginx1.12.2安裝步驟】Nginx
- 國內Kubernetes安裝步驟
- Linux安裝JDK完整步驟LinuxJDK
- 如何安裝discuz論壇,discuz安裝步驟
- Mac安裝Redis,詳細redis安裝步驟MacRedis
- vnc安裝步驟,4個vnc安裝步驟實現vnc與Linux的連線VNCLinux
- 安裝sogou輸入法步驟:Go
- PostgreSQL簡介及安裝步驟SQL
- Laravel Homestead windos Mac 安裝步驟LaravelMac
- Linux 下安裝 LR Generator 步驟Linux
- dp安裝包升級步驟