Install PC Connectivity on a 64 bit host

(sbrsh/sbrshd are available in repositories of recent ubuntu/debian x86-64)
(Step 4: You're on your own: yes you need lib32 for running 32-bit apps in a 64-bit environment, they can't use 64-bit libs)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
-
This short wiki page describes the personal experience of installing PC Connectivity (the "Host part") on my 64bit Linux Box.
+
Here is how to install PC Connectivity (the "Host part") on a 64bit Linux Box.
-
'''From the title it sounds more complicated than it actually is.'''
+
== Precondition ==
== Precondition ==
-
* A Linux Box with Debian/Ubuntu at 64bit. If you have a 32bit one, you should ask yourself why are you here in the first place.
+
* A Linux Box with Debian/Ubuntu at 64bit.
* You need to be a bit more than a newbie: I'm not going to describe you what to do command by command.
* You need to be a bit more than a newbie: I'm not going to describe you what to do command by command.
-
== How to ==
+
== Step 1: The easy part ==
-
=== Step 1: looks easy in the beginning===
+
-
# Follow the instruction at http://pc-connectivity.garage.maemo.org/2nd_edition/installation.html to install the "Tablet part"
+
-
# Stop right there.
+
-
=== Step 2: why it's not easy ===
+
Follow the instructions on [http://pc-connectivity.garage.maemo.org/2nd_edition/installation.html the PC connectivity install page] to install the "Tablet part"
-
If you try to add the repository for the "Host part" at your <code>/etc/apt/sources.list</code> and run a <code>$ sudo apt-get update</code>, you will see the problem. Your Linux box is naturally looking for the 64bit packages. That are not available.
+
-
But, your machine can actually run 32bit code: you just need some more "hand work".
 
-
=== Step 3: looks like I'm helping you ===
+
== Step 2: The not so easy part ==
 +
 
 +
If you try to add the repository for the "Host part" to your <code>/etc/apt/sources.list</code> and run <code>$ sudo apt-get update</code>, you will see the problem. Your Linux box is naturally looking for the 64bit packages, which are not available.
 +
 
 +
But your machine can actually run 32bit code: you just need some more "hand work".
 +
 
 +
== Step 3: Looks like I'm helping you ==
 +
 
# Install <code>filezilla</code>, <code>ssh</code>, <code>ia32-libs</code>, <code>sbrsh</code>, and <code>sbrshd</code>
# Install <code>filezilla</code>, <code>ssh</code>, <code>ia32-libs</code>, <code>sbrsh</code>, and <code>sbrshd</code>
-
# Download from http://pc-connectivity.garage.maemo.org/repository/pool/intrepid/main/: <code>host-pc-connectivity_0.6_all.deb ssh-key-exchange_0.1_all.deb</code>
+
# Download from [http://pc-connectivity.garage.maemo.org/repository/pool/intrepid/main/ the PC connectivity repository]: <code>host-pc-connectivity_0.6_all.deb ssh-key-exchange_0.1_all.deb</code>
# Install one by one the files you just downloaded with <code>dpkg -i --force-architecture PACKAGE_FILENAME</code>
# Install one by one the files you just downloaded with <code>dpkg -i --force-architecture PACKAGE_FILENAME</code>
-
=== Step 4: but then I abandon you to yourself ===
+
=== Step 4: You're on your own ===
-
100% of the time what will happen is that you are going to receive messages about unfulfilled dependencies. '''DON'T PANIC''': just install what you are asked and install the package again.
+
 
 +
100% of the time what will happen is that you are going to receive messages about unfulfilled dependencies. '''DON'T PANIC''': install what you are asked and install the package again. If you're experiencing issues, you may want to install the 32-bit library counterparts of the original dependencies.
Do this "try and catch" process, until you don't have any other error and everything installs fine.
Do this "try and catch" process, until you don't have any other error and everything installs fine.
-
I know, I know. you would have prefered the commands to type one after another one. But it's hard to predict what software you have already installed on your machine, so the "''dependencies resolution''" is something you need to do yourself.
+
Since "''dependencies resolution''" depends on what you already have installed on your machine, following the dependency chain is something you'll need to do for yourself.
Enjoy! ;-)
Enjoy! ;-)
-
[[Category:Development]]
+
 
 +
[[Category:Power users]]
 +
[[Category:HowTo]]

Latest revision as of 11:55, 15 March 2010

Here is how to install PC Connectivity (the "Host part") on a 64bit Linux Box.

Contents

[edit] Precondition

  • A Linux Box with Debian/Ubuntu at 64bit.
  • You need to be a bit more than a newbie: I'm not going to describe you what to do command by command.

[edit] Step 1: The easy part

Follow the instructions on the PC connectivity install page to install the "Tablet part"


[edit] Step 2: The not so easy part

If you try to add the repository for the "Host part" to your /etc/apt/sources.list and run $ sudo apt-get update, you will see the problem. Your Linux box is naturally looking for the 64bit packages, which are not available.

But your machine can actually run 32bit code: you just need some more "hand work".

[edit] Step 3: Looks like I'm helping you

  1. Install filezilla, ssh, ia32-libs, sbrsh, and sbrshd
  2. Download from the PC connectivity repository: host-pc-connectivity_0.6_all.deb ssh-key-exchange_0.1_all.deb
  3. Install one by one the files you just downloaded with dpkg -i --force-architecture PACKAGE_FILENAME

[edit] Step 4: You're on your own

100% of the time what will happen is that you are going to receive messages about unfulfilled dependencies. DON'T PANIC: install what you are asked and install the package again. If you're experiencing issues, you may want to install the 32-bit library counterparts of the original dependencies.

Do this "try and catch" process, until you don't have any other error and everything installs fine.

Since "dependencies resolution" depends on what you already have installed on your machine, following the dependency chain is something you'll need to do for yourself.

Enjoy! ;-)