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
  • linuxnewbie
  • Posts: 1

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • meman
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap

Post 3+ Months Ago

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
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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"
  • alias8700
  • Beginner
  • Beginner
  • alias8700
  • Posts: 43

Post 3+ Months Ago

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 32 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
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.