LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing a program (https://www.linuxquestions.org/questions/linux-newbie-8/installing-a-program-4175441646/)

simonyboliva 12-16-2012 04:55 AM

Installing a program
 
Hello I am new at linux and I've been looking how to install a program in opensuse

This is how I try to install the program

terminal
sudo ./S2view.sh

after, I get this message

cp: cannot create regular file ‘/home/root/Desktop’: No such file or directory


I really I appreciate if someone could help me


Thank you

knudfl 12-16-2012 05:23 AM

Welcome to LQ.

Which program ? ? A link, please.
And : 'S2view.sh' may not be an installer ?

This S2view ?
http://www.stwo-corp.com/update/Flas...S2View_1.5.pdf

simonyboliva 12-16-2012 05:37 AM

s2view
 
http://www.stwo-corp.com/update/S2View/Linux/

DavidMcCann 12-16-2012 11:28 AM

Have you read their manual?
http://www.stwo-corp.com/update/S2Vi...2_1_Manual.pdf
It has instructions on page 6.

simonyboliva 12-16-2012 11:51 AM

s2view
 
Yes I read the manual, I copy the S2View.2.2.sh.gz to the temp folder unzip the file

S2View.2.2.sh I click properties in permission I check is executable if I click the file I get this

cp: cannot create regular file '/usr/local/bin/S2View': Permission denied
cp: cannot create regular file '/usr/share/pixmaps/S2View.png': Permission denied
cp: cannot create regular file '/usr/share/applications/S2View.desktop
': Permission denied


So I go to the terminal I do this



hokolo@linux-kiqa:~> pwd
/home/hokolo
hokolo@linux-kiqa:~> cd /tmp/
hokolo@linux-kiqa:/tmp> ls
akonadi-hokolo.ljZTJl lu8dmws4.tmp lu8dnj8u.tmp pulse-lNgyPpeMzlXn
hsperfdata_hokolo lu8dmws5.tmp lu8dnj8v.tmp S2View_2_1_Manual-1.pdf
hsperfdata_root lu8dmws6.tmp lu8dnj8w.tmp S2View_2_1_Manual.pdf
kde-hokolo lu8dmws7.tmp lu8dnj8x.tmp S2View.2.2.sh
kde-root lu8dmws8.tmp lu8dnj8y.tmp S2View.2.2.sh.gz
hokolo@linux-kiqa:/tmp> sudo ./S2View.2.2.sh
root's password:
Verifying archive integrity... All good.
Uncompressing S2View Version 2.2.....
cp: cannot create regular file ‘/home/root/Desktop’: No such file or directory

knudfl 12-16-2012 12:23 PM

# 3

Don't know what the idea is with the unusual / non existing /home/root/Desktop.

But this will work : 1) # mkdir -p /home/root/Desktop

2) # ./S2View.2.2.sh
3) $ S2View : The S2View GUI window opens OK.


( Or 2a: The old version # ./S2view.sh )


.

simonyboliva 12-16-2012 01:01 PM

s2view
 
Sorry if I sound dumb but as I said before I'm new

I open the terminal and I write

mkdir /home/root/Desktop

I get this

hokolo@linux-kiqa:~> mkdir /home/root/Desktop
mkdir: cannot create directory ‘/home/root/Desktop’: No such file or directory
hokolo@linux-kiqa:~>


Thank you for your time

yancek 12-16-2012 03:16 PM

Opensuse doesn't use "sudo" by default so did you configure that after the installation?
Normally when running "sudo" on a system that doens't use it, you would get a command not found error.
The permission denied errors generally result from trying to do 'system' actions as a normal user, not root.

Quote:

hokolo@linux-kiqa:~> mkdir /home/root/Desktop
The above seems to show you are trying to run the command as a user and that won't work either. My experience is that the root Desktop directory is generally in the /root user directory, not in a sub-directory of /home. I'm not familiar with the software you are trying to use so I don't have any other suggestions.

John VV 12-17-2012 01:16 AM

"Opensuse doesn't use "sudo""
unfortunately OpenSUSE 12.1 and 12.2 do
they also DO NOT ( by default ) make a root home desktop folder ( sudo and that is used)

the installer has you use your NORMAL user password AS the root pass and sets up "sudo"
-- by default-- it is a bad as Ubuntu has gotten


now

one CAN override this and do a custom install of OpenSUSE 12.2

BUT the op is trying to install something to the root home folder
And that is never a good idea
-- in fact it is almost always a very bad idea ( there are exceptions)

so as a normal everyday user run the script

knudfl 12-17-2012 04:14 AM

Ref. post # 6 :

Should be : 1) su <root password>

2) mkdir -p /home/root/Desktop

simonyboliva 12-17-2012 02:31 PM

s2view
 
Thank you all for you time

This is what I did


hokolo@linux-p4kv:~> su
Password:
linux-p4kv:/home/hokolo # mkdir -p /home/root/Desktop
linux-p4kv:/home/hokolo # ./S2View.2.2.sh
Verifying archive integrity... All good.
Uncompressing S2View Version 2.2.....
linux-p4kv:/home/hokolo # S2View
Default format not supported - trying to use nearest
using null output device, none available



After that the program opens


All times are GMT -5. The time now is 11:47 PM.