การติดตั้งโปรแกรมไฟล์ tar.gz บนลีนุกซ์ Posted byI'll always remember us this way!!!สิงหาคม 12, 2010Posted inครูสิงห์...สอนคอมพิวเตอร์, ครูสิงห์...ไอที, ครูสิงห์..บทความดี สาระเยี่ยมป้ายกำกับ:ติดตั้งไฟล์, ลีนุกซ์, linux, mint, ubuntu tar -zxvf nameof.tar.gz ./configure make make install Rate this:แบ่งปันสิ่งนี้:FacebookXถูกใจ กำลังโหลด... Related
1. apt-get/Synaptic/Adept สามารถใช้ apt-get, ได้ จะต้องมีการกำหนดค่าใน /etc/apt/sources.list ก่อน ตัวอย่าง ตองเข้าหน้า terminal ก่อน จากนั้นใช้คำสั่งตามนี้ กรณีติดตั้ง Thunderbird sudo apt-get update sudo apt-get install mozilla-thunderbird หรือกรณีติดตั้ง หลายโปรแกรม พร้อมกัน sudo apt-get update sudo apt-get install mozilla-thunderbird firefox gimp inkscape juk wine –> 2. การติดตั้งจาก .deb cd Desktop sudo dpkg -i opera_9.10-20061214.6-shared-qt_en_i386.deb 3. การติดตั้งจาก .rpm ต้องลง alien ก่อนตามนี้ sudo aptitude update sudo aptitude install alien จากนั้นจึงจะสามารถใช้คำสงติดตั้งได้ ตามนี้ cd Desktop sudo alien -i opera_9.10-20061214.6-shared-qt_en_i386.rpm 4. การติดตั้งจาก source จะต้องมีการติดตั้งชุด build-essential ก่อนเพราะเป็นเครื่องมือในการตอมไฟล์ sudo aptitude update sudo aptitude install build-essential ตัวอย่าง tar -xvzf obscure-1.0.tar.gz cd obscure-1.0 ./configure make sudo make install ตอบกลับ
1. apt-get/Synaptic/Adept
สามารถใช้ apt-get, ได้ จะต้องมีการกำหนดค่าใน /etc/apt/sources.list ก่อน
ตัวอย่าง ตองเข้าหน้า terminal ก่อน จากนั้นใช้คำสั่งตามนี้ กรณีติดตั้ง Thunderbird
sudo apt-get update
sudo apt-get install mozilla-thunderbird
หรือกรณีติดตั้ง หลายโปรแกรม พร้อมกัน
sudo apt-get update
sudo apt-get install mozilla-thunderbird firefox gimp inkscape juk wine
–> 2. การติดตั้งจาก .deb
cd Desktop
sudo dpkg -i opera_9.10-20061214.6-shared-qt_en_i386.deb
3. การติดตั้งจาก .rpm
ต้องลง alien ก่อนตามนี้
sudo aptitude update
sudo aptitude install alien
จากนั้นจึงจะสามารถใช้คำสงติดตั้งได้ ตามนี้
cd Desktop
sudo alien -i opera_9.10-20061214.6-shared-qt_en_i386.rpm
4. การติดตั้งจาก source
จะต้องมีการติดตั้งชุด build-essential ก่อนเพราะเป็นเครื่องมือในการตอมไฟล์
sudo aptitude update
sudo aptitude install build-essential
ตัวอย่าง
tar -xvzf obscure-1.0.tar.gz
cd obscure-1.0
./configure
make
sudo make install