?
Solved

How do you run a setup.su file in ubuntu?

Posted on 2014-12-30
6
Medium Priority
?
64 Views
Last Modified: 2015-10-19
I am working on an open source program called OCSInventory.  I am unable to run the setup.su file from terminal.  I'm not sure if I have unzipped it correctly or I'm missing a LAMP component.  Please advise.
0
Comment
Question by:Fiducial_IT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:Fiducial_IT
ID: 40524567
the file is called setup.sh......not setup.su
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 1000 total points
ID: 40524721
The file should be executable, to check that try:

sh ./setup.sh

If that does not work, can you post the error you get?
0
 
LVL 23

Assisted Solution

by:savone
savone earned 1000 total points
ID: 40524745
Change into the directory where you download the setup.sh file, then:

chmod +x setup.sh

./setup.sh
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 62

Expert Comment

by:gheist
ID: 40524780
sh -x setup.sh
0
 

Author Comment

by:Fiducial_IT
ID: 40525816
the error is 'No such file or directory' when typing chmod +x setup.sh
'Can't open /setup.sh' when typing sh ./setup.sh
I extracted the .tar file in the GUI and it downloaded it to the desktop folder.
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40525822
You have to change to the directory where you've extracted the tar file. Be sure that you're in the folder where setup.sh is placed. You can also open that sub-folder on the desktop and see if the setup.sh file is there.
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question