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

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.

主站蜘蛛池模板: 财经| 河间市| 凤山市| 托里县| 滁州市| 惠州市| 稷山县| 施秉县| 娱乐| 安化县| 西青区| 体育| 梅州市| 东至县| 佛山市| 大荔县| 蒲江县| 嘉鱼县| 云和县| 库尔勒市| 丰都县| 阜宁县| 方山县| 石屏县| 大余县| 隆林| 南乐县| 安远县| 南开区| 九台市| 昭通市| 肇州县| 炉霍县| 偏关县| 建阳市| 吴旗县| 宁国市| 泉州市| 四川省| 钟山县| 长武县|