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.