Install and use the Linux GUI serial port debugging tool xgcom

Source: Internet
Author: User
Tags automake

Installation:

 

First, install the required libraries for compilation:

Some lib and tools are needed:
Make, automake, libglib2.0-Dev, libvte-Dev, libgtk2.0-Dev

 

Such:

ZYX @ ZYX-desktop :~ $ Sudo apt-Get install make automake libglib2.0-dev libvte-dev libgtk2.0-Dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Make is already the newest version.
Automake is already the newest version.
Libglib2.0-Dev is already the newest version.
Libglib2.0-dev set to manually installed.
Libvte-Dev is already the newest version.
Libgtk2.0-Dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
ZYX @ ZYX-desktop :~ $

1. Download source code

 

Downloads: http://code.google.com/p/xgcom/ on the left

 

2. Open a terminal and run the CD command to accessSource codeDirectory of the compressed package

 

ZYX @ ZYX-desktop:/$ CD/home/ZYX/desktop/
ZYX @ ZYX-desktop :~ /Desktop $ ls
Xgcom.0.04.1.tgz
ZYX @ ZYX-desktop :~ /Desktop $

 

3. Extract the sourceCode

Decompress the file based on the package type (* indicates the package name)

Tar-zxvf ***** .tar.gz

Tar-jxvf ****. Tar. BZ (or bz2)

Such:

ZYX @ ZYX-desktop :~ /Desktop $ tar-zxvf xgcom.0.04.1.tgz
Xgcom.0.04.1/
Xgcom.0.04.1/pixmaps/
.....................
Xgcom.0.04.1/po/
Xgcom.0.04.1/po/potfiles. In
Xgcom.0.04.1/po/changelog
Xgcom.0.04.1/po/makefile. in. In
Xgcom.0.04.1/configure
Xgcom.0.04.1/makefile. AM
ZYX @ ZYX-desktop :~ /Desktop $

 

4. Run the CD command to enter the decompressed directory.

 

ZYX @ ZYX-desktop :~ /Desktop $ CD xgcom.0.04.1/
ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $

 

5. Enter the command to compile the file:./configure

Such:

ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $./configure
Checking for a BSD-compatible install.../usr/bin/install-C
Checking whether build environment is sane... yes
...................
Config. Status: Creating config. h
Config. Status: executing depfiles commands
Config. Status: executing default-1 commands
ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $

 

6. Compile and run the command: Make

Such:

 

ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $ make
Make all-recursive
Make [1]: Entering directory '/home/ZYX/desktop/xgcom.0.04.1'
Making all in SRC
Make [2]: Entering directory '/home/ZYX/desktop/xgcom.0.04.1/src'
................

Make [2]: Leaving directory '/home/ZYX/desktop/xgcom.0.04.1'
Make [1]: Leaving directory '/home/ZYX/desktop/xgcom.0.04.1'
ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $

7. Run the "sudo make install" command to install the file.

Such:

ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $ make install
Making Install in SRC
Make [1]: Entering directory '/home/ZYX/desktop/xgcom.0.04.1/src'
Make [2]: Entering directory '/home/ZYX/desktop/xgcom.0.04.1/src'
............
Make [1]: Leaving directory '/home/ZYX/desktop/xgcom.0.04.1'
ZYX @ ZYX-desktop :~ /Desktop/xgcom.0.04.1 $

 

8. installation is complete.

 

 

Uninstall:

1. Open a shell, that is, the terminal

2. Run the CD command to enter the compiled software directory, that is, the installation directory.

3. Run the "sudo make Uninstall" command.

 

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.