Several formats of software installation in ubuntu.dev,rpm,bin,tar.gz

Source: Internet
Author: User

A few terms I have never understood.ArticleIt will be used at last, haha ~

For details about how to install these software, see container and bin.

A: Deb packageThis is the easiest way. If it is Ubuntu, it is like Windows. Double-click it and continue next. What if it's not Ubuntu?

Install software package
Sudo dpkg-I package name. Deb
Uninstall the. Deb file. You can use adept or enter:
Sudo apt-Get remove package name
B: rpm packageThis software package is similar to the Windows EXE Installation File. All the files have been compiled and packaged, And the folder to which the files should be put is specified, which is very convenient to install, in the graphic interface, you only need to double-click to automatically install.
= How to uninstall:
1. Open a shell Terminal
2. Because all software names in Linux contain version numbers, you are advised to determine the full name of the software before uninstalling it.
Find the RPM package software: rpm-Qa ××× *
Note: ××× refers to the several letters starting with the software name. It is not required to be fully written, but do not make a mistake. * is the wildcard number "*", that is, the asterisk, if you want to find the RealPlayer software installed on the machine, enter: rpm-Qa realplay *
3, find the software, shows the complete name of the software, such as firefox-1.0.1-1.3.2
Run the uninstall command: rpm-e firefox-1.0.1-1.3.2
=== Installation directory, execute command Look: rpm-QL firefox-1.0.1-1.3.2
=== Reference: http://blog.chinaunix.net/article.p... 178 & blogid = 1438

C: tar.gz (BZ or bz2) Source Code package , the software package contains the source Program . It has not been compiled and must be compiled before installation. The installation method is as follows:
1. Open a shell, terminal
2. Run the CD command to enter the directory where the Code package is located.
3. decompress the file according to the package type (* Indicates the compressed package name)
tar-zxvf ***** .tar.gz
tar-jxvf ****. tar. BZ (or bz2)
4. Run the CD command to enter the decompressed directory
5. Run the following command to compile the file :. /configure (some pressure The package has been compiled, which can be omitted in this step)
6. Then run the command: Make
7. Then run the installation file command: make install
8. After installation is complete
== how to uninstall:
1. Open a shell, terminal
2. Run the CD command to enter the compiled software directory, that is, the directory during installation.
3. Run the anti-installation command: make uninstall
== installation directory: Pay attention to the installation directory during the make install command process, or read the README file in the installation directory, of course, the best way is to specify the installation directory during the installation process, that is, in. the/configure command is followed by the parameter-Prefix =/**.
example :. /configure-Prefix =/usr/local/AAAA, that is, install the software in the AAAA directory of the/usr/local/path. The default installation directory of common software is/usr/local or/OPT. You can find it there.

D: Installation Package ending with Bin . This package is similar to an RPM package, installation is also relatively simple
1. Open a shell, terminal
2. Run the CD command to enter the directory where the source code package is located
3. Add the executable attribute to the file: chmod + x ******. bin (in the middle of the letter X, in lower case)
3. Run the following command :. /******. bin (this is the installation package for RealPlayer for Linux)
== how to uninstall: delete the selected installation directory during installation.
== you can specify the directory during installation, similar to Windows installation.

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.