下载的软件为什么删不掉?我崩溃了-001(已解决!感谢 fuhuizn)

其它类软件,非上述版软件
回复
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

下载的软件为什么删不掉?我崩溃了-001(已解决!感谢 fuhuizn)

#1

帖子 Frankenstein01 » 2019-05-28 17:41

下载的软件为什么删不掉?我崩溃了-001
顺便问下怎么插入截图?(崩溃...)
我在sysstat网站下了最新版软件,(总之安装不上,后续崩溃中),普通用户用 “sudo aptitude purge 软件包名称” 和 “sudo apt-get --purge remove 软件包名称” 删除时,显示无法找到任何名称或描述中匹配的软件包,和无法定位软件包,无法什么什么的。请问怎么办?
很诡异,那源代码压缩包和解压后的软件包就在我的下载目录里。这两天安装软件这块已经把我搞崩溃了,今天我重装了系统还是不行!!!望大牛尽快回复,愁白了头!!!
上次由 Frankenstein01 在 2019-05-30 17:31,总共编辑 1 次。
onlylove
论坛版主
帖子: 4791
注册时间: 2007-01-14 16:23
送出感谢: 1 次
接收感谢: 137 次

Re: 下载的软件为什么删不掉?我崩溃了-001

#2

帖子 onlylove » 2019-05-28 17:45

又不是apt装的 凭什么用apt卸载啊……说你点什么好
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#3

帖子 Frankenstein01 » 2019-05-28 17:49

onlylove 写了:
2019-05-28 17:45
又不是apt装的 凭什么用apt卸载啊……说你点什么好
aptitude 也删不掉。
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#4

帖子 Frankenstein01 » 2019-05-28 17:51

onlylove 写了:
2019-05-28 17:45
又不是apt装的 凭什么用apt卸载啊……说你点什么好
用aptitude也不行,回复也需要审核?
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#5

帖子 Frankenstein01 » 2019-05-28 17:55

onlylove 写了:
2019-05-28 17:45
又不是apt装的 凭什么用apt卸载啊……说你点什么好
我是看《linux命令行与shell脚本编程大全》和网上查着看的,有没有更详细介绍这个系统的书?那书上写的太简单。
头像
百草谷居士
帖子: 3273
注册时间: 2006-02-10 16:36
系统: ubuntu18.04/Win10
送出感谢: 30 次
接收感谢: 39 次
联系:

Re: 下载的软件为什么删不掉?我崩溃了-001

#6

帖子 百草谷居士 » 2019-05-28 18:13

你可以介绍下,你是怎么安装的,这样才会知道怎么删除。
Ubuntu 19.04
米聊群:Ubuntu交流群,ID:50326269。注册米聊用户后可以搜索加入,即时通讯,沟通更快捷
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#7

帖子 Frankenstein01 » 2019-05-28 18:27

百草谷居士 写了:
2019-05-28 18:13
你可以介绍下,你是怎么安装的,这样才会知道怎么删除。
好的。我就用手机回复了。我看上面提到的那本书,一边看一边学。
我用ubuntu18.04.2系统。在sysstat网站上找了稳定版sysstat.12版本,反正是最新稳定版,下载这个软件,软件后缀是tar.xz,下载后,我先xz -d 软件,变成后缀tar的包,然后tar -xvf 解压软件包,解压后,cd 软件包,进去后有configure文件,我就./configure,并没有显示错误,然后make,再然后sudo make install。但是完成以后,我aptitude show 软件,显示错误:E:无法定位这个软件,dpkg -L 软件,也显示没有安装。然后我删除这个压缩包和解压后的包,都不行。请教如何办?
头像
百草谷居士
帖子: 3273
注册时间: 2006-02-10 16:36
系统: ubuntu18.04/Win10
送出感谢: 30 次
接收感谢: 39 次
联系:

Re: 下载的软件为什么删不掉?我崩溃了-001

#8

帖子 百草谷居士 » 2019-05-29 7:57

