select ubuntu source.png
# View ubuntu version number
cat /etc/issue
Select version and copy source.png
# Login root user
su -
# Switch to apt-get source location
cd /etc/apt
# Delete the content inside, copy the source just copied in and save
gedit sources.list
configuration source.png
apt-get update
vim install.png
apt-get update:Commands related to the upgrade installation package,Refresh the list of installable software(But don’t do any actual installation)
apt-get upgrade:Update the installation package(Software version upgrade)
apt-get dist-upgrade:Upgrade the system version(Ubuntu version upgrade)do-release-upgrade:Ubuntu official recommended system upgrade method,If add parameters-d can also be upgraded to the development version,But it will be unstable
Recommended Posts