LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2012, 05:55 AM   #1
simonyboliva
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Rep: Reputation: Disabled
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
 
Old 12-16-2012, 06:23 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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
 
Old 12-16-2012, 06:37 AM   #3
simonyboliva
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
s2view

http://www.stwo-corp.com/update/S2View/Linux/
 
Old 12-16-2012, 12:28 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
Have you read their manual?
http://www.stwo-corp.com/update/S2Vi...2_1_Manual.pdf
It has instructions on page 6.
 
Old 12-16-2012, 12:51 PM   #5
simonyboliva
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-16-2012, 01:23 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 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 )


.

Last edited by knudfl; 12-17-2012 at 05:13 AM.
 
Old 12-16-2012, 02:01 PM   #7
simonyboliva
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-16-2012, 04:16 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,871

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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.
 
Old 12-17-2012, 02:16 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
"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
 
1 members found this post helpful.
Old 12-17-2012, 05:14 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Ref. post # 6 :

Should be : 1) su <root password>

2) mkdir -p /home/root/Desktop
 
Old 12-17-2012, 03:31 PM   #11
simonyboliva
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing ANY program IwannaSlack Slackware 6 07-22-2008 10:41 AM
Using a program after installing it stab Linux - Newbie 3 09-17-2004 07:21 AM
Installing my first program thort Linux - Newbie 10 12-19-2003 03:54 PM
installing program help!!!!!!!!! shadow Linux - General 8 07-09-2003 06:21 PM
installing a program bricast Linux - Newbie 5 08-15-2002 11:00 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration