Ubuntu 16.04 (Xenial Xerus) - gnuplot

Ubuntu 16.04 (Xenial Xerus) - gnuplot

HOW TO INSTALL
https://www.howtoinstall.co/en/

How to install gnuplot on Ubuntu 16.04 (Xenial Xerus) ?
https://www.howtoinstall.co/en/ubuntu/xenial/gnuplot

1. Install gnuplot

Installing gnuplot package on Ubuntu 16.04 (Xenial Xerus) is as easy as running the following command on terminal:
在 Ubuntu 16.04 (Xenial Xerus) 上安装 gnuplot 包就像在终端上运行以下命令一样简单:

sudo apt-get update
sudo apt-get install gnuplot

sudo apt-get update -y
sudo apt-get install -y gnuplot

distribution [dɪstrɪ'bjuːʃ(ə)n],distro:n. 分布,分配,供应
Advanced Package Tool,APT
xenial ['zinɪəl]:adj. 异花受粉的,主客关系的,款待的

2. Uninstall gnuplot

To remove just gnuplot package itself from Ubuntu 16.04 (Xenial Xerus) execute on terminal:
要从 Ubuntu 16.04 (Xenial Xerus) 中删除 gnuplot 包本身,请在终端上执行:

sudo apt-get remove gnuplot

3. Uninstall gnuplot and it’s dependent packages

To remove the gnuplot package and any other dependant package which are no longer needed from Ubuntu Xenial.
从 Ubuntu Xenial 中删除不再需要的 gnuplot 包和任何其他依赖包。

sudo apt-get remove --auto-remove gnuplot

4. Purging gnuplot

If you also want to delete configuration and/or data files of gnuplot from Ubuntu Xenial then this will work:
如果你还想从 Ubuntu Xenial 中删除 gnuplot 的配置和/或数据文件,那么这将有效:

sudo apt-get purge gnuplot

To delete configuration and/or data files of gnuplot and it’s dependencies from Ubuntu Xenial then execute:
要从 Ubuntu Xenial 删除 gnuplot 的配置和/或数据文件及其依赖项,请执行:

sudo apt-get purge --auto-remove gnuplot

strong@foreverstrong:~$ gnuplot
The program 'gnuplot' can be found in the following packages:
 * gnuplot-nox
 * gnuplot-qt
 * gnuplot-x11
 * gnuplot5-nox
 * gnuplot5-qt
 * gnuplot5-x11
Try: sudo apt install <selected package>
strong@foreverstrong:~$
strong@foreverstrong:~$ sudo apt-get update
......
strong@foreverstrong:~$ sudo apt-get install gnuplot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  aglfn gnuplot-tex gnuplot5-data gnuplot5-qt liblua5.1-0
Suggested packages:
  feedgnuplot gnuplot-doc libgnuplot-iostream-dev python-gnuplot gnuplot5-doc
The following NEW packages will be installed:
  aglfn gnuplot gnuplot-tex gnuplot5-data gnuplot5-qt liblua5.1-0
0 upgraded, 6 newly installed, 0 to remove and 601 not upgraded.
Need to get 1,159 kB of archives.
After this operation, 3,692 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 aglfn all 1.7-3 [29.4 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 gnuplot-tex all 4.6.6-3 [10.1 kB]                                                                                                 
Get:3 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 gnuplot5-data all 5.0.3+dfsg2-1 [59.3 kB]                                                                                         
Get:4 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 liblua5.1-0 amd64 5.1.5-8ubuntu1 [102 kB]                                                                                             
Get:5 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 gnuplot5-qt amd64 5.0.3+dfsg2-1 [951 kB]                                                                                          
Get:6 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 gnuplot all 4.6.6-3 [6,970 B]                                                                                                     
Fetched 1,159 kB in 43s (26.8 kB/s)                                                                                                                                                               
Selecting previously unselected package aglfn.
(Reading database ... 317059 files and directories currently installed.)
Preparing to unpack .../archives/aglfn_1.7-3_all.deb ...
Unpacking aglfn (1.7-3) ...
Selecting previously unselected package gnuplot-tex.
Preparing to unpack .../gnuplot-tex_4.6.6-3_all.deb ...
Unpacking gnuplot-tex (4.6.6-3) ...
Selecting previously unselected package gnuplot5-data.
Preparing to unpack .../gnuplot5-data_5.0.3+dfsg2-1_all.deb ...
Unpacking gnuplot5-data (5.0.3+dfsg2-1) ...
Selecting previously unselected package liblua5.1-0:amd64.
Preparing to unpack .../liblua5.1-0_5.1.5-8ubuntu1_amd64.deb ...
Unpacking liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
Selecting previously unselected package gnuplot5-qt.
Preparing to unpack .../gnuplot5-qt_5.0.3+dfsg2-1_amd64.deb ...
Unpacking gnuplot5-qt (5.0.3+dfsg2-1) ...
Selecting previously unselected package gnuplot.
Preparing to unpack .../gnuplot_4.6.6-3_all.deb ...
Unpacking gnuplot (4.6.6-3) ...
Processing triggers for tex-common (6.04ubuntu1) ...
Running mktexlsr. This may take some time... done.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
/sbin/ldconfig.real: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.6 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libcudnn.so.6 is not a symbolic link

Processing triggers for man-db (2.7.5-1) ...
Setting up aglfn (1.7-3) ...
Setting up gnuplot-tex (4.6.6-3) ...
Setting up gnuplot5-data (5.0.3+dfsg2-1) ...
Setting up liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
Setting up gnuplot5-qt (5.0.3+dfsg2-1) ...
update-alternatives: using /usr/bin/gnuplot5-qt to provide /usr/bin/gnuplot (gnuplot) in auto mode
update-alternatives: using /usr/bin/gnuplot5-qt to provide /usr/bin/gnuplot5 (gnuplot5) in auto mode
Setting up gnuplot (4.6.6-3) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
/sbin/ldconfig.real: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.6 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libcudnn.so.6 is not a symbolic link

strong@foreverstrong:~$

猜你喜欢

转载自blog.csdn.net/chengyq116/article/details/93421886