How to install .deb files on Elementary OS 6.1 via the terminal emulator?
.deb file
A .deb
file is a software package format used primarily by Debian-based Linux distributions, including Debian itself, Ubuntu, and Elementary OS. It serves as a means of packaging and distributing software applications and libraries for easy installation and management on these Linux systems.
Solution
Let's use Gdebi
.
Gdebi
GDebi is a graphical tool for installing Debian (.deb) packages on Debian-based Linux distributions.
It provides a user-friendly interface for installing software packages in the .deb format, making it easier for users who prefer graphical tools over the command line.
The most important characteristic of gdebi
is Dependency Resolution. GDebi
checks for and installs any missing package dependencies required by the .deb package being installed. This helps ensure that the software functions correctly after installation.
Update the package information
sudo apt update
The sudo apt update command in Linux is used to update the package information for software repositories configured on your system.
Install Gdebi
sudo apt install gdebi
Check installation
Executable path
which gdebi
which gdebi-gtk
Version
gdebi --version
Run
gdebi-gtk
Installation status
dpkg -l | grep gdebi
Install the .deb file
sudo gdebi my_file.deb
Done
Celebrate
You've made it!
Let's become friends
Final thoughts
I hope this article has been helpful to you. Please feel free to reach out if you have any questions. Your thoughts, suggestions, and corrections are more than welcome.
By the way, don't hesitate to drop your suggestions for new blog articles.
I look forward to seeing you next time.