SlideShare una empresa de Scribd logo
1 de 13
1
4 Installing software4 Installing software
P1 Installing Linux as a ServerP1 Installing Linux as a Server
2
Nội dungNội dung
 Add/ Remove Program.
 Redhat Package Manager (RPM).
 Cài đặt bằng lệnh rpm.
 Cài đặt bằng source.
 Giới thiệu một số ứng dụng.
3
Add/ Remove ProgramAdd/ Remove Program
 Cài đặt bằng công cụ graphic add/ remove
program của Linux giải quyết được các vấn
đề sau:
 thao tác đơn giản, dễ thực hiện.
 tự động cài các gói phụ thuộc.
 dễ quản lý.
4
Redhat Package ManagerRedhat Package Manager
 Được phát triển đầu tiên bởi Redhat, sau đó
được các phiên bản linux khác sử dụng rộng
rãi: Fedora, Mandrake, SuSe
 Gói rpm có dạng:
 Cài đặt bằng lệnh rpm.
 Đây là kiểu cài đặt phổ biến nhất của linux.
 Dễ cài đặt, dễ remove.
5
Lệnh rpmLệnh rpm
 Cài đặt một package:
 rpm –i package.rpm
 Update một package:
 rpm –U package.rpm
 Gỡ bỏ một package:
 rpm –e package.rpm
 Một số option khác sử dụng trong cài đặt:
 --nodeps: cho phép cài đặt, bỏ qua các gói phụ thuộc.
 --force: bắt buộc upgrade, bỏ qua conflicts.
 --test: không cài đặt, upgrage, chỉ test.
 --requires: liệt kê các gói phụ thuộc.
6
Lệnh rpm (tt)Lệnh rpm (tt)
 Các option truy vấn: kết hợp với option -q
 -a: hiển thị danh sách các package đã cài đặt.
 -f <file_name>: hiển thị package sở hữu
<file_name>.
 -p <package_name>: hiển thị thông tin của
package_name. (package_name chưa được
cài đặt).
 -i <package_name>: hiển thị thông tin của
package.
 -l <package_name>: hiển thị file chứa trong
package_name.
7
Lệnh rpm (tt)Lệnh rpm (tt)
8
Lệnh rpm (tt)Lệnh rpm (tt)
9
Cài đặt bằng sourceCài đặt bằng source
 Tương thích với mọi phiên bản Linux.
 Được đóng gói sử dụng kiểu GNU Zip (.gz)
hoặc BZip2 (bz2).
 <filename>.tar.gz or <filename>.tar.bz2
 Giải nén bằng lệnh:
 tar xvzf <filename>.tar.gz
 tar xvjf <filename>.tar.bz2
 Đọc file INSTALL hoặc README để có
những chỉ dẫn riêng biệt của gói cài đặt.
10
Cài đặt bằng source (tt)Cài đặt bằng source (tt)
 Sau khi giải nén, chuyển đến thư mục của gói
source:
 cd <extracted_dir_name>
 Chạy script configure, cần đọc file README,
INSTALL để có những option cần thiết:
 ./configure
 Build gói source bằng lệnh make:
 make
 Cài đặt gói source:
 make install
11
Cài đặt bằng source (tt)Cài đặt bằng source (tt)
 Khi có thay đổi trong source, cần biên dịch,
cài đặt lại.
 Sau khi cài đặt xong, để gỡ bỏ gói source,
dùng những lệnh sau:
 make clean
 make distclean
 Nếu cần thiết xóa bỏ luôn thư mục source cài
đặt:
 rm –rf <extracted_dir_name>
12
Một số ứng dụngMột số ứng dụng
 Một số ứng dụng cơ bản cần cho thao tác
văn phòng trên linux:
 open office
 unikey
 acrobat reader
 chm reader
13
Hỏi & ĐápHỏi & Đáp

Más contenido relacionado

La actualidad más candente

Carte ref-ubuntu-vi
Carte ref-ubuntu-viCarte ref-ubuntu-vi
Carte ref-ubuntu-viBảo Bối
 
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNHCHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNHlaonap166
 
Chuong 03 he_thong_file
Chuong 03 he_thong_fileChuong 03 he_thong_file
Chuong 03 he_thong_filenguyenghia831
 
11 networking fundamentals
11  networking fundamentals11  networking fundamentals
11 networking fundamentalsCơn Gió
 
Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01lehuyvinh
 
06 the command line
06  the command line06  the command line
06 the command lineCơn Gió
 
Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)Thang Man
 
Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)laonap166
 
Bao cao thưc_tap_tuan4_pham_tienquan
Bao cao thưc_tap_tuan4_pham_tienquanBao cao thưc_tap_tuan4_pham_tienquan
Bao cao thưc_tap_tuan4_pham_tienquanQuân Quạt Mo
 
Lesson 5 - Administering Linux System (1)
Lesson 5 - Administering Linux System (1)Lesson 5 - Administering Linux System (1)
Lesson 5 - Administering Linux System (1)Thang Man
 
Cau hinh dns centos
Cau hinh dns centosCau hinh dns centos
Cau hinh dns centosthienma217
 
Lesson 3 - Linux File System
Lesson 3 - Linux File SystemLesson 3 - Linux File System
Lesson 3 - Linux File SystemThang Man
 
08 file systems
08  file systems08  file systems
08 file systemsCơn Gió
 

La actualidad más candente (17)

Carte ref-ubuntu-vi
Carte ref-ubuntu-viCarte ref-ubuntu-vi
Carte ref-ubuntu-vi
 
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNHCHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
 
Linux06 quanly dia
Linux06 quanly diaLinux06 quanly dia
Linux06 quanly dia
 
Tailieu
TailieuTailieu
Tailieu
 
Chuong 03 he_thong_file
Chuong 03 he_thong_fileChuong 03 he_thong_file
Chuong 03 he_thong_file
 
11 networking fundamentals
11  networking fundamentals11  networking fundamentals
11 networking fundamentals
 
Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01
 
06 the command line
06  the command line06  the command line
06 the command line
 
Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)
 
Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)
 
Bao cao thuc tap tuan 4
Bao cao thuc tap tuan 4Bao cao thuc tap tuan 4
Bao cao thuc tap tuan 4
 
Bao cao thưc_tap_tuan4_pham_tienquan
Bao cao thưc_tap_tuan4_pham_tienquanBao cao thưc_tap_tuan4_pham_tienquan
Bao cao thưc_tap_tuan4_pham_tienquan
 
Linux01 tongquan
Linux01 tongquanLinux01 tongquan
Linux01 tongquan
 
Lesson 5 - Administering Linux System (1)
Lesson 5 - Administering Linux System (1)Lesson 5 - Administering Linux System (1)
Lesson 5 - Administering Linux System (1)
 
Cau hinh dns centos
Cau hinh dns centosCau hinh dns centos
Cau hinh dns centos
 
Lesson 3 - Linux File System
Lesson 3 - Linux File SystemLesson 3 - Linux File System
Lesson 3 - Linux File System
 
08 file systems
08  file systems08  file systems
08 file systems
 

Destacado

18 rapport activité cdsp 2011
18 rapport activité cdsp 201118 rapport activité cdsp 2011
18 rapport activité cdsp 2011CCDH75
 
15 rapport activité cdsp 2011
15 rapport activité cdsp 201115 rapport activité cdsp 2011
15 rapport activité cdsp 2011CCDH75
 
In what ways does your media product use, develop of challenge forms and conv...
In what ways does your media product use, develop of challenge forms and conv...In what ways does your media product use, develop of challenge forms and conv...
In what ways does your media product use, develop of challenge forms and conv...sammjh
 
Project Funding - 01-2009
Project Funding - 01-2009Project Funding - 01-2009
Project Funding - 01-2009Waseem Khan, PG
 
