$ sudo yum install gcc
Kamis, 12 Desember 2013
Get an error message "No acceptable C compiler found in $PATH" in CentOS
If you attempt to compile an application from source and after you running it you got a message ‘no acceptable C compiler found in $PATH’ on your CentOS system, just run:
:)
Minggu, 08 Desember 2013
Install LINE messenger on CentOS 6 using WINEHQ
Here I wanna tell you about how to install LINE messenger on your CentOS 6 or maybe it can be followed for another linux distribution. I'll only show you the simple way to do it. Somethings that you have to do is that you must have wine in your system and LINE folder from your windows applications installation folder.
It's just simple right? So, first you have to install your wine.
For CentOS / RHEL family
$ sudo yum install wine
or for debian family$ sudo apt-get install wine
Then copy your LINE installation folder from your windows into wine directory application folder in your home folder in your linux. Usually it's located in $ /home
Just copy your LINE folder into that directory.
Here my windows installation applications folder.
And copy to this folder $ /home
Finally, if you wanna to run the LINE using terminal just type $ wine /home
or you can find the icon from your KDE menu if you'are using KDE. If there's no icon or menu in you KDE menu just add it manually by running $ kmenuedit
Sabtu, 07 Desember 2013
Getting Error When Running Adobe Reader 9.5.5 on 64 bit CentOS
After you installed AdbeRdr9.5.5-1_i486linux_enu.bin on CentOS / RHEL 6 but you get an error when you want to run it. To show the error open terminal and run acroread and the terminal will displays a series of missing libraries and modules.
The problem is your system doesn't have libxml2 32-bit and you have install it on your 64 bit system.
Follow the yum install commands below to get it working:
Firstly, you can check your repository, and must have libxml2.i686.
Then, if libxml2.i686 is available in your repository just install it using command below:
Finally, In Sha Allah you can run the acroread to open the Acrobat Reader.
:)
$ acroread
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
The problem is your system doesn't have libxml2 32-bit and you have install it on your 64 bit system.
Follow the yum install commands below to get it working:
Firstly, you can check your repository, and must have libxml2.i686.
$ sudo yum search libxml2 Loaded plugins: fastestmirror, priorities, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirror01.idc.hinet.net * centosplus: mirror01.idc.hinet.net * contrib: mirror01.idc.hinet.net * epel: mirror01.idc.hinet.net * extras: mirror01.idc.hinet.net * jpackage: mirrors.dotsrc.org * rpmforge: ftp.riken.jp * rpmforge-extras: ftp.riken.jp * updates: mirror01.idc.hinet.net * webtatic: us-east.repo.webtatic.com 478 packages excluded due to repository priority protections ============================= N/S Matched: libxml2 ============================= libxml2-python.x86_64 : Python bindings for the libxml2 library libxml2-static.x86_64 : Static library for libxml2 mingw32-libxml2.noarch : MinGW Windows libxml2 XML processing library libxml++.i686 : C++ wrapper for the libxml2 XML parser library libxml++.x86_64 : C++ wrapper for the libxml2 XML parser library libxml2.i686 : Library providing XML and HTML support libxml2.x86_64 : Library providing XML and HTML support libxml2-devel.i686 : Libraries, includes, etc. to develop XML and HTML : applications libxml2-devel.x86_64 : Libraries, includes, etc. to develop XML and HTML : applications mingw32-libxml2-static.noarch : Static version of the MinGW Windows XML : processing library perl-XML-LibXML.x86_64 : Perl interface to the libxml2 library python-lxml.x86_64 : ElementTree-like Python bindings for libxml2 and libxslt Name and summary matches only, use "search all" for everything.
Then, if libxml2.i686 is available in your repository just install it using command below:
$ sudo yum install libxml2.i686 Loaded plugins: fastestmirror, priorities, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirror01.idc.hinet.net * centosplus: mirror01.idc.hinet.net * contrib: mirror01.idc.hinet.net * epel: mirror01.idc.hinet.net * extras: mirror01.idc.hinet.net * jpackage: mirrors.dotsrc.org * rpmforge: ftp.riken.jp * rpmforge-extras: ftp.riken.jp * updates: mirror01.idc.hinet.net * webtatic: us-east.repo.webtatic.com 478 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package libxml2.i686 0:2.7.6-14.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libxml2 i686 2.7.6-14.el6 base 800 k Transaction Summary ================================================================================ Install 1 Package(s) Total size: 800 k Installed size: 1.7 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libxml2-2.7.6-14.el6.i686 1/1 Verifying : libxml2-2.7.6-14.el6.i686 1/1 Installed: libxml2.i686 0:2.7.6-14.el6 Complete! [samsul@d1-0326-5 Downloads]$ sudo ./AdbeRdr9.5.5-1_i486linux_enu.bin Extracting files, please wait. (This may take a while depending on the configuration of your machine) This installation requires 136 MB of free disk space. Enter installation directory for Adobe Reader 9.5.5 [/opt] /opt Installing platform independent files ... Done Installing platform dependent files ... Done Setting up libraries ... Done Setting up desktop and menu icons ... Done Setting up the browser plugin ... Done
Finally, In Sha Allah you can run the acroread to open the Acrobat Reader.
:)
Langganan:
Postingan (Atom)