官术网_书友最值得收藏!

3.8 Installing Updates

As with most operating systems today, each particular release of the Ubuntu distribution continues to evolve after it has been released. This generally takes the form of bug fixes and security updates and, occasionally, new features that may be downloaded over the internet and installed on your system.

Best practices dictate that the first step after installing Ubuntu is to make sure any available updates are applied to the system. This can be achieved via the command-line prompt in a Terminal window using the apt package manager tool. To check for the availability of updates, right-click on the desktop background and, from the resulting menu, select the Open in Terminal option:

Figure 3-19

Within the Terminal window, run the following commands to gain root privileges and update the package list:

$ sudo su -

# apt update

If updated packages are available, the command will display output similar to the following:

.

.

.

Reading package lists... Done

Building dependency tree

Reading state information... Done

103 packages can be upgraded. Run ‘apt list --upgradable’ to see them.

Any pending updates may be applied using the apt tool:

# apt upgrade

Upon execution, the apt tool will provide a list of packages that are available for update and prompt for permission to perform the update

103 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.

Need to get 75.2 MB/286 MB of archives.

After this operation, 352 MB of additional disk space will be used.

Do you want to continue? [Y/n]

Once the upgrade is complete the installation is essentially finished.

主站蜘蛛池模板: 南乐县| 扎鲁特旗| 青龙| 株洲市| 陵水| 义乌市| 沙坪坝区| 黄陵县| 马山县| 清原| 唐山市| 台中县| 乐至县| 开阳县| 永城市| 延庆县| 阜康市| 永州市| 达日县| 固始县| 唐海县| 无为县| 郴州市| 巴林右旗| 汝南县| 外汇| 高密市| 菏泽市| 岚皋县| 巴林右旗| 海安县| 孝昌县| 海盐县| 塔河县| 威宁| 赫章县| 兴业县| 乾安县| 沈阳市| 长顺县| 江津市|