PDA

View Full Version : [ubuntu] .tar.bz2 install for Hyper-V USB redirect software



mrmoreland
September 6th, 2011, 10:35 AM
Hello there,

Im looking for some assistance please.

I am trying to install some USB redirect software for Hyper-V located from here: http://www.net-usb.com/hyper-v-usb/

The program is a tar.bz2 file, I have extracted the file but I am unable to locate any installation instructions or configure scripts. There is a installation.sh file however im not sure what needs to be done.

I have tried make, and make install but to no avail. I have also searched Net-usb.com and google for instructions but I am still struggling.

Many thanks,

ajgreeny
September 6th, 2011, 11:38 AM
You need to run the .sh file from a terminal, so navigate to where it is with
cd /path/to/installation.sh and run it with the command
./installation.sh Or you can navigate to it in nautilus, right click, go to Properties, and ensure it is executable. You can then double click on it to run it.

mrmoreland
September 6th, 2011, 11:44 AM
Thank you for your quick response, however when I do the above I receive the error:

./install: line 36: /home/user/eveusb_install/bin/install: No such file or directory

I have attached a screenshot,

Thanks

Ian

ajgreeny
September 6th, 2011, 11:55 AM
Can you give more details of where the .sh file was sitting in your home folder and exactly the command you used to run it please. You screenshot is not very helpful.

mrmoreland
September 6th, 2011, 12:08 PM
Hi,

The full path for the installation.sh file is:

/home/user/eveusb_install/install.sh

I was in the /home/user/eveusb_install directory, and i typed:


./install.sh

Thanks

Ian

ajgreeny
September 6th, 2011, 12:47 PM
Odd!

Can you open the install.sh file in gedit, the text editor, and copy the top 50 lines, just to show line 36 really, and other nearby lines,and then paste those lines here between code tags, the # icon in the toolbar of the reply box.

mrmoreland
September 6th, 2011, 01:11 PM
Hi,

I dont have a gui installed, however here is the contents of install.sh



#!/bin/bash
if (( $(id -u) != 0 )) ; then
echo "$0" | grep -F "/tmp/.lnk." 2>/dev/null >&2
if (( $? != 0 )) ; then
SUDO_ASKPASS=echo sudo -A -u "${USER}" echo 2>/dev/null >&2
if (( $? != 0 )) ; then
for S in kdesudo gksudo gksu ; do
which "${S}" 2>/dev/null >&2
if (( $? == 0 )) ; then
(( USERS_FOUND = 0 ))
for I in "$@" ; do
if [[ "-$I" == "---users" ]] ; then
(( USERS_FOUND = 1 ))
fi
done
A=( "${@}" )
if (( USERS_FOUND == 0 )) ; then
A=( "${A[@]}" --users "${USER}" )
fi
"$S" "$0 ${A[@]}"
exit $?
fi
done
fi
fi
fi
CWD="$(pwd)"
cd "$(dirname "$0")"
WD="$(pwd)"
cd "${CWD}"
BIN="$(basename "$0")"
BIN="${BIN%.sh}"
LD_LIBRARY_PATH="${WD}/lib${LD_LIBRARY_PATH:-:}${LD_LIBRARY_PATH}" "${WD}/bin/${BIN}" "$@"


Thanks

Ian

mrmoreland
September 6th, 2011, 01:26 PM
The manufacturer has just responded to one of my support emails, looks like this application only has a graphical installer.... so im just downloading a ubuntu-desktop now.

AJGreeny, thank you very much for your help!

Kind regards,

Ian

ajgreeny
September 6th, 2011, 02:51 PM
No problem. Good luck.