August 11, 2015

Lệnh cài đặt phần mềm rpm

Trong Linux, để cài đặt phần mềm ta cài từ các gói có phần mở rộng là .rpm. Tương tự như trong Windows là các tập tin msi hay exe. Để cài đặt các gói phần mềm này từ dòng lệnh, chúng ta sử dụng lênh rpm với cú pháp sử dụng được nêu ra dưới đây.

1. Cài đặt:  #rpm -ivh <tên gói phần mềm>

2. Xem thông tin của gói: #rpm -qpi <tên gói phần mềm>

3. Gỡ bỏ gói đã cài đặt: #rpm -e <tên gói phần mềm>

4. Liệt kê danh sách tất cả các gói đã cài: #rpm -qa

5. Kiểm tra gói cài đặt: #rpm -q <tên gói>
Bài đọc tham khảo: Ở đây


Related Posts:

  • Generate Random Password on Linux Generate AlphaNumeric Random Password [mitesh@Matrix ~]$ cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 15 | head -n10 k8eViiHzPvquY18 5niBD7oMDNwr9aF cdqas4okZ9L9jLx 0C8X3s2g6I1RmKc 6Gafnp9ttaRmlHX FrgSa94hNwoEibR zipj2iW… Read More
  • (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080 Summary: In this post i tried to explain how to resolve the issue of apache bind address. The issue is Apache: could not bind to address to port (make_sock). If you are going to upgrade server software, or sometime you… Read More
  • Finding and Processing Files on Linux locate command Locate - Find Files by Name Locate reads one or more databases prepared by updatedb command. Options /----------------------------------------------------------------------------------------------… Read More
  • How to Findout Your System Information This article will teach you how to find out system information, such as Operating System (OS) Serial Number Processor RAM MAC Address Linux Find out Manufacturer, Product Name and Serial Number [mitesh@Matrix ~]$ sudo… Read More
  • Deadly Linux Commands If you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system. Don’t run anything wi… Read More

0 comments:

Post a Comment