How to run the Deb installation package through the command line in Ubuntu

Source: Internet
Author: User

From: http://hi.baidu.com/xiboliya/blog/item/fee581d46cf5e41fa08bb7fb.html

If Ubuntu wants to install new software, the Deb installation package (for example, iptux. Deb) already exists, but cannot log on to the desktop environment. How can I install it? The answer is: run the dpkg command.
The common format of the dpkg command is as follows:
Sudo dpkg-I iptux. Deb # View the detailed information of iptux. Deb software package, including the software name, version, and size (where-I is equivalent to -- INFO)
Sudo dpkg-C iptux. Deb # View the file structure contained in the iptux. Deb Software Package (where-C is equivalent to -- contents)
Sudo dpkg-I iptux. Deb # Install the iptux. Deb package (where-I is equivalent to -- install)
Sudo dpkg-l iptux # View iptux package information (the software name can be viewed using the dpkg-I command, where-L is equivalent to -- List)
Sudo dpkg-l iptux # View all the files installed by the iptux software package (the software name can be viewed using the dpkg-I command, where-L is equivalent to -- listfiles)
Sudo dpkg-s iptux # View the detailed information of the iptux software package (the software name can be viewed using the dpkg-I command, where-S is equivalent to -- Status)
Sudo dpkg-r iptux # Uninstall the iptux software package (the software name can be viewed using the dpkg-I command, where-R is equivalent to -- remove)
Note: The dpkg command cannot automatically resolve the dependency. If the Deb package to be installed has a dependency package, do not use this command or install the dependency package in the order of dependency.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.