hw 2 install uci eng in scid/ ubuntu7.04 linux

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Volker Pittlik
Posts: 619
Joined: Wed Mar 08, 2006 9:10 pm
Location: Murten / Morat, Switzerland
Full name: Volker Pittlik

Re: hw 2 install uci eng in scid/ ubuntu7.04 linux

Post by Volker Pittlik »

glorfindel wrote:Yes, you need a different file for every engine.

...
(command) /usr/local/bin/polyglot
(parameters) /path/to/glaurung.ini

I find that if you give the full path to the programs and files it always works, otherwise you might have problems.

Yes but after a while to type the whole path is annoying and aslo easily introduce type errors. One way to avoid it is to use global or local variables. For example I use:

export pp=~/chess/polyglot

in my .profile. Changing glaurung's ini looks like "vim $pp/glaurung.ini" in stead of "vim /home/volker/chess/polyglot/glaurung.ini" for example.

What is best for one's system depends highly what he wants to do.

Volker
User avatar
mariaclara
Posts: 4186
Joined: Wed Mar 08, 2006 9:31 pm
Location: Sulu Sea

Re: hw 2 install uci eng in scid/ ubuntu7.04 linux

Post by mariaclara »

hi Volker,

where do i type this? in the terminal box?
or in the polyglot.ini file
export pp=~/chess/polyglot
where can i find this .profile thingy?
in my .profile
:D thanks.

(sorry, newbie here... :( :( )
.
.

................. Mu Shin ..........................
Volker Pittlik
Posts: 619
Joined: Wed Mar 08, 2006 9:10 pm
Location: Murten / Morat, Switzerland
Full name: Volker Pittlik

Re: hw 2 install uci eng in scid/ ubuntu7.04 linux

Post by Volker Pittlik »

mariaclara wrote:hi Volker,

where do i type this? in the terminal box?
or in the polyglot.ini file

With an editor in your .profile file which is usually loctaed at /home/<your-username>
export pp=~/chess/polyglot
mariaclara wrote:...where can i find this .profile thingy?...
/home/<your-username>

For heaven's sake get a book about Linux. If you get the basic principles you will see what a powerful tool it is.

Volker
glorfindel

Re: hw 2 install uci eng in scid/ ubuntu7.04 linux

Post by glorfindel »

Volker Pittlik wrote: Yes but after a while to type the whole path is annoying and aslo easily introduce type errors. One way to avoid it is to use global or local variables.
Variables in ~/.profile or other places are not always read by Scid. This includes the $PATH variable.

If I start scid from a terminal, which has all the variables set, then polyglot works even if I give "polyglot" as the command in the engine configuration window (because it is in my $PATH).

But if I start it from the menu, it does not find polyglot this way. I have to give the full path.

So in this case, which is the most usual, I don't think you can avoid giving the full path. This is what I meant when I wrote that sometimes you might have problems if you don't.
User avatar
mariaclara
Posts: 4186
Joined: Wed Mar 08, 2006 9:31 pm
Location: Sulu Sea

Re: hw 2 install uci eng in scid/ ubuntu7.04 linux

Post by mariaclara »

:D hi Christos,

i think you're right.

in ubuntu7.04 , i have to type scid in the terminal box to start it.
i can't find it in the applications/menu.
.
.

................. Mu Shin ..........................
User avatar
mariaclara
Posts: 4186
Joined: Wed Mar 08, 2006 9:31 pm
Location: Sulu Sea

Re: hw 2 install uci eng in scid/ ubuntu7.04 linux

Post by mariaclara »

:D Hello Roy,

sorry for the late reply.

i found one very good command in your post.

its your
sudo apt-get install wine
previously, i thought that apt-get command was typed in the sypnotic package manager search box.

with your tip, moving arouind ubuntu is becoming clearer.

thanks Roy.

you're so kind. :D
.
.

................. Mu Shin ..........................