Install software in various formats and common commands in ubuntu

Source: Internet
Author: User
In ubuntu software installation of various formats and commonly used commands Ubuntu software installation methods: www.2cto.com (1). bundle format to VMware-Workstation-Full-7.0.0-203739.i386.bundle as an example of the command is as follows: sudoshVMware-Workstation-7.0.0-2...
Install software in various formats and common commands in ubuntu: www.2cto.com (1 ). bundle format take VMware-Workstation-Full-7.0.0-203739.i386.bundle as an example command: sudo sh VMware-Workstation-7.0.0-203739.i386.bundle (first switch to the folder where the file is located) (2 ). deb is the most commonly used deb package, deb is the Linux package management method of the debian series, and ubuntu is derived from debian. Suffix. deb is a package encapsulation format provided by Debain Linux. after downloading the software in deb format, you can directly install it on the interface (or run the ubuntu Software Center to open the installation ), you can also use the dpkg command. (32.16.tar.gz archive package source code compilation and installation, many software will provide the source code to the end user, the user needs to compile and install. The suffix is .tar.gz?tar.z=tar.bz2 or. tgz is packaged using the Unix packaging tool tar. first, extract the source code to a directory using tar, then enter the directory, and execute the following three commands :. /configure # Configuration # make # Call make # sudo make install # install source code # After the execution is complete, you can compile and install the software. make clean # Delete the temporary files generated during installation #(4 ). rpm apt-get installation method. APT is the software package manager of Debian and its derivative releases. APT can automatically download, configure, and install software packages in binary or source code format, therefore, the process of managing software on Unix systems is simplified. Suffix. rpm was originally a package encapsulation format provided by Red Hat Linux. Currently, many Linux distributions use the Ubuntu package format deb. if you want to install the rpm Package, then, use alien to convert rpm to deb. sudo apt-get install alien # alien is not installed by default, so install it first # sudo alien xxxx. rpm # Convert rpm to deb. after the conversion is completed, a xxxx with the same name will be generated. deb # sudo dpkg-I xxxx. deb # installation (5 ). the bin suffix is. bin is usually some commercial software sudo chmod + x *. run the sudo command in bin. /*. bin common commands: sudo apt-get install softname # install software # sudo apt-get remove softname # uninstall software # sudo apt-get remove-purge softname # Uninstall and clear configuration # sudo apt-get update # update the software information database # sudo apt-get upgrade # upgrade the system # sudo apt-cache search softname # search software package # deb software package: dpkg-I xxx. deb # installation package # dpkg-r xxx. deb # delete a software package # dpkg-r-purge xxx. deb # Delete it together with the configuration file # dpkg-info xxx. deb # View package information # dpkg-L xxx. deb # View file copy details # dpkg-l # View installed software packages in the system # dpkg-reconfigure xxx # reconfigure the software package #
Related Article

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.