If Ubuntu installs new software, it already has a Deb installation package (for example: Iptux.deb), but cannot log on to the desktop environment. How do I install it? The answer is: Use the dpkg command.
The common format of the dpkg command is as follows:
sudo dpkg-i iptux.deb# View details of the Iptux.deb package, including software name, version, and size (where-I is equivalent to--info)
sudo dpkg-c iptux.deb# View the file structure included in the Iptux.deb package (where-C is equivalent to--contents)
sudo dpkg-i iptux.deb# Installing the Iptux.deb package (where-I is equivalent to--install)
sudo dpkg-l iptux# View information for Iptux packages (software names can be viewed through dpkg-i commands, where-L is equivalent to--list)
sudo dpkg-l iptux# View all files installed by the Iptux package (software name can be viewed by Dpkg-i command, where-L is equivalent to--listfiles)
sudo dpkg-s iptux# View details of the Iptux package (software name can be viewed through the dpkg-i command, where-S is equivalent to--status)
sudo dpkg-r iptux# uninstall Iptux software package (software name can be viewed by Dpkg-i command, where-R is equivalent to--remove)
Note: The dpkg command does not automatically resolve dependencies. If you install a Deb package that has a dependent package, you should avoid using this command, or install the dependent package in a dependency order.
Ubuntu to install new software, already have the Deb install package