Joan. Auto-Descripción. 3r A CURS 2014-15
Joan.  Auto-Descripción. 3r A CURS 2014-15Joan.  Auto-Descripción. 3r A CURS 2014-15
Joan. Auto-Descripción. 3r A CURS 2014-15Educación gva
 
Simetria do meu rosto
Simetria do meu rostoSimetria do meu rosto
Simetria do meu rostoinesantosilva
 
Joanne Rowling monografia de Fabiana Murillo
Joanne Rowling monografia de Fabiana MurilloJoanne Rowling monografia de Fabiana Murillo
Joanne Rowling monografia de Fabiana MurilloFabianaMurilloAlejandro
 
12 rapport activité cdsp 2011
12 rapport activité cdsp 201112 rapport activité cdsp 2011
12 rapport activité cdsp 2011CCDH75
 
02 technical summary of linux distribution
02  technical summary of linux distribution02  technical summary of linux distribution
02 technical summary of linux distributionCơn Gió
 
Promo-Retail il tuo #business a portata di #APP
Promo-Retail il tuo #business a portata di #APPPromo-Retail il tuo #business a portata di #APP
Promo-Retail il tuo #business a portata di #APPDomenico DI PAOLA
 
Gentrification in San Antonio: Community Conversations at St. Mary's University
Gentrification in San Antonio: Community Conversations at St. Mary's UniversityGentrification in San Antonio: Community Conversations at St. Mary's University
Gentrification in San Antonio: Community Conversations at St. Mary's UniversityNOWCastSA
 
Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...
Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...
Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...chainformation
 
04 rapport activité cdsp 2011
04 rapport activité cdsp 201104 rapport activité cdsp 2011
04 rapport activité cdsp 2011CCDH75
 
RunMob Presentation 2013
RunMob Presentation 2013RunMob Presentation 2013
RunMob Presentation 2013RunMob
 
Ingenieria economica
Ingenieria economicaIngenieria economica
Ingenieria economicadheul
 

Destacado (20)

18 rapport activité cdsp 2011
18 rapport activité cdsp 201118 rapport activité cdsp 2011
18 rapport activité cdsp 2011
 
15 rapport activité cdsp 2011
15 rapport activité cdsp 201115 rapport activité cdsp 2011
15 rapport activité cdsp 2011
 
In what ways does your media product use, develop of challenge forms and conv...
In what ways does your media product use, develop of challenge forms and conv...In what ways does your media product use, develop of challenge forms and conv...
In what ways does your media product use, develop of challenge forms and conv...
 
Jagdish Jakhar 12284
Jagdish Jakhar 12284Jagdish Jakhar 12284
Jagdish Jakhar 12284
 
20141016寒假花蓮國小介紹
20141016寒假花蓮國小介紹20141016寒假花蓮國小介紹
20141016寒假花蓮國小介紹
 
2. Expo Keynote 2015. Focus: Sharing Economy
2. Expo Keynote 2015. Focus: Sharing Economy2. Expo Keynote 2015. Focus: Sharing Economy
2. Expo Keynote 2015. Focus: Sharing Economy
 
Project Funding - 01-2009
Project Funding - 01-2009Project Funding - 01-2009
Project Funding - 01-2009
 
Joan. Auto-Descripción. 3r A CURS 2014-15
Joan.  Auto-Descripción. 3r A CURS 2014-15Joan.  Auto-Descripción. 3r A CURS 2014-15
Joan. Auto-Descripción. 3r A CURS 2014-15
 
Simetria do meu rosto
Simetria do meu rostoSimetria do meu rosto
Simetria do meu rosto
 
Joanne Rowling monografia de Fabiana Murillo
Joanne Rowling monografia de Fabiana MurilloJoanne Rowling monografia de Fabiana Murillo
Joanne Rowling monografia de Fabiana Murillo
 
12 rapport activité cdsp 2011
12 rapport activité cdsp 201112 rapport activité cdsp 2011
12 rapport activité cdsp 2011
 
