Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded Bastion from HIB V; though, when I execute the .sh file in Terminal, nothing happens. Can anybody help me installing it?

Thank you :)

share|improve this question
I realise this probably doesn't help after a gigabyte download, but why didn't you just install it through the software center? – Oli Jun 16 '12 at 0:44
up vote 3 down vote accepted

The same as you would anything else:

  • Right click it, Properties, Permissions, check the "Allow executing file as program" box. Then double click the file.

  • Or chmod +x file; ./file

share|improve this answer
I've already did that and it didn't work this morning; now it works! This is strange. <br /> Thanks Oli :) – Mohamed Jun 16 '12 at 0:51

You have to write:

sudo ./

And it will run the installer as root.

This worked for me after installing the file libtxc-dxtn-s2tc0.deb.

share|improve this answer
Most of these installers (including the Bastion one) actually do not need to be run as root. They place files in special parts of your home folder instead of in system-wide places. There is an option to install in a system place, in which case the installer will need escalated privileges (and it might ask for that on its own, depending on how shiny and new it is). – Dylan McCall Jun 24 '12 at 22:07
A .deb file installed as root because it installs a package for the whole system. Furthermore, you install a .deb file with sudo dpkg -i filename.deb, not sudo ./filename.deb. (There are sometimes scripts that have .deb in their name that are installed this way, though, e.g., sudo ./ In general, as Dylan McCall says, you should only run a program with sudo if you know it needs to run as root, and this includes installers. Only install as root if you know you're doing a systemwide installation. – Eliah Kagan Jun 25 '12 at 7:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.