banner



How To Install Deb File In Redhat Linux

How to Install DEB Files In Ubuntu

Then, you finally installed Linux and when downloading your favorite app you got a file with the ".deb" extension. Now what? In this commodity, let's look at the ii means you can easily install apps using DEB files on Linux.

What Is a DEB File Anyhow?

A file catastrophe with ".deb" is chosen a Debian Software Package file, and information technology'due south used to install apps on Linux. DEB files are used merely in Debian-based Linux distributions like Ubuntu and its diverse flavors, Pop!_OS, Linux Mint, and others. That means distributions based on Arch or Fedora won't be able to install it.

If you're coming to Linux after using Windows for a long time, yous might be tempted to think of DEB files as similar to EXE files. A file that ends with ".exe" is a Windows executable file used to install and run Windows programs. However, information technology's non the aforementioned as a DEB file. EXE files come with pre-compiled source code, whereas you need an application to install DEB files, compile the file'due south contents, and install it on Linux.

Retrieve of pre-compiled code as instant cup noodles. All you demand to do is pour hot water (double-click on the file), mix it well (follow the instructions in the installer wizard), and eat it (kickoff using the awarding). On the other hand, recall of a DEB file as the ingredients you need for a recipe. You'll demand to put and mix everything and cook them to get the final dish prepare. Fortunately, you have free apps that volition take care of the process for you.

GDebi and Eddy are some of the popular parcel installers that are used to install DEB files. However, distributions like Ubuntu open up DEB packages in the software middle by default, where you lot can click on install, and the app will be installed for y'all. You can also install GDebi to install DEB packages.

How to Install DEB Files

Y'all can install DEB files using both the graphical desktop (GUI) and the Terminal. We'll go through both methods so that you can choose the one that looks easy.

Install DEB Files Graphically

Download the DEB bundle of the app you want to install. Let's install Slack for this tutorial.

download slack and save the .deb file

After downloading, double-clicking on the file will load the contents of the package in Ubuntu Software, or whatever software managing director your distribution uses.

Once it loads upwards, all you need to practice is click on the "Install" push button.

install slack from Ubuntu software center

If for some reason the software manager doesn't open, you can install a parcel using GDebi or the dpkg command.

If y'all don't have it already, open the concluding to begin installing GDebi.

open the terminal to install gdebi

Blazon the following command and hit enter.

sudo apt install gdebi

install gdebi using apt

Once installation is complete, caput over to the location of the DEB package that you downloaded.

go to the DEB file location

If you're using Ubuntu, correct-click on the app parcel and click on "Open With Other Awarding." Otherwise, await for another "Open With" option, or try double-clicking the file.

Notice and click on GDebi Bundle Installer, and finally, click on select.

select GDebi package installer

The GDebi packet installer will now open up and retrieve the details of the bundle you want to install.

Install package button in GDebi

Finally, click on the "Install Package" button and requite it some time to install.

GDebi installing Slack.deb

You should at present see the awarding in the applications listing.

slack in ubuntu applications

Install DEB Files in the Terminal

If you're comfortable using the terminal, the dpkg (Debian Parcel) command can install DEB files for y'all. Here's how to utilise it.

Open the final. Then cd into the directory where the downloaded DEB file resides. In our case, the file is in the \Downloads directory.

cd \Downloads

go to the directory

Type the dpkg control followed by the package name and striking Enter. Here's an example.

sudo dpkg -i "package_name.deb"

Supplant package_name.deb with the proper name of your packet (simply go on the quote marks), then hit Enter, and the installation should brainstorm. Y'all'll probably be asked to enter the administrator password.

install the app using dpkg

Alternatively, you tin can go to the file location using the default file manager, type sudo dpkg -i, elevate and drop the file into the concluding, and striking Enter to install information technology.

Whichever method yous utilise with dpkg, we recommend checking that any necessary dependencies are installed before running the app. dpkg doesn't check to make sure your organization has everything it needs to run the program, just apt can do it for yous.

sudo apt install -f

If anything is installed on your PC that needs additional dependencies, apt will help you install them. Then y'all're gratuitous to run your program!

RELATED: 10 Basic Linux Commands for Beginners

Source: https://www.howtogeek.com/772548/how-to-install-a-deb-file-in-linux/

Posted by: piercehurse1967.blogspot.com

0 Response to "How To Install Deb File In Redhat Linux"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel