Page 1 of 1

"E: Unable to locate package polymake"

Posted: 06 Oct 2020, 18:52
by paulcheung
Hi all, I have trouble installing polymake in Ubuntu. I have little knowledge about it (I just downloaded Ubuntu today for polymake) and I appreciate it if someone can help me solve it.

As I type in the command line in Ubuntu:

sudo apt-get install polymake

The result prints

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package polymake

Why is it not able to find polymake? Can anyone help with this? Thank you!

Re: "E: Unable to locate package polymake"

Posted: 07 Oct 2020, 09:25
by blorenz
Hi,
maybe you need to enable the 'universe' repository first, please see here: https://askubuntu.com/questions/148638/ ... repository
And then run:

Code: Select all

sudo apt update sudo apt install polymake

If that still doesn't work, please post some details on the ubuntu version that you are using and the output of both commands.

Best
Benjamin

Re: "E: Unable to locate package polymake"

Posted: 08 Oct 2020, 01:33
by paulcheung
Hi,
maybe you need to enable the 'universe' repository first, please see here: https://askubuntu.com/questions/148638/ ... repository
And then run:

Code: Select all

sudo apt update sudo apt install polymake

If that still doesn't work, please post some details on the ubuntu version that you are using and the output of both commands.

Best
Benjamin
Thank you very much! It works :)

Best,
Paul