Use the Chat "Line" protocol in Pidgin for Linux Mint 17 Qiana

First of all LINE is an instant messaging application for cell phones (iPhone, Android, Windows Phone, Firefox OS, among others) that can also be installed on Windows and Mac. Here I will show you how to install purple-line un Plugin from third parties for Pidgin (multiprotocol messaging client) in Linux Mint 17  (According to the creator's page, the plugin was tested on Ubuntu and Arch Linux).

Obviously if we don't have Pidgin installed, install it

$ sudo apt-get install pidgin

Before downloading the Plugin from the Creator We must have 3 things: libpurple (which is installed when installing pidgin), the apache thrift compiler and the line_main.thrift file (which is downloaded from the same plugin page)

Installing Thrift

The compiler is available in the Ubuntu repositories, but the author suggests compiling it from source code, which I empirically verified that this is how it has to be, therefore, let's get to work:

1.- Install dependencies

$ sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev

2.- Download and unzip

We will use version 0.9.1
$ wget http://www.bizdirusa.com/mirrors/apache/thrift/0.9.1/thrift-0.9.1.tar.gz

$ tar -xvf thrift-0.9.1.tar.gz

3.- Configure and Make install

First access the folder
$ cd thrift-0.9.1
$ ./configure

Verify that at the terminal exit it says Building C ++ Library ………: yes, and then

$ make

$ sudo make install

Once Thrift is installed, we will now download the plugin.

Downloading and installing the Pidgin plugin

Warning, this is unfinished software! This plugin is still under development and many things remain unstable or unenforceable.

Download from here

purple line

and unzip.

The file was downloaded to me purple-line-04279d7.tar.gz In the address book ~ / Downloads, then to unzip

$ tar -xvf purple-line-04279d7.tar.gz

Now we will download line-protocol which contains the file line_main.thrift what do we need

line-protocol

Once downloaded line protocol, unzip it and the archive line_main.thrift copy it to the folder purple line

Now, enter the folder purple line and perform a make-install
$ make

$ make install

Now, in theory everything should be OK. Have created and copied the file libline.so a ~ / .purple / plugins , with which we can now add an account with the LINE protocol in Pidgin …… ..

but….

In my case it was not like that, there was a library of the thrift package that did not load in the system (I realized this since I placed debug window in pidgin when loading the plugins) and therefore the plugin didn't work for me, it was precisely the library libthrift-0.9.1.so . To correct this problem, the first thing we do is a search for the library in question with the command

$ sudo find / -name libthrift-0.9.1.so

which in my case gave 2 results:
1.- /usr/local/lib/libthrift-0.9.1.so
2.- ~ / Downloads / thrift-0.9.1 / lib / cpp / .libs / libthrift-0.9.1.so

The first address that it returns is the location of the library that we need since the second corresponds to the file that we downloaded. To add the environment variable permanently to the system what we do is add the address / Usr / local / lib a / etc / environment, we do this with the command

$ sudo echo 'LD_LIBRARY_PATH="/usr/local/lib/"' >> /etc/environment

Now we load the environment variable.

source /etc/environment

And with this we can now use the LINE protocol in Pidgin.

Greetings friends


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Dark purple said

    Let's see if they take it out for KDE Telepathy.

    1.    Jorge said

      Or for Kopete. It takes enough.

    2.    Mr Boat said

      Damn, I tell you, Pidgin is great, but as a KDE fan that I am, it's really annoying that there isn't an alternative to that plugin.

      Does anyone know of any alternative in KDE?

      1.    babel said

        I use KDE and I use Pidgin anyway. The truth kopete, telepathy or anything else is very, very far away.

  2.   mat1986 said

    Wow that is a somewhat laborious process. I would like to try it, but I have no contacts that use Line ... damn whatsapp !! 🙁

    Thanks for the tutorial 🙂

  3.   nobody said

    I do not know anyone who uses line or telegram, the only thing that people know is facebook and whatsupp 🙁 by the way here is an article on how to connect with pidgin and that method worked again

  4.   Two said

    D images are required:

  5.   Sergio said

    You have been great, I would also like to write articles and make them look great 🙂

  6.   Wisp said

    It is indeed in beta phase but it is preferable to compile the protocol than to emulate the LINE application with Wine for Windowslerdos.

    1.    eliotime3000 said

      That same. Since I hate using Wine on Linux, I refrain from using it and making my partition useful with Windows.

  7.   anonymous said

    Better use XMPP / Jabber and stop supporting those closed silos.

    1.    eliotime3000 said

      The main problem is that said protocol has not been properly promoted to the general public, making the social experience with said protocol unbearable.

      At best, try Telegram. I already have my family members added to said instant messaging service.

  8.   robert said

    mmmm, in widnows 8, the LINE application is in the metro interface, and nobody uses it because it is heavy and not stable.

    1.    eliotime3000 said

      Line is also in a version for Windows 7 as if it were a Windows Live Messenger window. I have this version installed on my partition with Windows 8 that is on my netbook, which I use because the touch application mode does not work due to the screen resolution of my netbook.

  9.   fernando said

    Hello everyone. Well, it turns out that when I try to download the purple-line it tells me that nanai from china so my joy in a well although it is true that few people use the Line and if I use WhatsApp a little, you will tell me this. But I like to experience all these things. Then I complain that Ubuntu loads a little slow.

    1.    Cristian said

      the link works when you want: v

  10.   cristian said

    I want to cry, applause
    I was looking forward to this solution ...

    I had simply stopped trying to use line on linux and had used the little program on windows or on my smartphone, and wine was never a valid alternative for me

  11.   koprotk said

    I am very sorry not to have attended to the comments before, I will review the links and fix them in case they are broken, but in the meantime you can download the plugin and LINE-protocol from here: http://altrepo.eu/git/

  12.   Chaparral said

    Well I have not had any problem following the author's guide step by step, for which I thank him. Only and in the last command I had to do it as root ($ sudo echo 'LD_LIBRARY_PATH = »/ usr / local / lib /»' >> / etc / environment) since it did not give me permission.
    A greeting.

  13.   Hugo said

    How interesting, thank you.

  14.   rotietip said

    Any plugin to do the same with Who? I have a "friend" who uses that application on her smartphone, but unlike Line, there are no clients for PC and the truth is that I am very lazy to install an Android emulator for something that I will surely use from time to time.

  15.   George said

    Hello,
    I have installed the plugin, but now how do I create the account in Pidgin?
    In the list of protocols, I don't see any with Line identifier.
    Thank you very much.

    1.    Koprotk said

      If the library was compiled into your home directory, you may not have loaded the libraries. What you can do to know what is happening is open a debugging window in pidgin and then access the plugins window and check the errors.

  16.   Francis Capote said

    Any way to make it work on Arch linux ??

    1.    koprotk said

      Sorry for the delay, but if you can, I recently switched from Mint to ArchLinux and purple-line and thrift is in the AUR repositories, because you can install both even easier with yaourt.

      regards

  17.   Edward said

    Friend, when I try to download the purple line, it asks me for a username and password. which??

    1.    Koprotk said

      Strange, but you can google purple LINE, in this article you will also find the pages where the downloads are.

      regards