Cách cài đặt file .Deb lên Centos 7?

haisinhduong

New member
## Cách cài đặt tệp .deb trên centos 7?

** 1.Cài đặt Trình quản lý gói .DEB **

Trình quản lý gói .DEB không được cài đặt theo mặc định trên Centos 7. Để cài đặt nó, hãy chạy lệnh sau:

`` `
sudo yum cài đặt dpkg
`` `

** 2.Tải xuống tệp .deb **

Tệp .deb cho phần mềm bạn muốn cài đặt có thể được tải xuống từ trang web của phần mềm.Khi bạn đã tải xuống tệp, hãy lưu nó vào một vị trí trên máy tính của bạn.

** 3.Cài đặt tệp .deb **

Để cài đặt tệp .deb, chạy lệnh sau:

`` `
sudo dpkg -i <filename.deb>
`` `

Trong đó `<fileName.deb>` là tên của tệp .deb bạn đã tải xuống.

**4.Xác minh rằng phần mềm đã được cài đặt thành công **

Bạn có thể xác minh rằng phần mềm đã được cài đặt thành công bằng cách chạy lệnh sau:

`` `
DPKG -L |GREP <Gói tên>
`` `

Trong đó `<Gói tên>` là tên của phần mềm bạn đã cài đặt.

** 5.Gỡ cài đặt tệp .deb **

Để gỡ cài đặt tệp .deb, chạy lệnh sau:

`` `
sudo dpkg -r <back -name>
`` `

Trong đó `<Gói tên>` là tên của phần mềm bạn đã cài đặt.

## hashtags

* #centos
* #linux
* #packagemanager
* #.deb
* #Cài đặt
=======================================
## How to install .Deb file on CentOS 7?

**1. Install the .deb package manager**

The .deb package manager is not installed by default on CentOS 7. To install it, run the following command:

```
sudo yum install dpkg
```

**2. Download the .deb file**

The .deb file for the software you want to install can be downloaded from the software's website. Once you have downloaded the file, save it to a location on your computer.

**3. Install the .deb file**

To install the .deb file, run the following command:

```
sudo dpkg -i <filename.deb>
```

where `<filename.deb>` is the name of the .deb file you downloaded.

**4. Verify that the software was installed successfully**

You can verify that the software was installed successfully by running the following command:

```
dpkg -l | grep <package-name>
```

where `<package-name>` is the name of the software you installed.

**5. Uninstall the .deb file**

To uninstall the .deb file, run the following command:

```
sudo dpkg -r <package-name>
```

where `<package-name>` is the name of the software you installed.

## Hashtags

* #centos
* #linux
* #packagemanager
* #.deb
* #installation
 
Join ToolsKiemTrieuDoGroup
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock