สิ่งที่ควรทำก่อนการติดตั้งโปรแกรมบน Raspberry Pi
ก่อนการติดตั้งโปรแกรมบน Raspberry Pi ทุกครั้ง ควรทำให้ OS และโปรแกรที่ติดตั้งอยู่แล้วใน Raspberry Pi เป็น version ใหม่ล่าสุดเสียก่อน โดยมีขั้นตอนดังต่อไปนี้
(ต้องเชื่อมต่อ internet ให้เรียบร้อยจากระบบ Lan หรือ WiFi)
sudo apt-get update
sudo apt-get dist-upgrade
คำสั่งนี้ใช้คำว่า upgrade ไม่ใช่ update อย่าพิมพ์ผิดนะครับ
sudo apt-get autoremove
ปล. อย่าลืมต่อ internet ก่อนทำนะครับ
References:
Update ฐานข้อมูลของ package manager (apt-get)
ฐานข้อมูลนี้เป็นส่วนที่สำคัญมาก เพราะจะเป็นข้อมูลที่บอก apt-get ว่ามีโปรแกรมอะไรบ้างและ version ล่าสุดคืออะไร การ update ทำโดยใช้คำสั่งsudo apt-get update
Upgrade โปรแกรมที่ติดตั้ง
พอฐานข้อมูลถูกต้องเป็นปัจจุบัน เราก็สามารถ upgrade โปรแกรมต่างๆที่ติดตั้งไว้แล้ว ให้เป็น version ล่าสุด โดยใช้คำสั่งsudo apt-get dist-upgrade
คำสั่งนี้ใช้คำว่า upgrade ไม่ใช่ update อย่าพิมพ์ผิดนะครับ
ลบสิ่งที่ไม่ได้ใช้ออก
หลังการติดตั้งโปรแกรม version ล่าสุด อาจมีโปรแกรมที่ไม่ได้ใช้เหลืออยู่ในระบบ สามารถลบออกโดยใช้คำสั่งsudo apt-get autoremove
ปล. อย่าลืมต่อ internet ก่อนทำนะครับ
References:
http://santilert.blogspot.com/2013/09/raspberry-pi.html
The King Casino Resort - Hertzaman
ตอบลบFind the jancasino.com perfect herzamanindir.com/ place to kadangpintar stay, play, and unwind at Harrah's Resort Southern California. Get your https://octcasino.com/ points casino-roll.com now!