Install and uninstall software in Ubuntu

Source: Internet
Author: User
Common methods for installing and detaching software in Ubuntu 1. software installation and uninstallation: A: RPM Package, which is similar to the windows EXE installation file, various files have been compiled and packaged, and the folder to which the files should be put has been specified, which is very convenient for installation... common methods for installing and detaching software in Ubuntu 1. software installation and uninstallation: A: RPM Package, which is similar to the windows EXE installation file, various files have been compiled and packaged, and the folder to which the files should be put has been specified, which is very convenient for installation. in the graphic interface, you only need to double-click to automatically install the files.
= How to uninstall: 1. open a SHELL Terminal. 2. because the software name in LINUX includes the version number, you are advised to determine the complete 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 any mistakes, * is the wildcard number "*", that is, the asterisk. if you want to find the REALPLAYER software installed in the host, enter: rpm-qa realplay * 3. after finding the software, the display is the full name of the software, such as the firefox-1.0.1-1.3.2 to execute the uninstall command: rpm-e firefox-1.0.1-1.3.2 === installation directory, execute command lookup: rpm-ql firefox-1.0.1-1.3.2 === reference article: http://blog.chinaunix.net/article.p...178&blogId=1438 B: tar.gz (bz or bz2) at the end of the source code package, this package is the source program, no compilation, need to be compiled before installation, the installation method is: www.2cto.com 1. open a SHELL, that is, Terminal 2. run the CD command to enter the directory where the source code compressed package is located. 3. decompress the file based on the compressed 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. enter the compiled file command :. /configure (some compressed packages have been compiled, which can be omitted in this step) 6. run make 7 and install the file command: make install 8. after installation is complete ==== how to uninstall: 1. open a SHELL, that is, Terminal 2. run the CD command to enter the compiled software directory, that is, the directory at the time of installation 3. execute the reverse 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, in. add the parameter -- prefix =/** after the/configure command, for 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 the C: installation package ending with bin, which is similar to the RPM package, installation is also relatively simple 1. open a SHELL, that is, Terminal 2. use the CD command to enter the directory where the source code compressed package is located 3. add executable properties to the file: chmod + x ******. bin (in the middle of the letter x, in lower case) 3. execute the command :. /******. bin (this is the installation package for realplayer for linux) === how to uninstall: delete the installation directory selected during installation. OK www.2cto.com === can be specified during installation, similar to windows installation. 2. how to execute the software after installation. After installing the software, you can run the software in several ways: A. after some software is installed, the shortcut keys are automatically added to the application list. just like windows, you can find the software there. B. If it cannot be found in the application list, you can directly enter the command in the/Start/run Command: The startup command is generally the software name, such as firefox, realplay, c, such as xmms, can also open a shell terminal and enter the software name, the same as in the "run Command. If you do not know the entire command process, you can enter a letter at the beginning and press the tab key to search, the system automatically displays all commands/D that start with an input letter. you can also run the startup file directly in the installation directory, the executable icon in linux is similar to the shell terminal icon E. you can find the installed software startup file in the/usr/bin directory to execute the command. In linux, all executable file commands are enabled in the/usr/bin directory. you can go to the directory to find the startup command for the file you installed and double-click start author yilip.
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.