查看: 1721|回复: 0

[教程] 【一网打尽】Raspberry Pi Course Week 5 – Day 3 (Keeping the system up...

[复制链接]
  • TA的每日心情
    开心
    2016-8-4 10:56
  • 签到天数: 242 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2015-3-28 12:59:27 | 显示全部楼层 |阅读模式
    分享到:

    The upgrade command can be used to keep your Raspberry Pi and its software packages up to date.   During this process you will be informed of what packages it is modifying.   Enter the following command to upgrade.

    $ sudo apt-get upgrade

    You will be presented with a list of packages that it will upgrade.

                    239 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

                    Need to get 407 MB of archives.

                    After this operation, 18.3 MB disk space will be freed.

                    Do you want to continue [Y/n]?

    Enter Y to continue.

    Depending on when the Raspberry Pi was last updated it may take some time.  If you only want to upgrade a specific page enter the following command.

    $ sudo apt-get install vsftp –only-upgrade

    The –only-upgrade flag indicates that the package will be upgraded.

    Previously you removed a package using apt-get remove ThePackageName.  This will leave the config files in place in case you ever need to install it again.  To completely remove the packages and configuration files enter the following.

    $ sudo apt-get purge wget

    It’s always nice to clean house and keep things tidy.  The clean command is used to free up any disk space by cleaning up any left-over debris from the packages that have been installed.  Enter

    $ sudo apt-get clean

    Apt-get clean does not return any results.  It just does its job of cleaning.


    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /4 下一条



    手机版|小黑屋|与非网

    GMT+8, 2024-11-19 13:26 , Processed in 0.110122 second(s), 15 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.