不管是dpkg,还是aptitude,还是APT,都是使用deb包管理系统。你使用make install方式安装的软件包,不在deb包管理系统。所以你无法使用这些包管理命令查询是否安装成功,也无法使用这些包管理命令删除。
也就是说,现在还不能确定你安装失败了。不太清楚sysstat是做什么用的,你查看下sysstat的相关说明,看看能否启动这个应用程序
Ubuntu 19.04
米聊群:Ubuntu交流群,ID:50326269。注册米聊用户后可以搜索加入,即时通讯,沟通更快捷
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#9

帖子 Frankenstein01 » 2019-05-29 8:52

百草谷居士 写了:
2019-05-29 7:57
不管是dpkg,还是aptitude,还是APT,都是使用deb包管理系统。你使用make install方式安装的软件包,不在deb包管理系统。所以你无法使用这些包管理命令查询是否安装成功,也无法使用这些包管理命令删除。
也就是说,现在还不能确定你安装失败了。不太清楚sysstat是做什么用的,你查看下sysstat的相关说明,看看能否启动这个应用程序
十分感谢,我对原理这块还不明白,我再仔细研究研究,有不懂的还要请教,谢谢!
头像
zzugyl
帖子: 204
注册时间: 2011-03-07 17:26
系统: Ubuntu 18.04.3 LTS
送出感谢: 0
接收感谢: 8 次

Re: 下载的软件为什么删不掉?我崩溃了-001

#10

帖子 zzugyl » 2019-05-29 14:40

Frankenstein01 写了:
2019-05-28 18:27
百草谷居士 写了:
2019-05-28 18:13
你可以介绍下,你是怎么安装的,这样才会知道怎么删除。
好的。我就用手机回复了。我看上面提到的那本书,一边看一边学。
我用ubuntu18.04.2系统。在sysstat网站上找了稳定版sysstat.12版本,反正是最新稳定版,下载这个软件,软件后缀是tar.xz,下载后,我先xz -d 软件,变成后缀tar的包,然后tar -xvf 解压软件包,解压后,cd 软件包,进去后有configure文件,我就./configure,并没有显示错误,然后make,再然后sudo make install。但是完成以后,我aptitude show 软件,显示错误:E:无法定位这个软件,dpkg -L 软件,也显示没有安装。然后我删除这个压缩包和解压后的包,都不行。请教如何办?
你是GitHub上下载的源码编译安装。原文有说明:

代码: 全选

 By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
常在深闺人未识 一朝成名天下知
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#11

帖子 Frankenstein01 » 2019-05-29 15:11

百草谷居士 写了:
2019-05-29 7:57
不管是dpkg,还是aptitude,还是APT,都是使用deb包管理系统。你使用make install方式安装的软件包,不在deb包管理系统。所以你无法使用这些包管理命令查询是否安装成功,也无法使用这些包管理命令删除。
也就是说,现在还不能确定你安装失败了。不太清楚sysstat是做什么用的,你查看下sysstat的相关说明,看看能否启动这个应用程序
一直很忙,工作中抽空自学,现在你这句话明白了,谢谢。
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#12

帖子 Frankenstein01 » 2019-05-29 15:18

zzugyl 写了:
2019-05-29 14:40
Frankenstein01 写了:
2019-05-28 18:27
百草谷居士 写了:
2019-05-28 18:13

你是GitHub上下载的源码编译安装。原文有说明:

代码: 全选

 By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