02 technical summary of linux distribution
02  technical summary of linux distribution02  technical summary of linux distribution
02 technical summary of linux distribution
 
Promo-Retail il tuo #business a portata di #APP
Promo-Retail il tuo #business a portata di #APPPromo-Retail il tuo #business a portata di #APP
Promo-Retail il tuo #business a portata di #APP
 
Gentrification in San Antonio: Community Conversations at St. Mary's University
Gentrification in San Antonio: Community Conversations at St. Mary's UniversityGentrification in San Antonio: Community Conversations at St. Mary's University
Gentrification in San Antonio: Community Conversations at St. Mary's University
 
Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...
Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...
Case study: Chainformation helps ICEBAR by ICEHOTEL to set the course for exp...
 
04 rapport activité cdsp 2011
04 rapport activité cdsp 201104 rapport activité cdsp 2011
04 rapport activité cdsp 2011
 
RunMob Presentation 2013
RunMob Presentation 2013RunMob Presentation 2013
RunMob Presentation 2013
 
Manifesto premio catarsini 2013
Manifesto premio catarsini 2013Manifesto premio catarsini 2013
Manifesto premio catarsini 2013
 
Ingenieria economica
Ingenieria economicaIngenieria economica
Ingenieria economica
 
Lisa Board Source Certificate
Lisa Board Source CertificateLisa Board Source Certificate
Lisa Board Source Certificate
 

Similar a 04 installing software

12 dhcp server
12  dhcp server12  dhcp server
12 dhcp serverCơn Gió
 
Cài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptxCài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptxchamkhe
 
Linux Backup & Restore.docx
Linux Backup & Restore.docxLinux Backup & Restore.docx
Linux Backup & Restore.docxssuserca116d
 
Carte ref-ubuntu-vi (1)
Carte ref-ubuntu-vi (1)Carte ref-ubuntu-vi (1)
Carte ref-ubuntu-vi (1)Mr[L]ink
 
Cac lenh co_ban_linux
Cac lenh co_ban_linuxCac lenh co_ban_linux
Cac lenh co_ban_linuxgofriv
 
Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01lehuyvinh
 
Snort it-slideshares.blogspot.com
Snort it-slideshares.blogspot.comSnort it-slideshares.blogspot.com
Snort it-slideshares.blogspot.comphanleson
 
Tai lieu quan tri he thong erp oracle
Tai lieu quan tri he thong erp oracleTai lieu quan tri he thong erp oracle
Tai lieu quan tri he thong erp oracleKiet Tran
 
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on UbuntuChapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on UbuntuMinhtuan Chau
 
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.comBảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.comBrand Xanh
 
Cài đặt web server (linux)-Pham Hoang Phuc-Athena
Cài đặt web server (linux)-Pham Hoang Phuc-AthenaCài đặt web server (linux)-Pham Hoang Phuc-Athena
Cài đặt web server (linux)-Pham Hoang Phuc-AthenaHoàng Phúc Phạm
 
Overview of Linux
Overview of LinuxOverview of Linux
Overview of LinuxThang Man
 
tài liệu Mã nguồn mở 02 sudung
tài liệu Mã nguồn mở  02 sudungtài liệu Mã nguồn mở  02 sudung
tài liệu Mã nguồn mở 02 sudungThuyet Nguyen
 
Quản trị mạng linux full
Quản trị mạng linux fullQuản trị mạng linux full
Quản trị mạng linux fulljackjohn45
 
Báo cáo đề tài 5
Báo cáo đề tài 5Báo cáo đề tài 5
Báo cáo đề tài 5Nguyen Anh
 
Lesson 2 - Install Linux & Command Line Environment
Lesson 2 - Install Linux & Command Line EnvironmentLesson 2 - Install Linux & Command Line Environment
Lesson 2 - Install Linux & Command Line EnvironmentThang Man
 

Similar a 04 installing software (20)

12 dhcp server
12  dhcp server12  dhcp server
12 dhcp server
 
Cài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptxCài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptx
 
