Linux. How to install and uninstall the .run file

  

The installation of the .run file is very simple, you only need to add executable properties to the file, you can perform the installation

to the virtualbox installation file virtualbox-3.1. For example, 6-59338-Linux_x86.run, you only need to enter the command:

chmod +x virtualBox-3.1.6-59338-Linux_x86.run

./virtualbox-3.1.6-59338 -Linux_x86.run

to install.

The method of uninstalling is quite different on the Internet:

One is to use sh virtualbox-3.1.6-59338-Linux_x86.run --uninstall, but for my virtualbox installation The file does not work

The other is to enter the installation directory, there is an uninstall file, you can uninstall it by typing ./uninstall, but I don't know where to install it

So I will use Locate virtualbox |  Grep uninstall Find this file, execute ./uninstall and ok

Here are other users' supplements:

For example, install QT programming software

Installation method is as follows

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

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

After the QT installation visual interface

can be used after installation, chmod is actually a permission command. +x means you can execute

chmod [-cfvR] [--help] [--version] mode file...

Description: Linux/Unix file access permissions are divided into three levels : File owners, groups, and others. Use chmod to control how files are called by others.

Parameters:

mode : The permission setting string has the following format: [ugoa...][[+-=][rwxX]...][,...] , where

u indicates the owner of the file, g indicates that the owner of the file belongs to the same group, o indicates someone other than the person, and a indicates that all three are.

+ means to increase the permission, - to cancel the permission, and = to uniquely set the permission.

r means readable, w means writable, x means executable, X means that only if the file is a subdirectory or the file has been set to be executable.

-c : If the file permissions have indeed changed, the change action is displayed

-f : Do not display the error message if the file permissions cannot be changed

- v : Display details of permission changes

-R : Make the same permission changes for all files and subdirectories in the current directory (ie, change them one by one)

-- Help : show help instructions

--version : show version linux

Copyright © Windows knowledge All Rights Reserved