Ubuntu:Edgy th/Repositories
From
Contents |
[edit]
ติดตั้งซอฟต์แวร์เพิ่มเติม
[edit]
การใส่ repositories เพิ่มเติม
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list
- แทนนี่ทุกอย่างลงไปตามบรรทัดข้างล่างนี้
- การเพิ่ม reporitory จากเซิร์ฟเวอร์ในประเทศให้ส่ "cc." ก่อนข้อความ archive.ubuntu.com (cc = รหัสประเทศ)
- เช่น deb http://th.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse ## MAJOR BUG FIX UPDATES produced after the final release deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse ## UBUNTU SECURITY UPDATES deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://medibuntu.sos-sts.com/repo/ edgy free deb http://medibuntu.sos-sts.com/repo/ edgy non-free deb-src http://medibuntu.sos-sts.com/repo/ edgy free deb-src http://medibuntu.sos-sts.com/repo/ edgy non-free ## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu ## servers. RealPlayer10, Opera, DesktopSecure and more to come.) deb http://archive.canonical.com/ubuntu edgy-commercial main ## Listen #deb http://theli.free.fr/packages/ edgy listen
- ทำการเซฟไฟล์ที่ทำการแก้ไข
wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add - sudo apt-get update
- คุณอาจจะสร้างsources.listที่เป็นของคุณเองได้ และสามารถหา repositories อื่นๆได้ที่: http://www.ubuntulinux.nl/source-o-matic
- You may also replace your sources.list with the sources.list for Edgy Eft by Treviño - USE AT YOUR OWN RISK.
- Complete Sources list for Ubuntu edgy - USE AT YOUR OWN RISK this contains the Nvdia Drivers, ATI and many more.
- Modify the default Ubuntu sources.list only if you understand what you're doing. Mixing repos can cause breakage.
[edit]
การเพิ่ม DVD repository
สำหรับผู้ใช้ที่ไม่มีอินเทอร์เน็ตความเร็วสูงเพื่อใช้สำหรับอัพเดทแพคเกจผ่านอินเทอร์เน็ต คุณสามารถดาวน์โหลดแพคเกจในรูปแบบ DVD เพื่อใช้สำหรับติดตั้งแพคเกจที่จะต้องอัพเดทผ่านอินเทอร์เน็ต
- ดาวน์โหลด DVD
- สำหรับ CPU ตระกูล i386
Main Repository Universe - Multiverse - Restricted DVD1 Universe - Multiverse - Restricted DVD2 Universe - Multiverse - Restricted DVD3
- สำหรับ amd64
Main Repository Universe - Multiverse - Restricted DVD1 Universe - Multiverse - Restricted DVD2 Universe - Multiverse - Restricted DVD3
- สร้างแผ่น DVD จากไฟล์ iso (อ่าน วิธีสร้างแผ่น CD/DVD จากไฟล์ ISO)
- เปิดที่เมนู System -> Administration -> Synaptic Package Manager เพื่อเรียกโปรแกรมจัดการแพคเกจ
- To add DVDs in Repository lists
- Settings -> Repositories -> Third Party
- ใส่แผ่น DVD ลงไดรว์แล้วคลิก Add Cdrom
- Name the added DVD
- repeat for other DVDs also
[edit]
"Automated" Methods
[edit]
วิธีติดตั้ง EasyUbuntu
- อ่าน #General Notes
- Easy Ubuntu คือโปรแกรมอรรถประโยชน์ตัวเล็กๆ สำหรับติดตั้งเพคเกจบางชนิดเพิ่มเติมให้้โดยอัตโนมัต เช่น media codecs, fonts, Macromedia Flash และ Sun Java เป็นต้น
เปิดเทอร์มินอล จากเมนู Menu -> Accessories -> Terminal และพิมพ์คำสั่งตามนี้
wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz tar -zxf easyubuntu-3.023.tar.gz cd easyubuntu cp packagelist-dapper.pot packagelist-edgy.pot cp packagelist-dapper.xml packagelist-edgy.xml sudo python easyubuntu.in
- ที่หน้าต่าง Easy Ubuntu window, เลือกที่ตัวเลือกต่างๆเพื่อดาวน์โหลดและติดตั้งแพคเกจตามต้องการ
- Note: Users of the previous EasyUbuntu 3.0 version may experience issues with installing Flash and Java.
- ถ้าคุณต้องการให้ทำการอัพเดทอัตโนมัติ ให้ตามวิธีด้านล่างนี้:
พิมพ์คำสั่งในเทอร์มินอลตามนี้:
สำหรับ Ubuntu:
sudo gedit /etc/apt/sources.list
สำหรับ Kubuntu:
sudo kate /etc/apt/sources.list
สำหรับ Xubuntu:
gksudo mousepad /etc/apt/sources.list
โปรแกรมเท็กซ์เอดิเตอร์จะถูกเรียกขึ้นมา ให้เพิ่มบรรทัดด้านล่างนี้ลงไป
deb http://easyubuntu.cafuego.net main easyubuntu
From now on, EasyUbuntu should be automatically updated.
[edit]
ถอนโปรแกรม EasyUbuntu
sudo apt-get remove easyubuntu
- Delete the easyubuntu directory
[edit]
วิธีติดตั้ง Automatix2 บน Ubuntu, Kubuntu, และ Xubuntu
- อ่าน #General Notes
- Automatix2 คือ Automatix ที่เขียนขึ้นมาจาก python โดยมีหน้าที่ใช้งานได้ง่ายและได้ทำการออกแบบมาเป็นอย่างดี โดยโปรแกรมนี้ จะใช้สำหรับติดตั้งโปรแกรมที่ต้องการโดยอัตโนมัติ
- Note: Before installing, please note that certain codecs it provides may be prohibited in certain countries. You are responsible for ensuring those laws are not broken.
- Note: ถ้าคุณใช้ xubuntu ให้แก้คำสั่ง "sudo gedit /etc/apt/sources.list" เป็น "gksudo mousepad /etc/apt/sources.list".
sudo gedit /etc/apt/sources.list
- เพิ่มบรรทัดข้างล่างนี้ลงไปที่ท้ายไฟล์
## Automatix repo deb http://www.getautomatix.com/apt edgy main
- NOTE: Kubuntu/Xubuntu หากมีเครื่องหมาย # หน้าคำว่า deb ให้เอาเครื่อง # ออก
- เพื่ม GPG key
wget http://www.getautomatix.com/apt/key.gpg.asc gpg --import key.gpg.asc gpg --export --armor 521A9C7C | sudo apt-key add -
- อัพเดท APT
sudo apt-get update
- พิมพ์คำสั่งข้างล่างนี้ เพื่อติดตั้ง Automatix2
sudo apt-get install automatix2
- สามารถเรียกใช้งาน Automatix2 ได้ทางเมนู
Menu -> System -> Automatix
- หรือจะเรียกใช้ Automatix2 ผ่านเทอร์มินอลก็ได้ โดยสั่ง
automatix2
- การติดตั้ง Automatix2 พร้อมภาพหน้าจอ - This is Automatix2 in Ubuntu,Kubuntu,Xubuntu (Dapper and Edgy)
[edit]
script อื่นๆในการติดตั้งโปรแกรมเพิ่มเติม
Note: โปรแกรมต่างๆหลายตัวได้รวมอยู่ใน Automatix2 แล้ว
wget http://www.iki.fi/kuparine/comp/ubuntu/install.sh sh install.sh
สามารถเข้าไปดูข้อมูลอื่นๆเพิ่มเติมเกี่ยวกับวิธีการติดตั้งได้ที่ http://www.iki.fi/kuparine/comp/ubuntu/install.html

