Search

Sponsored Links

Foxkeh

Categories

Archives

Random Posts

14
May

What should I do with a .sh file?

Sometimes somewhere, you encounter some really stupid sites that are trying to be helpful, but they expected you to know how or what to do with the file. Happens quite often in the world of Linux. I was trying to get myself the XMMS from the apt-get, but unfortunately I couldn’t find it. The error came out something like this:

E: Package xmms has no installation candidate

A quick Google reveals that XMMS has been replaced with XMMS2 or audacious. I tried to get back XMMS, by installing extra repositories. The smart-ass website gave me two files. One of them is a .list file that I can easily double click, and the Software Sources application came up to add these list of sites for me. So far so good. But these sites needs a key, so that it can verify that these sites are genuine. Must be the second file, the .sh file. Double-clicking it does not lead anywhere, it prompts me for any software to use. How the fuck should I know? More google turns out that I need to run these steps in the terminal:

./file.sh <—- replace file with your .sh file name.

But it will complain that I do not have permission. So ….

chmod +x file.sh <—- replace file with your .sh file name.

Aiyo…. tell lar early early!

Popularity: 6% [?]

2 Comments

Leave a comment