in , ,

How To CLI Install Local DEB Debian Package On Ubuntu Linux

Install deb package on Ubuntu Linux

Over VPS or Remote Console!? to install a local .deb Debian package on Ubuntu Linux using CLI, you can use one of the following tools.

But anyway, it's better to update Ubuntu before installing a new .deb package as following

# apt update
# apt upgrade

CLI Install Local DEB Debian Package

1- Using apt command

# apt install /path/to/debian_package_name.deb

And to uninstall a package

# apt remove debian_package_name

Or to uninstall the package and remove its configuration files too.

# apt remove --purge debian_package_name

2- using dpkg command

# dpkg -i /path/to/debian_package.deb

And to uninstall a package you can use

# dpkg -r debian_package_name

Or to uninstall the package and remove its configuration files too.

# dpkg --purge debian_package_name

What if you get a broken dependencies issue while trying to install a Debian package!?..

Run the commands

# apt install -f
# apt upgrade -f
# apt dist-upgrade -f

Then update and upgrade Ubuntu, and try installing your package again.

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

      Open Speed Test Self-Hosted

      Build Your Linux Internet Speed Test Server In Simple 5 Steps

      install and configure elite squid proxy server

      Install And Configure High Anonymous Squid Proxy Server In Simple 4 Steps