Linux Backup & Restore.docx
Linux Backup & Restore.docxLinux Backup & Restore.docx
Linux Backup & Restore.docx
 
To ghi nho ubuntu
To ghi nho   ubuntuTo ghi nho   ubuntu
To ghi nho ubuntu
 
Carte ref-ubuntu-vi (1)
Carte ref-ubuntu-vi (1)Carte ref-ubuntu-vi (1)
Carte ref-ubuntu-vi (1)
 
Cac lenh co_ban_linux
Cac lenh co_ban_linuxCac lenh co_ban_linux
Cac lenh co_ban_linux
 
Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01
 
Snort it-slideshares.blogspot.com
Snort it-slideshares.blogspot.comSnort it-slideshares.blogspot.com
Snort it-slideshares.blogspot.com
 
Linux security
Linux securityLinux security
Linux security
 
Carte ref-ubuntu-vi
Carte ref-ubuntu-viCarte ref-ubuntu-vi
Carte ref-ubuntu-vi
 
So tay nho lenh linux
So tay nho lenh linuxSo tay nho lenh linux
So tay nho lenh linux
 
Tai lieu quan tri he thong erp oracle
Tai lieu quan tri he thong erp oracleTai lieu quan tri he thong erp oracle
Tai lieu quan tri he thong erp oracle
 
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on UbuntuChapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
 
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.comBảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
 
Cài đặt web server (linux)-Pham Hoang Phuc-Athena
Cài đặt web server (linux)-Pham Hoang Phuc-AthenaCài đặt web server (linux)-Pham Hoang Phuc-Athena
Cài đặt web server (linux)-Pham Hoang Phuc-Athena
 
Overview of Linux
Overview of LinuxOverview of Linux
Overview of Linux
 
tài liệu Mã nguồn mở 02 sudung
tài liệu Mã nguồn mở  02 sudungtài liệu Mã nguồn mở  02 sudung
tài liệu Mã nguồn mở 02 sudung
 
Quản trị mạng linux full
Quản trị mạng linux fullQuản trị mạng linux full
Quản trị mạng linux full
 
Báo cáo đề tài 5
Báo cáo đề tài 5Báo cáo đề tài 5
Báo cáo đề tài 5
 
Lesson 2 - Install Linux & Command Line Environment
Lesson 2 - Install Linux & Command Line EnvironmentLesson 2 - Install Linux & Command Line Environment
Lesson 2 - Install Linux & Command Line Environment
 

Más de Cơn Gió

19 web server
19  web server19  web server
19 web serverCơn Gió
 
18 dns server
18  dns server18  dns server
18 dns serverCơn Gió
 
15 nis server
15  nis server15  nis server
15 nis serverCơn Gió
 
10 compiling kernel
10  compiling kernel10  compiling kernel
10 compiling kernelCơn Gió
 
09 core system services
09  core system services09  core system services
09 core system servicesCơn Gió
 
05 managing users
05  managing users05  managing users
05 managing usersCơn Gió
 
01 introduction
01  introduction01  introduction
01 introductionCơn Gió
 
16 ldap server
16  ldap server16  ldap server
16 ldap serverCơn Gió
 

Más de Cơn Gió (9)

19 web server
19  web server19  web server
19 web server
 
18 dns server
18  dns server18  dns server
18 dns server
 
15 nis server
15  nis server15  nis server
15 nis server
 
14 pam
14  pam14  pam
14 pam
 
10 compiling kernel
10  compiling kernel10  compiling kernel
10 compiling kernel
 
09 core system services
09  core system services09  core system services
09 core system services
 
05 managing users
05  managing users05  managing users
05 managing users
 
01 introduction
01  introduction01  introduction
01 introduction
 
16 ldap server
16  ldap server16  ldap server
16 ldap server
 

