installing

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

installing

Postby galphiegn » Wed Apr 08, 2009 8:11

whenever i try to install a new program on linux, even though i am logged in as super user, the command prompt tells me i do not have permission. after i log in as su i type in ./filename . can someone tell me what i am doing wrong?
galphiegn
Baby Hen
 
Posts: 6
Joined: Tue Apr 07, 2009 4:49

Re: installing

Postby dunsurfin » Wed Apr 08, 2009 9:13

It could be that the file you are trying to run needs its' permissions altered to make it executable. Can you be more specific about what you're trying to install?
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1247
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: installing

Postby galphiegn » Wed Apr 08, 2009 9:22

well the problem has occurred over several files i have attempted to install, the most recent is an online rpg called Plane Shift. have had the same problem with flash player, and several others as well. i'm sorry if this isn't specific enough but i'm still new and don't know what else to tell you.
galphiegn
Baby Hen
 
Posts: 6
Joined: Tue Apr 07, 2009 4:49

Re: installing

Postby dunsurfin » Wed Apr 08, 2009 9:36

For flash player you probably need to install the flash-player in Entropy. Open Spritz and search for flash in "available". I have no experience of installing Planeshift but you could try, as root,
Code: Select all
chmod a+x myfile
(where "myfile" is the name of the Planeshift installer file). That will change the permission of the installer file to make it executable.
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1247
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: installing

Postby galphiegn » Wed Apr 08, 2009 9:46

thank you it worked. just out of curiosity, because i am new to linux, what did i just tell it to do that allowed it to install?
galphiegn
Baby Hen
 
Posts: 6
Joined: Tue Apr 07, 2009 4:49

Re: installing

Postby dunsurfin » Wed Apr 08, 2009 9:55

All files have permissions that not only say who can use a file, but what it can do. You changed "chmod" the permissions to allow it to execute. I'm also fairly new to these commands and found what I wrote on this page http://linuxreviews.org/beginner/
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1247
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: installing

Postby galphiegn » Wed Apr 08, 2009 10:08

thats a really nifty page. thnx i can use that as i can imagine any user new to linux.
galphiegn
Baby Hen
 
Posts: 6
Joined: Tue Apr 07, 2009 4:49

Re: installing

Postby dunsurfin » Wed Apr 08, 2009 10:13

Enjoy! :)
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1247
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: installing

Postby wolfden » Wed Apr 08, 2009 12:34

just keep in mind to use the package manager where you can, this will save u a lot of headaches down the road
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 0 guests