How to open a .sn file
Back again! I downloaded a cad program for Linux / Ubuntu 9.10 which has a .sn on the end of it and I believe this is called a binary file and for the life of me I can not open this bugger. Here are the directions I was given:
MEDUSA4 4.0
Installation
Introduction
Please read this guide before you install your MEDUSA software - it includes important
information on the correct installation of the product.
Before you start the installation, please close all applications.
Please note: Windows: For running MEDUSA the Visual C++ 2008 Redistributable Package is
required (vcredist_x86.exe). If necessary, it will be installed automatically before the
installation of MEDUSA.
For quick and easy installation, obtain your license keyfile prior to installing the
software.
If you intend to copy the program executable medusa_v4_0_0_windows_personal.exe
(Windows) respectively medusa_v4_0_0_linux_personal.sh (Linux) onto your hard
disk, please ensure that the path name contains no blank spaces or special
characters (so please do not save it to your desktop), e.g.:
Windows
correct path: C:\software\medusa_V4_0_0
wrong path: C:\software\medusa V4.0.0
Linux
correct path: /opt/medusa_V4_0_0
wrong path: /opt/medusa V4.0.0
The CSG Installation Wizard will guide you through the setup process. If errors occur during
installation, these are reported in the file log.txt in the installation path.
4 © CAD Schroer GmbH 2009
MEDUSA4 4.0
Systems Requirements
Systems Requirements
Please note: The system requirements for the Personal version differ from the full version.
Therefore ignore the system requirements given in the Release Notes in the
meddoc\doc path.
You will need 580 MB (Windows) respectively 700 MB (Linux) of free disk space, and a
minimum of 512 MB of RAM.
Windows
MEDUSA Personal runs on Windows XP (SP2 or 3), Windows Vista or Windows 7.
Linux
MEDUSA Personal runs on the following Linux distributions:
Distribution Version
CentOS 5
Fedora 11, 12
RedHat EL 5
SuSE 11 (OSS)
Ubuntu 9.04, 9.10
For running MEDUSA Personal a csh or tcsh shell is required. If there is no csh or tcsh shell
installed, install it, for example, using the following command:
Distribution Command
Fedora yum install tcsh
Ubuntu sudo apt-get install csh
© CAD Schroer GmbH 2009 5
MEDUSA4 4.0
Installation
Installing MEDUSA
Linux
For the installation you have to be superuser (root). Open a terminal and run the file
medusa_v4_0_0_linux_personal.sh.
Having extracted the installation files, the Installation Wizard will be started, see “Installation
Wizard” on page 7.
I completed all requirements listed and the only thing that seem to work in the terminal was " sudo apt-get install csh '
I basically need to know the command for running this file in the terminal
All apt-get install keeps telling me that " can't find file or directory "
I have even done the apt-cache source as well as ls, so on and so on....
Please, I am totally nieve to most file situations with Linux. So please make your explanations simple as possible and if there is a solution or command, list it so I may copy / paste it in my terminal for accuracy. Thank you
I have my lic # CSG LICENSE FILE
# ################
#
# CAD Schroer GmbH
#
# CSGLicenseNumber : PL107021
# Customer Name : John Haskins
# Creation Date : 16.Apr.2010
# Creation User : online
#
##
FEATURE med_personal 001d09a01cec 10.4 16-oct-2010 1 Haskins Personal_License 3C9FBD4B041CFE2F1D3B ck=B7CB95:S
Comments
-
An .sh file should open if you just click on it. It'll use whatever the default document editor is, in Ubuntu's case that will probably gedit. If your trying to run the file, just become root then do ./<filename>.sh or sh <filename>.sh0
-
attempt to open with Gedit:
Attempt in my terminal:
john822@john822-desktop:~$ sh .sn
sh: Can't open .sn
john822@john822-desktop:~$ /opt/medusa_V4_0_0
bash: /opt/medusa_V4_0_0: No such file or directory
john822@john822-desktop:~$ sh .sh /opt/medusa_V4_0_0
sh: Can't open .sh
john822@john822-desktop:~$ medusa_v4_0_0_linux_personal.sh
medusa_v4_0_0_linux_personal.sh: command not found
john822@john822-desktop:~$ sudo
usage: sudo [-n] -h | -K | -k | -L | -V | -v
usage: sudo -l[l] [-AnS] [-g groupname|#gid] [-U username] [-u username|#uid]
[-g groupname|#gid] [command]
usage: sudo [-AbEHnPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AnS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
username|#uid] file ...
john822@john822-desktop:~$ su
Password:
su: Authentication failure
john822@john822-desktop:~$ ./.sh medusa_v4_0_0_linux_personal.sh
bash: ./.sh: No such file or directory
I tried numerous combinations. You think the download is corrupted???0 -
I went a little deeper to find out why I have questions on me being root and corrected that problem in users account, and here are the results entering command in my terminal....
john822@john822-desktop:~$ su
Password:
Added user root.
root@john822-desktop:/home/john822# ./ medusa_v4_0_0_linux_personal.sh
bash: ./: is a directory
root@john822-desktop:/home/john822# sh medusa_v4_0_0_linux_personal.sh
sh: Can't open medusa_v4_0_0_linux_personal.sh
root@john822-desktop:/home/john822#
I am getting closer, but still far away from results.0 -
root@john822-desktop:/home/john822# ./ medusa_v4_0_0_linux_personal.sh should have been
./medusa_v4_0_0_linux_personal.sh (no space between the slash and the m in medusa.
root@john822-desktop:/home/john822# sh medusa_v4_0_0_linux_personal.sh <-- that one should have worked.
My guess would be that medusa_v4_0_0_linux_personal.sh is a pre-compiled binary, that's why it's not opening up with gedit, or as you speculated, it is somehow corrupted.
My expertise in diagnosing your problem is a bit lacking because I don't download and run my programs this way, I usually settle for what's available in my distro's repositories.0 -
these are the current results:
First I went back into Synaptic manager to search for ' Medusa ' and discovered it was not checked, so I did that, updated and closed.
I open my terminal and did what you requested, and the results were:
john822@john822-desktop:~$ su
Password:
root@john822-desktop:/home/john822# ./medusa_v4_0_0_linux_personal.sh
bash: ./medusa_v4_0_0_linux_personal.sh: No such file or directory
root@john822-desktop:/home/john822# ./medusa_v4_0_0_linux_personal.sh
bash: ./medusa_v4_0_0_linux_personal.sh: No such file or directory
root@john822-desktop:/home/john822#
root@john822-desktop:/home/john822# apt-get install ./medusa_v4_0_0_linux_personal.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package .
root@john822-desktop:/home/john822#
I also open my Windows 7 OS and downloaded the program, and after installing it, I clicked on the program Icon, and it would not work. Something to the effect about it is not working or broken. I am inclined to take your advice with this program is corrupted or the executable is broken.0 -
I gave it one last try with this command. I think it is time to quit:
john822@john822-desktop:~$ su
Password:
root@john822-desktop:/home/john822# ./medusa_v4_0_0_linux_personal.sh
bash: ./medusa_v4_0_0_linux_personal.sh: No such file or directory
root@john822-desktop:/home/john822# ./medusa_v4_0_0_linux_personal.sh
bash: ./medusa_v4_0_0_linux_personal.sh: No such file or directory
root@john822-desktop:/home/john822#
root@john822-desktop:/home/john822# apt-get install ./medusa_v4_0_0_linux_personal.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package .
root@john822-desktop:/home/john822# sh medusa_v4_0_0_linux_personal.sh
sh: Can't open medusa_v4_0_0_linux_personal.sh
root@john822-desktop:/home/john822#0 -
Just another thought:
1) Is the file your trying to open in your home directory, or is it still in the Download folder? If it is in the Download folder, after logging in as root you may have to execute:
cd /home/john822/Downloads
and then execute:
./medusa_v4_0_0_linux_personal.sh
The error your getting "bash: ./medusa_v4_0_0_linux_personal.sh: No such file or directory" and "sh: Can't open medusa_v4_0_0_linux_personal.sh" probably means your not in the correct folder when trying to run the file.
BTW - trying to run the file in Windows 7 won't work, it's not a Windows executable. AND ... Are you sure medusa isn't in the Ubuntu repos? Did you try searching with Synaptic? I looked at my Fedora repo and there is a medusa app in my repository.0 -
Wow, when I think about it. The instructions said not to save to ' desktop ' which I did not do. It is in the ' download folder '. jumping ahead, the version in Windows 7 is the version offered for Windows by the software developer. It loaded / installed / opened, but it is not working. problem with the ICon / program launching.
Now that it is in the wrong directory, how do I get it in the right one? Can I copy and paste it where????
My depository in Synaptic showed ' Madusa ' and I installed it with it's related files,but if your therory is correct, that will be redundant, as the initial file is not opening with in the ' Download Folder '. I am talking like I know what I am talking about.
Can you now, with this information figure out what I should do next...John0 -
I kicked myself in the ass and said John, you can do this, so I tried the copy approach. I copied it to my home folder and I click open with another application, but nothing at all looked like it would do the job, so I scratched my head somewhat, and thought back to one small statement in the instructions, and that was , open in " Terminal " and that option was available in the open windows for apts that would open this program, so I selected terminal, and WHAM, things start happening and commands started to run and the installer appeared for the program. It then made me look for the file I had the license key in, " My Documents " which I literally had to build the menu tree step by step. Then it asked me for path to my browser and I believed I discovered that purely by accident. I must have gone through bins and etc's and usr's and so on, still I found Mozilla and the registry entry alpha-numeric display and clicked ok.
I think that all programs which I see that give me this type of Hell in the future, I will send it straight to the terminal, and let it do the foot work......
Thank you for being patient with me and not giving up on me. I have found 99% of my sucess with the crew at Linux.com
Thank you, John:cheer:
:silly: :woohoo: :laugh:0 -
Glad you got it running, do the Snoopy dance John.0
-
whoop- pee and away I gooooooooooooooooooooooooooooooooooooooooooooooo....Thank you again....John0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 788 Linux Foundation IT Professional Programs
- 352 Cloud Engineer IT Professional Program
- 177 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 146 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.1K Training Courses
- 46 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 37 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 693 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 144 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 4 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 25 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 130 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 150 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 370 Off Topic
- 114 Introductions
- 173 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 96 All In Program
- 96 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)