Install common tools in Ubuntu (virtualbox/ctags/beyond compare/source Insight/ADB)

Source: Internet
Author: User

1. virtualbox + WINXP // Virtual Machine Software

Environment: ubuntu10.04 64bit + virtualbox 3.1.8 + WINXP 32bit

1) official download of https://www.virtualbox.org corresponding Ubuntu version

2) Application-> System Tools, open virtualbox, select a new version to install WINXP, and install WINXP on a CD or image file.

3) install the enhancement component in the device menu of the virtual machine.

4) file sharing Function settings: virtualbox provides the built-in shared file function. In the settings, select share, add a fixed shared file, enter the name, start the client, and open my computer, select "tool"-" ing network drive"
Enter \ vboxsvr \ XXX (XXX is the name of the shared folder I just created) in the folder. After clicking finish, we can use this shared folder on my computer just like a local disk.

2. ctags //Ctags(Generate tag files for source code) is a tool that facilitates code reading in vim.

Sudo apt-Get install ctags

3. Install beyond compare

Decompress the package to the/usr/lib32/beyondcompare directory and run./install. Sh.
Cracking:
Bcompare 3.1.11 Linux Code Generator
1) Put the bcompare file in the software package in the same directory as the keygen. bcompare is usually under/usr/lib32/beyondcompare.
2) Run keygen and follow the prompts to generate a new bcompare and a registration code.

3) Run beyondcompare and enter the registration code.

The following error occurs:

Error while loading shared libraries: libqtc. so.1: cannot open shared object file: no such file or directory

Solution:

Copy libqtc. so.1 and libqt-mt.so.3 to/usr/local/lib.
Terminal input:

Sudo CP/your_bcompare_path/libqtc. so.1/usr/local/lib/

Sudo CP/your_bcompare_path/libqt-mt.so.3/usr/local/lib/

Modify the so configuration path
Terminal Input

Sudo gedit/etc/lD. So. conf

Add at the end of the file:
Include/usr/local/lib
Save and close. Enter the following information on the terminal:

Sudo/sbin/ldconfig-V
The purpose is to update the configuration file.

4. Source insight

In ubuntu, install Windows program with wine, and then use wine to install Windows software.

Install wine

Enter the following command on the terminal:

Sudo apt-Get install wine

Install source insight with wine

Enter the following command in the terminal:

Wine ~ /Sourceinsight/insightsetup.exe

Note: The installation package of sourceinsight must be downloaded by yourself, which is the same as that of windows.

Open:

Installation path :~ /. Wine/drive_c/program files/source insight 3

Open the program via wine: wine insight3.exe

Choose wine> Programs> source insight3> source insight 3.5.

5. ADB

First you need to download the ADB for Linux Toolkit: platform-tools-linux.tar.gz, unzip to how directory, and then create and edit a file:

Sudo VI/etc/udev/rules. d/70-android.rules

If your system is 10.10 or 11.04 (11.10 is not tested), write the following sentence:

Subsystem = "USB", ATTR {idvendor} = "04e8", mode = "0666 ″

If your system version is 10.04, change it to the following sentence:

Subsystem = "USB", sysfs {idvendor} = "04e8", mode = "0666 ″

Save and exit, and then set the permission.

sudo chmod a+rx /etc/udev/rules.d/70-android.rules

You need to edit it later ~ /Add the bashrc file to the ADB Tool Path

vi ~/.bashrc

Add at the end. The red part is the decompressed path of the downloaded toolkit.

Export path =$ {path}:/XXX/platform-Tools

Now you need to restart your Ubuntu and connect the USB to your mobile phone to make sure that the USB debugging is enabled. Enter ADB start-server under the terminal to open the service. If everything is normal, enter: ADB devices displays the Android device currently connected to the computer.

Problem: Error: insufficient permissions for Device
$ Sudo-S
Sudo-s: The shell specified by the shell in the execution environment variable, or the shell specified in/etc/passwd
That is, sudo/bin/bash
$ ADB kill-Server
$ ADB start-Server
* Daemon not running. Starting it now *
* Daemon started successfully *
$ Exit
Exit
$ ADB Shell

6. meld

sudo apt-get install meld

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.