Path: csiph.com!weretis.net!feeder7.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Terminal set to "unknown" in gnuplot 5.2.6 Date: Thu, 21 Feb 2019 19:24:50 +0100 Organization: solani.org Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1550773490 21867 127.0.0.43 (21 Feb 2019 18:24:50 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 21 Feb 2019 18:24:50 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 Content-Language: en-GB Cancel-Lock: sha1:F8VeIF6Pb6br808ATXXEqx4IqNw= X-User-ID: eJwNxcEBwCAIA8CVRAjgOATL/iPY+xzUxTvM4YbB7FLKGHRVbdImYDKNHVf1sPM7yRX/lJvJBx4pEVw= In-Reply-To: Xref: csiph.com comp.graphics.apps.gnuplot:4155 Am 20.02.2019 um 14:30 schrieb jaga.physics94@gmail.com: > Hi, > I have installed gnuplot 5.2.6 package from 'http://gnuplot.sourceforge.net/' and installed in my ubuntu 18.04. After opening it in my terminal, I found terminal is set to unknown. That result is tbe., because you very likely don't have installed the numerous -dev packages of ubuntu that gnuplot needs to build all the fancy interactive terminals. See e.g. here https://stackoverflow.com/questions/29526044/installing-gnuplot-5-0-on-ubuntu/31819448#31819448 > I tried to remove the gnuplot by using the commang 'sudo apt remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot' and then tried to install gnuplot using the command 'sudo apt-get install gnuplot-qt', but event after all these my gnuplot is still showing terminal set to unknown. These commands, as already mentioned in another post, did _not_ un/install the gnuplot you compiled by yourself, but a previous, precompiled version that you had installed via ubuntu's package manager (the executable should be in /usr/bin, you can run it from there). When looking for an executable, your shell inevitably first finds the one you compiled yourself (it's located in /usr/local/bin or such place), and doesn't look any further. I believe if you go back into the source folder, and type "make uninstall", it gets removed. Or you can delete it by hand. So there are two possibilities: You either go back to ubuntu's stock gnuplot package, or you re-compile from the sources as explained in the link above. Good luck! Karl