PDA

View Full Version : [ubuntu] Installing software in ubuntu



yosarian
September 6th, 2008, 05:50 AM
I have a disk with software for my printer/scanner, but I don't know how to install it.
I Windows I should double click directly but I know that I have to do something here but I don't know what.
Could someone help me?

PurposeOfReason
September 6th, 2008, 05:52 AM
What is the extension? .tar.gz, .deb etc.

Saint Angeles
September 6th, 2008, 05:54 AM
you have a disk with windows software and you are trying to install it on ubuntu.

thats not necessary... most printers can be automatically added by going to system->administration->printing

yosarian
September 6th, 2008, 05:58 AM
The folder says Linux, that why I think I can install (I know softare for Windows is not going to work)

I have executable files.

And there is an autorun but is not working

Saint Angeles
September 6th, 2008, 06:02 AM
The folder says Linux, that why I think I can install (I know softare for Windows is not going to work)

I have executable files.

And there is an autorun but is not working
so theres a .deb file?
or is a a script? (.sh)

yosarian
September 6th, 2008, 06:05 AM
I have an install.sh

sujitkale
September 6th, 2008, 06:26 AM
Try this
.sh file is nothing but a shell script. The easiest way to run .sh shell script in Linux is as follows:
sh file.sh
bash file.sh

Another option is set executable permission using chmod command:
chmod +x file.sh
Now run .sh file as follows: execute
./file.sh

yosarian
September 6th, 2008, 06:28 AM
I did sh install.sh
and I got

libstdc++.so.5 (gcc 3.0.x .. 3.3.x) not found, install ... /sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
done
libtiff.so.3 not found, install ... /sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
done
./i386/install/guiuninstall: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

ad_267
September 6th, 2008, 07:06 AM
Ok you can probably just link libstdc++ and libtiff to the more recent versions. You also need to run this as root using sudo and entering your password.

In a terminal do:


sudo ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3
sudo sh install.sh

yosarian
September 6th, 2008, 07:57 AM
Ok you can probably just link libstdc++ and libtiff to the more recent versions. You also need to run this as root using sudo and entering your password.

In a terminal do:


sudo ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3
sudo sh install.sh


I did work.

Now the printer is working but the system doesn't recognize the scanner. Could you give me any help with that?

ad_267
September 6th, 2008, 07:59 AM
What make and model is it?

If you do a google search with the model and "Linux" or "Ubuntu" you might find instructions.

yosarian
September 6th, 2008, 08:01 AM
Samsung SCX-4300

ad_267
September 6th, 2008, 08:24 AM
I'm not sure why that's not working. It looks like the scanner isn't supported by SANE but the Samsung installer should have installed drivers for it.

yosarian
September 6th, 2008, 08:27 AM
I got some help form a web page but still it doesn't work properly

now I have this message

Details: Failed to execute child process "/opt/Samsung/mfp/bin/Configurator" (Permission denied)

ad_267
September 6th, 2008, 08:50 AM
Usually that sort of error means you don't have permission to execute that file. Try changing it's file permissions so you can execute it. You can run this from a terminal:



sudo chmod a+x /opt/Samsung/mfp/bin/Configurator

yosarian
September 6th, 2008, 09:05 AM
Usually that sort of error means you don't have permission to execute that file. Try changing it's file permissions so you can execute it. You can run this from a terminal:



sudo chmod a+x /opt/Samsung/mfp/bin/Configurator


I did, but still I have in permissions that it is only for root (and I can't change that).
Now when I try to run the help this message appears

Failed to execute child process "/opt/Samsung/mfp/bin/shhv" (Permission denied)

And also, when I click on the program nothing happen

ad_267
September 6th, 2008, 10:05 AM
If you use a+x then that adds execute permissions for all users. Root is the owner, that means only root can edit the file. But any user can execute it. Try doing the same thing for that file and all files in that directory:


sudo chmod a+x /opt/Samsung/mfp/bin/*

yosarian
September 6th, 2008, 03:41 PM
I did, but now the software it doesn't work (it does nothing). I am going to try to uninstall and install again.