Voting Chart

Total votes : 5

Have you switched to Linux OS mostly because you were totally sick of Windows?

  •  
    no
  •  
    kind of yes
  •  
    ohhh yesss!!!

how to install *.sh files on Linux (Yellow Dog version)

  • linuxnewbie
  • Born
  • Born
  • No Avatar
  • Joined: Jan 14, 2007
  • Posts: 1
  • Status: Offline

Post January 14th, 2007, 7:23 am

Hello everyone,

I'm fresh to Linux and I struggle eith finding good step by step instructions on how to execute files with .sh extension on my newly installed Yellow Dog Linux OS. I tries to google it, found patrial clues but not easy enough to follow for a "newbie" Can someone please provide some easy steps?
I'm trying to install divx drivers and when I double click on the install.sh file, after chosing "run" in the pop up menu nothing happends. please help. thanks !
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 14th, 2007, 7:23 am

  • meman
  • Web Master
  • Web Master
  • User avatar
  • Joined: Aug 03, 2004
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap
  • Status: Offline

Post January 14th, 2007, 9:37 am

Windows had little to do with my decision to use Linux.
I tried linux and found that it was a very good reliable operating system and i had no reason not to use it.

try this in a prompt
sh /path/to/sh/file/install.sh
GodBeGone - Atheist Blog
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post January 14th, 2007, 3:08 pm

you may need to chmod it to make it executable before it will work.
so then you'd do
chmod +x /path/to/sh/file/install.sh
sh /path/to/sh/file/install.sh
all in a "prompt"
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • alias8700
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Dec 04, 2006
  • Posts: 43
  • Status: Offline

Post January 16th, 2007, 8:59 am

One good thing to know as well is that if your in the same directory as the file you want to execute the command becomes

Code: [ Select ]
./file.sh


to know where you are the command

Code: [ Select ]
pwd


might be useful aswell.

Good luck :wink:

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 121 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.