Home > System Tutorial > LINUX > How to install deb software on linux system

How to install deb software on linux system

下次还敢
Release: 2024-04-11 15:54:19
Original
918 people have browsed it

DEB packages are the package format used by Debian and its derivative distributions. The steps to install a DEB package include: Download the DEB package Open a terminal window Navigate to the download directory Use the dpkg command to install the DEB package Repair dependencies (if necessary) Verify installation

How to install deb software on linux system

How to install DEB packages to Linux systems

DEB packages are the package format used by Debian Linux distributions and Debian-based distributions such as Ubuntu, Kali and Mint. . They contain the files and metadata required to install and run the software on a Linux system.

Steps to install the DEB software package:

  1. Download the DEB software package: Download from the official software repository or other trusted sources. deb file.
  2. Open a terminal window: On your Linux system, press Ctrl Alt T or search for "terminal" in the application menu to open a terminal window.
  3. Navigate to the download directory: Use the cd command to navigate to the directory where you downloaded the DEB package. For example:
<code>cd Downloads</code>
Copy after login
  1. Install DEB software package: Use dpkg command to install DEB software package. The syntax is:
<code>sudo dpkg -i package_name.deb</code>
Copy after login

For example:

<code>sudo dpkg -i google-chrome-stable_current_amd64.deb</code>
Copy after login
  1. Fix dependencies:In some cases, installing DEB packages may cause dependencies question. To resolve this issue, run the following command:
<code>sudo apt-get install -f</code>
Copy after login
  1. Verify installation: To verify that the package was successfully installed, use the following command:
<code>dpkg -l package_name</code>
Copy after login

For example:

<code>dpkg -l google-chrome-stable</code>
Copy after login

This will display the installed packages and their information.

The above is the detailed content of How to install deb software on linux system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template