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