你好!我不是在github上下载的,我是在 http://sebastien.godard.pagesperso-orange.fr/ 上下载的sysstat,不过我也在Github上下了其他软件,没有configure文件的,我就看README文件,有的有好几个README文件,只是后缀不一样,英文太长,而且非我本专业,看起来很吃力阿。下面附带sysstat的README.md文件内容:
## sysstat - System performance tools for the Linux operating system
[![Coverity Scan Build Status](https://scan.coverity.com/projects/4040/badge.svg)](https://scan.coverity.com/projects/sysstat-sysstat)
[![Build Status](https://travis-ci.org/sysstat/sysstat.svg?branch=master)](https://travis-ci.org/sysstat/sysstat)
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?c ... 6F9R73ESFQ)

(C) 1999-2018 Sebastien GODARD (sysstat (at) orange (dot) fr)

### Introduction

The sysstat package contains various utilities, common to many commercial Unixes, to monitor system performance and usage activity:

* **iostat** reports CPU statistics and input/output statistics for block devices and partitions.
* **mpstat** reports individual or combined processor related statistics.
* **pidstat** reports statistics for Linux tasks (processes) : I/O, CPU, memory, etc.
* **tapestat** reports statistics for tape drives connected to the system.
* **cifsiostat** reports CIFS statistics.

Sysstat also contains tools you can schedule via cron or systemd to collect and historize performance and activity data:

* **sar** collects, reports and saves system activity information (see below a list of metrics collected by sar).
* **sadc** is the system activity data collector, used as a backend for sar.
* **sa1** collects and stores binary data in the system activity daily data file. It is a front end to sadc designed to be run from cron or systemd.
* **sa2** writes a summarized daily activity report. It is a front end to sar designed to be run from cron or systemd.
* **sadf** displays data collected by sar in multiple formats (CSV, XML, JSON, etc.) and can be used for data exchange with other programs. This command can also be used to draw graphs for the various activities collected by sar using SVG (Scalable Vector Graphics) format.

Default sampling interval is 10 minutes but this can be changed of course (it can be as small as 1 second).

#### System statistics collected by sar:
- Input / Output and transfer rate statistics (global, per device, per partition and per network filesystem)
- CPU statistics (global and per CPU), including support for virtualization architectures
- Memory, hugepages and swap space utilization statistics
- Virtual memory, paging and fault statistics
- Process creation activity
- Interrupt statistics (global, per CPU and per interrupt, including potential APIC interrupt sources, hardware and software interrupts)
- Extensive network statistics: network interface activity (number of packets and kB received and transmitted per second, etc.) including failures from network devices; network traffic statistics for IP, TCP, ICMP and UDP protocols based on SNMPv2 standards; support for IPv6-related protocols
- Fibre Channel traffic statistics
- Software-based network processing (softnet) statistics
- NFS server and client activity
- Sockets statistics
- Run queue and system load statistics
- Kernel internal tables utilization statistics
- Swapping statistics
- TTY devices activity
- Power management statistics (instantaneous and average CPU clock frequency, fans speed, devices temperature, voltage inputs)
- USB devices plugged into the system
- Filesystems utilization (inodes and blocks)

#### Sysstat key features:
- Display average statistics values at the end of the reports.
- On-the-fly detection of new devices (disks, network interfaces, etc.) that are created or registered dynamically.
- Support for UP and SMP machines, including machines with hyperthreaded or multi-core processors.
- Support for hotplug CPUs (it detects automagically processors that are disabled or enabled on the fly) and tickless CPUs.
- Works on many different architectures, whether 32- or 64-bit.
- Needs very little CPU time to run (written in C).
- System statistics collected by sar/sadc can be saved in a file for future inspection. You can configure the length of data history to keep. There is no limit for this history length but the available space on your storage device.
- System statistics collected by sar/sadc can be exported in various different formats (CSV, XML, JSON, SVG, etc.). DTD and XML Schema documents are included in sysstat package. JSON output format is also available for mpstat and iostat commands.
- Smart color output for easier statistics reading.

![Smart color output](images/color_output.png)
- Internationalization support (sysstat has been translated into numerous different languages). Sysstat is now part of the [Translation Project](http://translationproject.org/).
- Sysstat commands can automatically select the unit used to display sizes for easier reading (see option `--human`):

![Sample iostat output](images/iostat.png)

- Graphs can be generated (SVG format - Scalable Vector Graphics) and displayed in your favorite web browser. See some sample screenshots below:

![Fancy sysstat graph](images/cpugraph.jpg)

![Fancy sysstat graph](images/tcgraph.png)

![Fancy sysstat graph](images/loadavg-svg.png)


Sysstat is Open Source / Free Software, and is freely available under the GNU General Public License, version 2.
The latest version of sysstat can always be found on my web site at:

[http://pagesperso-orange.fr/sebastien.godard/](http://pagesperso-orange.fr/sebastien.godard/)

See the CHANGES file to know the new features/improvements/bug fixes added
in this release of sysstat.
Sysstat development can be tracked on [GitHub](https://github.com/sysstat/sysstat).

### Installation

#### Install from RHEL/Fedora/CentOS

Enter:

```
$ sudo yum install sysstat
```

CentOS and Fedora systems call the collector process using a cron job in /etc/cron.d and it's enabled by default.
On recent versions, systemd is used instead of cron. You may need to enable and start the sysstat service:

```
$ sudo systemctl enable sysstat
$ sudo systemctl start sysstat
```

#### Install from Ubuntu

Enter:

```
$ sudo apt-get install sysstat
```

Then enable data collecting:

```
$ sudo vi /etc/default/sysstat
change ENABLED="false" to ENABLED="true"
save the file
```

Last, restart the sysstat service:

```
$ sudo service sysstat restart
```

#### Install from sources

Clone sysstat public repository with:

```
$ git clone git://github.com/sysstat/sysstat
```

Then configure sysstat for your system:

```
$ cd sysstat
$ ./configure
```

You can set several variables and parameters on the command line. For example you
can enter the following option to activate data collecting (either using cron or systemd):

```
$ ./configure --enable-install-cron
```

Enter `./configure --help` to display all possible options.
Note: There is another way to configure sysstat instead of entering `./configure`:
This is the **Interactive Configuration script** (_iconfig_) which will ask you
for the value of the main sysstat variables and parameters.
Enter `./iconfig` then answer the questions or enter Return to accept
the (sane) default values. For yes/no questions, answer 'y' or 'n'
(without the quotes): It is case sensitive! You can also enter '?' to get
a help message that will explain the meaning of each variable or parameter.

Compile and install:

```
$ make
$ sudo make install
```

### Feedback welcome!

Please use the BUG_REPORT template file to report a bug: It contains important data
that should be provided for this.
Please also remember to read the FAQ that comes with sysstat or is available
from the Wiki page on GitHub.

Opening a pull request is the preferred way to submit a patch.
Patches and suggestions for improvements are always welcome!

### Support sysstat!

If you are reading this README file then you are probably about to use the sysstat tools
to help you monitor your system and maybe troubleshoot some performance issues. Good choice.
Sysstat is made for you. Moreover sysstat is free software and always will be.

Yet have you ever considered making a donation to sysstat, regardless of how much your
contribution is? This in turn would encourage me to keep up the work as good as it can be...
Oh, and it would certainly also help me explain to my wife why I spend so much time in front
of my computer instead of taking care of the household ;-)

Click on the "Donate PayPal" button above at the beginning of this file.
You can also make a donation [from my web page](http://pagesperso-orange.fr/sebastien.godard/).

Enjoy!

--

Sebastien GODARD - sysstat (at) orange (dot) fr
fuhuizn
帖子: 859
注册时间: 2006-01-06 22:55
系统: ubuntu
送出感谢: 0
接收感谢: 21 次
联系:

Re: 下载的软件为什么删不掉?我崩溃了-001

#13

帖子 fuhuizn » 2019-05-29 18:03

还回到你编译软件的目录里,一般这种形式的软件用下面的命令卸载:
make uninstall
这些用户感谢了作者 fuhuizn 于这个帖子:
Frankenstein01 (2019-05-30 17:27)
评价: 3.7%
Frankenstein01
帖子: 17
注册时间: 2019-05-28 17:26
系统: Ubuntu18.04.2LTS
送出感谢: 1 次
接收感谢: 0

Re: 下载的软件为什么删不掉?我崩溃了-001

#14

帖子 Frankenstein01 » 2019-05-30 17:27

fuhuizn 写了:
2019-05-29 18:03
还回到你编译软件的目录里,一般这种形式的软件用下面的命令卸载:
make uninstall
非常感谢您!
我在家里的电脑试了OK,单位的电脑显示:make: *** 没有规则可制作目标“uninstall”。 停止。
您给我开辟了一个方向,我查了make uninstall/distclean,和./configure时指定目录然后删除。
一针见血的指明了要害并解决了问题,就像肿瘤药物中靶向药物直中靶点!
感谢您的帮助!
回复

回到 “其它类软件”