04 installing software

  • 1. 1 4 Installing software4 Installing software P1 Installing Linux as a ServerP1 Installing Linux as a Server
  • 2. 2 Nội dungNội dung  Add/ Remove Program.  Redhat Package Manager (RPM).  Cài đặt bằng lệnh rpm.  Cài đặt bằng source.  Giới thiệu một số ứng dụng.
  • 3. 3 Add/ Remove ProgramAdd/ Remove Program  Cài đặt bằng công cụ graphic add/ remove program của Linux giải quyết được các vấn đề sau:  thao tác đơn giản, dễ thực hiện.  tự động cài các gói phụ thuộc.  dễ quản lý.
  • 4. 4 Redhat Package ManagerRedhat Package Manager  Được phát triển đầu tiên bởi Redhat, sau đó được các phiên bản linux khác sử dụng rộng rãi: Fedora, Mandrake, SuSe  Gói rpm có dạng:  Cài đặt bằng lệnh rpm.  Đây là kiểu cài đặt phổ biến nhất của linux.  Dễ cài đặt, dễ remove.
  • 5. 5 Lệnh rpmLệnh rpm  Cài đặt một package:  rpm –i package.rpm  Update một package:  rpm –U package.rpm  Gỡ bỏ một package:  rpm –e package.rpm  Một số option khác sử dụng trong cài đặt:  --nodeps: cho phép cài đặt, bỏ qua các gói phụ thuộc.  --force: bắt buộc upgrade, bỏ qua conflicts.  --test: không cài đặt, upgrage, chỉ test.  --requires: liệt kê các gói phụ thuộc.
  • 6. 6 Lệnh rpm (tt)Lệnh rpm (tt)  Các option truy vấn: kết hợp với option -q  -a: hiển thị danh sách các package đã cài đặt.  -f <file_name>: hiển thị package sở hữu <file_name>.  -p <package_name>: hiển thị thông tin của package_name. (package_name chưa được cài đặt).  -i <package_name>: hiển thị thông tin của package.  -l <package_name>: hiển thị file chứa trong package_name.
  • 9. 9 Cài đặt bằng sourceCài đặt bằng source  Tương thích với mọi phiên bản Linux.  Được đóng gói sử dụng kiểu GNU Zip (.gz) hoặc BZip2 (bz2).  <filename>.tar.gz or <filename>.tar.bz2  Giải nén bằng lệnh:  tar xvzf <filename>.tar.gz  tar xvjf <filename>.tar.bz2  Đọc file INSTALL hoặc README để có những chỉ dẫn riêng biệt của gói cài đặt.
  • 10. 10 Cài đặt bằng source (tt)Cài đặt bằng source (tt)  Sau khi giải nén, chuyển đến thư mục của gói source:  cd <extracted_dir_name>  Chạy script configure, cần đọc file README, INSTALL để có những option cần thiết:  ./configure  Build gói source bằng lệnh make:  make  Cài đặt gói source:  make install
  • 11. 11 Cài đặt bằng source (tt)Cài đặt bằng source (tt)  Khi có thay đổi trong source, cần biên dịch, cài đặt lại.  Sau khi cài đặt xong, để gỡ bỏ gói source, dùng những lệnh sau:  make clean  make distclean  Nếu cần thiết xóa bỏ luôn thư mục source cài đặt:  rm –rf <extracted_dir_name>
  • 12. 12 Một số ứng dụngMột số ứng dụng  Một số ứng dụng cơ bản cần cho thao tác văn phòng trên linux:  open office  unikey  acrobat reader  chm reader

Notas del editor

  1. Trung Tâm Đào tạo Mạng Máy Tính NHẤT NGHỆ Người biên soạn: Phạm Trần Kim Chi
  2. Trung Tâm Đào tạo Mạng Máy Tính NHẤT NGHỆ Người biên soạn: Phạm Trần Kim Chi
  3. Trung Tâm Đào tạo Mạng Máy Tính NHẤT NGHỆ Người biên soạn: Phạm Trần Kim Chi
  4. Trung Tâm Đào tạo Mạng Máy Tính NHẤT NGHỆ Người biên soạn: Phạm Trần Kim Chi