JIYIK CN >

Current Location:Home > Learning > OPERATING SYSTEM >

Installing Deb Files in Linux

Author:JIYIK Last Updated:2025/03/23 Views:

In this Linux article, we will learn how to install .deb (Debian Package) files on Linux systems. We will also see how to remove .deb files after installation.

More importantly, we will learn different ways to install .deb files on Linux systems.


Manually Installing DEB Files in Linux

We can install the .deb file by simply clicking on the file and selecting the install package option.

First, we need to download a .deb file. Let's say we want to install slack.deb on our Linux system.

Download slack .deb file on Linux

After downloading the slack.deb file, we double-click on the file, which will load the contents of the package. After loading the package contents, we need to click on the install button as shown.

Install slack files

This is one of the ways we can install .deb files using the graphical desktop (GUI).


Install DEB file in Linux using terminal

If we want to install a .deb file using terminal in Linux, then dpkg command can help us install .deb files.

First, we open the terminal. Then we need to change the current directory to the downloaded directory where the slack.deb file is stored.

We use this command to change directory.

$ cd \Downloads

Change the current directory to Downloads

After this, we need to use the following command and press the enter button. The following command will execute the .deb slack file and install the package in our Linux system.

$ sudo dpkg -i slack.deb

Install the .deb slack file using the terminal

Before starting to install the slack.deb file, the system will ask the user to enter the administrator password.


Deleting DEB Files in Linux Using Terminal

With the help of dpkg command, we can remove a .deb file in Linux system. We can remove slack.deb package on Linux using the following command.

$ sudo dpkg remove slack.deb

Running the above command in terminal will successfully remove the slack.deb file.

I hope this article helped you understand how to install .deb files on Linux operating systems.

Previous:lsof Command in Linux

Next: None

For reprinting, please send an email to 1244347461@qq.com for approval. After obtaining the author's consent, kindly include the source as a link.

Article URL:

Related Articles

lsof Command in Linux

Publish Date:2025/03/23 Views:100 Category:OPERATING SYSTEM

In this Linux article, we will learn about lsof command in Linux operating system. We will see how to use this command for different purposes in Linux. We use lsof the lsof command to verify the ports in use on the Linux operating system. U

ps aux command in Linux

Publish Date:2025/03/23 Views:57 Category:OPERATING SYSTEM

If you are using Linux and are looking for a tool that can monitor all the processes running on your system, then you should use the command ps aux. This command will show you an overview of all running processes. It is very useful for trou

NTP in Linux

Publish Date:2025/03/23 Views:58 Category:OPERATING SYSTEM

NTP is a core protocol used by most IT infrastructures. Its purpose is to synchronize date and time information. However, it is very important to configure NTP for your servers, clients, and other network devices. NTP uses a UDP port number

Creating a Progress Bar in Bash

Publish Date:2025/03/23 Views:94 Category:OPERATING SYSTEM

A progress bar is a visual indicator that shows the progress of a task, such as a long-running script or command. It can be used to provide feedback to the user about the status of a task and can also help estimate the time remaining before

Redirecting Stderr and Stdout to a file in Bash

Publish Date:2025/03/23 Views:187 Category:OPERATING SYSTEM

In this article, we will discuss standard output and standard error in Linux. We will see how to redirect standard output and standard error in Bash. Let us start by understanding the terms standard output and standard error in Linux. Stand

Deleting Duplicate Lines in Bash

Publish Date:2025/03/23 Views:123 Category:OPERATING SYSTEM

Duplicate entries can cause a variety of problems in Bash scripts, such as incorrect or inconsistent results, and they can also make the script difficult to maintain. Removing duplicate entries from a script is often necessary to avoid thes

Count unique lines in a file in Linux

Publish Date:2025/03/23 Views:190 Category:OPERATING SYSTEM

Counting unique lines in a file is a common task in Linux, and there are a number of different tools and methods that can be used to perform this operation. In general, the appropriate method depends on the specific requirements and constra

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Recommended

Tags

Scan the Code
Easier Access Tutorial