Installation method of 3.linux common software

Source: Internet
Author: User
Tags gz file

The software on Linux is not as easy as running the installation directly on Windows, there are many different installation packages on Linux, and it is probably common that Deb, tar.gz, Tar.bz (tar.bz2), RPM and other types of files

1.deb File installation method ( The common format for the dpkg command is as follows:)

sudo dpkg-i linuxidc.deb# View details of the Linuxidc.deb package, including software name, version, and size (where-I is equivalent to--info)

sudo dpkg-c linuxidc.deb# View the file structure contained in the Linuxidc.deb package (where-C is equivalent to--contents)

sudo dpkg-i linuxidc.deb# Install the Linuxidc.deb package (where-I is equivalent to--install) # generally install it directly with this command

sudo dpkg-l linuxidc# View information about the LINUXIDC package (software name can be viewed through the dpkg-i command, where-L is equivalent to--list)

sudo dpkg-l linuxidc# View all files installed by the LINUXIDC package (software name can be viewed through the dpkg-i command, where-L is equivalent to--listfiles)

sudo dpkg-s linuxidc# View the details of the LINUXIDC package (the software name can be viewed through the dpkg-i command, where-S is equivalent to--status)

sudo dpkg-r linuxidc# uninstall LINUXIDC software package (software name can be dpkg- I command view, 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.

sudo apt-get install [softwarename] to install files that already exist in the source, or to download the Deb Software installation package yourself can also be forced to install (automatically update dependent packages)

2.tar.gz File Installation

The installation of the tar.gz file is the way to compile the source code yourself. To say a word, tar is to make a file into a package, not compressed; GZ is a. tar file that is compressed with gzip, so it becomes a. tar.gz file. If installed, unpack first, TAR-ZXVF xxx.tar.gz, run./configure--help get help, like./configure--prefix=/usr/local/xxx, generates a makefile file, Run make to complete the compilation. Make install is good, anti-installation is make uninstall.

Tip: If there is no configure folder then find the Bin folder and find the soft.sh file with./soft.sh Execution software

3.TAR.BZ (TAR.BZ2)

This kind of software directly in the terminal to perform the decompression command and then find a shortcut to install.

TAR-XJVF Firefox-latest. tar.bz2

You can refer to the following (Install the Chinese version of Firefox)

How to install 3.linux common software

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.