For the nth time, you cannot install random files with zypper. Only RPMs, either from a configured repository or manually downloaded.
Setting the “Executable” bit doesn’t mean it is “installed”, it’s needed to run it. You don’t need to “install” it anyway. Just specify the full path to run it. Or copy it to a system path like /usr/local/bin (then it is “installed”).
I tried this in terminal window: xboard -fcp ‘polyglot BlackMamba-64bit.ini’ -scp ‘polyglot BlackMamba-64.ini’ couldn`t open blackmamba no such file or directory
See above. You need to specify the full path to the executable in BlackMamba-64.ini, or “install” blackmamba by copying the executable file to /usr/local/bin/:
sudo cp *path_to_blackmamba* /usr/local/bin/
Well, in this case (blackmamba) they are Linux executables.
I wouldn’t call them exe files though, since this is mostly reserved to Windows executables (xxx.exe) as you write.
sudo cp “Downloads/BlackMamba20 -Linux/BlackMamba-64bit” /usr/local/bin/
root’s password:
cp: cannot stat ‘Downloads/BlackMamba20 -Linux/BlackMamba-64bit’: No such file or directory
There are much these unknown indeterminate things in this unix-system so do not mind if I complain too much when I don`t understand.
But now it says “No such file or directory”, which means ‘Downloads/BlackMamba20 -Linux/BlackMamba-64bit’ does not exist.
Maybe your home directory is not the current directory?
Try to prepend “~/”, that means your home directory.
And since you apparently reference “blackmamba” in your BlackMamba-64.ini file, you should also name the destination file like that.
Well, that directory is named “BlackMamba20 - Linux”, not “BlackMamba20 -Linux” (notice the missing space character?), so of course it cannot be found.
Try this then:
btw I noticed that fedora 20 might also be worth a try, but then I would also need to build everything of source, I suppose.
Of course, fedora might be worth a try, just like many other distros as well.
But I think you would have similar problems there. The operating systems themselves are not really different. (Linux=Linux, distributions mostly differ regarding default settings and available packages)
Regarding ready-to-use packages on Fedora I have no idea.
??? I don’t really understand this question fully.
You just copied it out of your home directory to the system-wide /usr/local/bin/ directory.
/usr/share/ is something completely different again as well.
Or do you mean whether you have to copy the .ini file to somewhere as well?
Well, you don’t have to. You didn’t with stockfish either, did you?
…And after that possibly change the enginecommand in text editor.
Possibly.
But I don’t know how your .ini file looks like now. And I don’t know
According to the error message you posted earlier, you seem to have entered blackmamba as EngineCommand:
I tried this in terminal window: xboard -fcp ‘polyglot BlackMamba-64bit.ini’ -scp ‘polyglot BlackMamba-64.ini’ couldn`t open blackmamba no such file or directory
If you have /usr/local/bin/blackmamba now, then that’s fine.
If it’s /usr/local/bin/BlackMamba-64bit, you should either rename it or change the .ini file accordingly.
As the engine is in /usr/local/bin/, you don’t have to specify the full path though, in this case the filename alone is enough because the system automatically looks for it there.
/usr/local/bin/blackmamba → No such file or directory … So if I understand you right I should change /usr/local/bin/BlackMamba-64bit to
/usr/local/bin/blackmamba . Then I just rename it using some command?
You can rename it with a file manager as well but you have to run it as root because /usr/local/ is a system-wide directory. You can run “Dolphin (Super-user mode)” from the start menu f.e. if you’re using KDE.
Or change the ExecCommand line in the .ini file to:
Ok after that the command would be most likely code: xboard -fcp ‘polyglot /usr/local/bin/blackmamba.ini’ -scp ‘polyglot /usr/local/bin/blackmamba.ini’
However there is again error and it seems there is no ini file created for the engine. I tried to access the engine with text editor but it can`t open blackmamba (maybe because there is no ini file?)
No! You don’t have a file /usr/local/bin/blackmamba.ini.
And please don’t copy blackmamba.ini to /usr/local/bin/, that directory is NOT intended for polyglot .ini files!
However there is again error and it seems there is no ini file created for the engine. I tried to access the engine with text editor but it can`t open blackmamba (maybe because there is no ini file?)
In the text editor you should be able to open the .ini file if it exists.
But you have to know yourself where you created it and how you named it.
It does not get created by itself.
According to your error message (posted earlier), it is called “BlackMamba-64bit.ini” though.
So try to open that in the text editor.
And then run xboard like this: (as you have done before already, actually)
There is no “BlackMamba-64bit.ini” file visible in the text-editor and when I open BlackMamba-64bit in text editor there is error message ELF\00\00\00\00\00\00\00\00\00>\00\00\00\00\901B\00\00\00\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\008\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00\00\00@\00\00\00\00\00\8D9\00\00\00\00\00\8D9\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00 \E5\00\00\00\00\00 \E5\81\00\00\00\00\00 \E5\81\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00a\9F\A9\BEUPX! \00\00\00\00e]\00e]\008\00\00\BD\00\00\00\00\00\00\BB\FB \FFELF\00\00>\00es.@\BB\9B\FC\DEH\D8a’8\00
That is no error message. That’s just the content of that file.
BlackMamba-64bit is the chess engine, it is a program. You cannot open that in a text editor.
BlackMamba-64bit.ini OTOH is a text file. Again, I cannot tell you where you have that, you should know yourself.
Most likely it’s directly in your home directory, as I already wrote.
Since you opened BlackMamba-64bit, which presumably is in ~/Downloads/BlackMamba - Linux/, you just seem to be in the wrong directory.
So type “cd” to switch to the home directory, as I also wrote already.
If it’s really not there, just create a new one (you can name it what you like, you just have to specify the correct name when you run xboard). You should know by now, how to do that and what it should contain.
And please, I don’t want to spend all day trying to guess where your files are and how they are named.
If you don’t remember, use a file manager to find them. Or browse for them in your text editor’s “Open File” dialog.
BlackMamba-64bit.ini does not exist in my home directory:
cp /usr/share/BlackMamba-64bit.ini ~/BlackMamba-64bit.ini
cp: cannot stat ‘/usr/share/BlackMamba-64bit.ini’: No such file or directory
I thought the ini file would be automatically created after installing BlackMamba-64bit but once again I cant start messing up because I dont know how to create ini file for this program.
thanks anyway for support, I need to start to mess up more with this system some other day now too much work…
Please, have a look at the error message.
/usr/share/BlackMamba-64bit.ini does not exist. That’s not your home directory.
Also with that cp command you would overwrite the one in your home directory if it exists.
What does “cat ~/BlackMamba-64bit.ini” give?
I thought the ini file would be automatically created after installing BlackMamba-64bit but once again I cant start messing up because I dont know how to create ini file for this program.
That BlackMamba you downloaded just contains the 2 executable files, no installer of any sort. You only copied the one executable to /usr/local/bin/.
So where should that .ini file suddenly come from?
I already told you how to create an .ini file for stockfish, i.e. just copy an existing one and change the ExecCommand line with a text editor. Do the same to create one for BlackMamba.
And again, according to the error message in that one post by you, you did have BlackMamba-64.ini. But maybe you deleted it already in the mean time, of course.
Hah there is no even grounding of that supposed to be ini file: cat ~/BlackMamba-64bit.ini -> cat: /home/user/BlackMamba-64bit.ini: No such file or directory
How would I replace the enginecommand this ini file is one doesn`t exist!
I made a copy of stockfishdd.ini and changed the engine command to: /usr/share/BlackMamba-64bit.ini but I don`t know if that helps there is still /tmp/stockfish.log as log file and EngineDir = /tmp
OK, but somehow you had one earlier.
I can only judge by the things you post.
I made a copy of stockfishdd.ini and changed the engine command to: /usr/share/BlackMamba-64bit.ini but I don`t know if that helps there is still /tmp/stockfish.log as log file and EngineDir = /tmp
You should change the engine command to just “blackmamba”, since that’s what you should have in /usr/local/bin/ now as far as I have been following you.
/usr/share/BlackMamba-64bit.ini doesn’t exist according to your previous post. And you shouldn’t reference an .ini file there anyway, but the engine itself. That’s the point of the .ini file (especially the EngineCommand line in there), to tell xboard/polyglot where the actual engine is.
The EngineDir you can leave at /tmp. That’s a general directory for temporary files.
The log file doesn’t matter much, but maybe you should change the name. This one should get generated when you start xboard, so it doesn’t have to exist.