How to install and uninstall the. Run file under Linux

Source: Internet
Author: User
Tags chmod file permissions

the installation of the. Run file is simple, and you can perform the installation simply by adding an executable property to the file

Take the VirtualBox installation file Virtualbox-3.1.6-59338-linux_x86.run as an example, just enter the command:

chmod +x Virtualbox-3.1.6-59338-linux_x86.run

./virtualbox-3.1.6-59338-linux_x86.run

can be installed.

The method of unloading on the internet is large to two types:

One is to say with SH virtualbox-3.1.6-59338-linux_x86.run--uninstall, but for me this VirtualBox installation file is not workable

The other is said to enter the installation directory, there is a uninstall file, input./uninstall can uninstall, but do not know where to install

So I used locate VirtualBox | grep Uninstall Find this file, execute./uninstall's OK.

The following are the other users to add:

such as the installation of QT programming software

The installation method is as follows

Command first step: chmod +x Qt-unified-linux-x64-2.0.2-2-online.run

Command Step two:./qt-unified-linux-x64-2.0.2-2-online.run

And then there's the visual interface of Qt installation.

After the installation can be used, chmod is actually a permission command. +x says you can perform

chmod [-CFVR] [--help] [--version] Mode file ...

Description: Linux/unix file invocation rights are divided into three levels: file owners, groups, others. The use of chmod can be used to control how files are invoked by others.

Parameters:

Mode: Permission set string, the format is as follows: [Ugoa ...] [[+-=][RWXX] ...] [,...], where

U denotes the owner of the file, G means that the owner of the file belongs to the same group (group), and O means the other person, a means all three.

+ means to increase permissions,-to indicate cancellation rights, = to represent a unique set of permissions.

R means readable, W is writable, X is executable, x means only if the file is a subdirectory or the file has been set to executable.

-C: Display the change action if the file permissions have actually changed

-F: Do not display error messages if the file permissions cannot be changed

-V: Show details of permission changes

-r: The same permission changes are made to all files under the current directory and subdirectories (that is, to be changed one at a time)

--HELP: Show Auxiliary Instructions

--version: Show Version Linux

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.