diff --git a/sources/tech/20190307 How to keep your Raspberry Pi updated.md b/sources/tech/20190307 How to keep your Raspberry Pi updated.md index 2dcff48923..b43f550e4a 100644 --- a/sources/tech/20190307 How to keep your Raspberry Pi updated.md +++ b/sources/tech/20190307 How to keep your Raspberry Pi updated.md @@ -7,43 +7,37 @@ [#]: via: (https://opensource.com/article/19/3/how-raspberry-pi-update) [#]: author: (Anderson Silva https://opensource.com/users/ansilva) -How to keep your Raspberry Pi updated +如何更新树莓派 ====== -Learn how to keep your Raspberry Pi patched and working well in the seventh article in our guide to getting started with the Raspberry Pi. +在我们的树莓派入门指南的第七篇学习如何给树莓派打补丁。 ![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/computer_happy_sad_developer_programming.png?itok=72nkfSQ_) -Just like your tablet, cellphone, and laptop, you need to keep your Raspberry Pi updated. Not only will the latest enhancements keep your Pi running smoothly, they will also keep you safer, especially if you are connected to a network. The seventh article in our guide to getting started with the Raspberry Pi shares two pieces of advice on keeping your Pi working well. +像平板电脑、手机和笔记本电脑一样,你需要更新树莓派。最新的增强功能不仅可以使你的派运行顺畅,还可以让它更安全,特别是在如果你连接到网络的情况下。我们的树莓派入门指南中的第七篇会分享两条关于让派良好运行的建议。 -### Update Raspbian +### 更新 Raspbian -Updating your Raspbian installation is a [two-step process][1]: +更新 Raspbian 有[两步][1]: - 1. In your terminal type: **sudo apt-get update** -The command **sudo** allows you to run **apt-get update** as admin (aka root). Note that **apt-get update** will not install anything new on your system; rather it will update the list of packages and dependencies that need to be updated. - - - 2. Then type: **sudo apt-get dist-upgrade** -From the documentation: "Generally speaking, doing this regularly will keep your installation up to date, in that it will be equivalent to the latest released image available from [raspberrypi.org/downloads][2]." + 1. 在终端中输入:**sudo apt-get update**。 +该命令的 **sudo** 让你以 admin(也就是 root)运行 **apt-get update**。请注意,**apt-get update** 不会在系统上安装任何新东西,而是将更新需要更新的包和依赖项列表。 + 2. 接着输入:**sudo apt-get dist-upgrade**。 +摘自文档:”一般来说,定期执行此操作将使你的安装保持最新,因为它将等同于 [raspberrypi.org/downloads][2] 中发布的最新镜像。“ ![](https://opensource.com/sites/default/files/uploads/update_sudo_rpi.png) -### Be careful with rpi-update +### 小心 rpi-update -Raspbian comes with another little update utility called [rpi-update][3]. This utility can be used to upgrade your Pi to the latest firmware which may or may not be broken/buggy. You may find information explaining how to use it, but as of late it is recommended never to use this application unless you have a really good reason to do so. +Raspbian 带有另一个名为 [rpi-update][3] 的更新工具。此程序可用于将派升级到最新固件,该固件可能会或者不会有损坏/问题。你可能会发现如何使用的信息,但是建议你永远不要使用这个程序,除非你有充分的理由这样做。 -Bottom line: Keep your systems updated! +一句话:保持系统更新! -------------------------------------------------------------------------------- - via: https://opensource.com/article/19/3/how-raspberry-pi-update - 作者:[Anderson Silva][a] 选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) +译者:[geekpi](https://github.com/geekpi) 校对:[校对者ID](https://github.com/校对者ID) - 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - [a]: https://opensource.com/users/ansilva [b]: https://github.com/lujun9972 [1]: https://www.raspberrypi.org/documentation/raspbian/updating.md diff --git a/translated/tech/20190307 How to keep your Raspberry Pi updated.md b/translated/tech/20190307 How to keep your Raspberry Pi updated.md new file mode 100644 index 0000000000..b43f550e4a --- /dev/null +++ b/translated/tech/20190307 How to keep your Raspberry Pi updated.md @@ -0,0 +1,45 @@ +[#]: collector: (lujun9972) +[#]: translator: (geekpi) +[#]: reviewer: ( ) +[#]: publisher: ( ) +[#]: url: ( ) +[#]: subject: (How to keep your Raspberry Pi updated) +[#]: via: (https://opensource.com/article/19/3/how-raspberry-pi-update) +[#]: author: (Anderson Silva https://opensource.com/users/ansilva) + +如何更新树莓派 +====== +在我们的树莓派入门指南的第七篇学习如何给树莓派打补丁。 +![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/computer_happy_sad_developer_programming.png?itok=72nkfSQ_) + +像平板电脑、手机和笔记本电脑一样,你需要更新树莓派。最新的增强功能不仅可以使你的派运行顺畅,还可以让它更安全,特别是在如果你连接到网络的情况下。我们的树莓派入门指南中的第七篇会分享两条关于让派良好运行的建议。 + +### 更新 Raspbian + +更新 Raspbian 有[两步][1]: + + 1. 在终端中输入:**sudo apt-get update**。 +该命令的 **sudo** 让你以 admin(也就是 root)运行 **apt-get update**。请注意,**apt-get update** 不会在系统上安装任何新东西,而是将更新需要更新的包和依赖项列表。 + + 2. 接着输入:**sudo apt-get dist-upgrade**。 +摘自文档:”一般来说,定期执行此操作将使你的安装保持最新,因为它将等同于 [raspberrypi.org/downloads][2] 中发布的最新镜像。“ +![](https://opensource.com/sites/default/files/uploads/update_sudo_rpi.png) + +### 小心 rpi-update + +Raspbian 带有另一个名为 [rpi-update][3] 的更新工具。此程序可用于将派升级到最新固件,该固件可能会或者不会有损坏/问题。你可能会发现如何使用的信息,但是建议你永远不要使用这个程序,除非你有充分的理由这样做。 + +一句话:保持系统更新! + +-------------------------------------------------------------------------------- +via: https://opensource.com/article/19/3/how-raspberry-pi-update +作者:[Anderson Silva][a] +选题:[lujun9972][b] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 +[a]: https://opensource.com/users/ansilva +[b]: https://github.com/lujun9972 +[1]: https://www.raspberrypi.org/documentation/raspbian/updating.md +[2]: https://www.raspberrypi.org/downloads/ +[3]: https://github.com/Hexxeh/rpi-update