You are on page 1of 1

Page 1 of 1

[AMPL 2137] Re: How can I install AMPL in Ubuntu?


Click to flag this post

by jeffhgoldsmith@gmail.com Dec 26, 2008; 07:22am :: Rate this Message: - Use ratings to moderate (?)

Reply | Print | View Threaded | Show Only this Message

I went through a bunch of trouble to do this today, and it was


actually very simple. I copied the executable files for ampl and the
solvers (minos and cplex in my case) into the /bin directory, then I
rehashed the directory (hash /bin). Now I can type ampl in the
terminal and it loads and works like normal! One thing to note though
is that I did use chmod +x ampl, however i am not sure this is really
necessary. Good luck!

On Dec 1, 6:16 am, "zhyi...@..." <zhyi...@...> wrote:

> Dear All,


> I downloaded the AMPL for Linux from the main web,
> then
> sudo gzip -d ampl.gz
> sudo mv ampl /usr/bin/
> sudo chmod +x /usr/bin/ampl
> But if I run ampl, the system tell me that no such file or directory
> Using command "which ampl", the directory is true.
> Someone told me that he found the file is compiled under SUSE.
> Thanks!
... [show rest of quote]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language"
group.
To post to this group, send email to ampl@...
To unsubscribe from this group, send email to ampl+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/ampl?hl=en
-~----------~----~----~----~------~----~------~--~---

You might also like