(GO) view installed software with uninstall under Linux

Source: Internet
Author: User

Because Linux installs a lot of software, there is no common way to find out if some software is installed. This is a summary of the following categories:

1, RPM package installed, you can see with RPM-QA, if you want to find a package is installed, with Rpm-qa | grep "The name of the software or package".

[[Email protected] ~] RPM-QA | grep Ruby

2, with the Deb package installed, can be seen with dpkg-l. If you are looking for a specified package, use Dpkg-l | grep "The name of the software or package";

[[Email Protected]~]dpkg-l|grepruby

3, Yum method installed, can be found with the Yum list installed, if it is to find the specified package, command add | grep "software name or package name";

[[Email protected] ~] Yum List installed | grep Ruby

Yum Remove

4, if the source code package to compile their own installation, such as. tar.gz or tar.bz2 form, this can only see if the executable file exists,

Both of the above methods do not see the package installed in this source form. If installed as root, the executable program is usually in the/sbin:/usr/bin directory.

Description: Where RPM Yum is a package management command for Redhat Linux, Dpkg is a Debian Series package management command

Installing and uninstalling Linux software has always been a challenge for many new users. In Windows, we can use the software's own loading or unloading program or add/Remove Programs in the Control Panel. Similarly, there is a powerful software-on-load tool called RPM under Linux. It can be used to establish, install, query, update, uninstall software. The tool is used under the command line. You can get help for this command by entering RPM after the shell prompt.

Uninstalling the Software
1. The uninstallation of the software is mainly done using RPM. To uninstall the software, first know the name of the package registered in the system. Type the command:

#rpm-Q-A

You can query to all packages installed on the current system.

2. Determine the name of the software to be uninstalled, you can begin to actually uninstall the software. Type the following command to uninstall the software:

#rpm-E [package name]

The function of the parameter e is to allow the RPM to enter the Unload mode. Uninstall the package named Packages name. Because of the dependencies between the various packages in the system. If there is a dependency that cannot be uninstalled, RPM will give you a hint and stop uninstalling. You can use the following command to ignore dependencies and start unloading directly:

#rpm-E [package name]-nodeps

Ignoring dependencies may cause other software in the system to become unusable.

Add:

If you are using binary software that ends in. bin, you can install it in the following way (take So-6_0-beta-bin-linux-zh-tw1.bin as an example):

Run the analog terminal in the folder where the So-6_0-beta-bin-linux-zh-tw1.bin is located
Input:
./so-6_0-beta-bin-linux-zh-tw1.bin
and press ENTER!

Of course, you can also enter:
./so re-complete with [Tab] key

(./Indicates the current directory, if the terminal is not open in the directory where the software is located, you will need to enter the appropriate path before the software name.) )

If you are in the graphical interface, you can also click (or double-click, depending on the specific mouse settings) to run the anti-installation program!

(GO) view installed software with uninstall under Linux

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.