How to unload the software installed with make install

How do you unmount the software installed with make integration?

Use ./configure in Linux && make && How can I delete this software after making it?
If an rpm package is available, try to avoid installation using a source package. The rpm package management tool for Linux is powerful and easy to manage. If you have to install it with a source package, specify — prefix installation directory at the time of installation, and use the other installation
make >& LOG_make &
make install >& LOG_install &
The common anti-installation targets are: make uninstall/distlean/veryclean etc.

Remember all the output logs of ‘make install’, ‘make install &> ⁇ tee make.log’. Then you can see in the log that those files are installed to those positions, and usually copy them using ‘cp’ or ‘install’ commands.

Use auto-apt and checkinstall with specific commands as follows:

# Install auto-apt and checkinstall

apt install auto-apt checkinstall

# In the source directory

auto-apt run ./configure
make
checkinstall

It’s easy to unload and re-install a Deb package. # Total unmounting (packagename specific name will be hinted after the checkintall is finished)

dpkg -r packagename

# Re-installation with generated Deb packages

dpkg -i ***.deb

More practical commands# List the file locations installed in the package

dpkg -L packagename

# Checking for installation success

dpkg -l | grep packagename

# Idem

apt list --installed | grep packagename]

Generally, make install completes a file of all the contents of the installation and then…xargs rm < install_manifest.txt. Without this file, you can remake install yourself and filter the install information out of the log.

Not every source package provides make uninstall, which is not a common method. If you set it — prefix to a single folder — then delete the folder, but if you install it in places like /usr, there is no particularly simple way to remove it. So the distributions provide various packages management for this kind of thing.

Load directory, rm-ref delete all directories and should be able to remove them clean as they are whereis python

python: /usr/bin/python2.6-config /usr/bin/python2.6 /usr/bin/python /usr/lib/python2.6 /usr/lib64/python2.6 /usr/local/bin/python3.3m-config /usr/local/bin/python3.3m /usr/local/bin/python3.3 /usr/local/bin/python3.3-config /usr/local/lib/python3.3 /usr/include/python2.6 /usr/share/man/man1/python.1.gz

lsff
Get-prefix’s good habits, if it’s installed, find /-name ‘*XXX* all the files and delete them.
If prefix is specified at the time of installation, delete it directly. If not, and if source code does not provide a function for make uninstall/distlean/veryclean, I usually do so:

Find a temporary directory to install again. For example ./configure-prefix=/tmp/to_remove && Make install and then go through the files in /tmp/to_remove, and delete all files where you were installed.

The downside is that some folders may not be deleted.

It is recommended to use –prefix=/path/you/want/to/install/ to compile the installation, and only remove the directory when unmounting
Estimated time of installation, find files or folders created during this period and kill them selectively.
Some of them don’t have a hearty offer. Others do not find their businesses. But don’t be discouraged. This year is a very special time for warmth. So we have to prepare our autumn moves ahead, get information about jobs and do our homework. So when does the fall start?View Details
  • Make input generate files.isted.list
  • Select to clean the documents described in.istalled.list (if multiple versions require special care)
  • Case: rubby2.4 toggle to rubby 2.3, delete all ruby software directly and reset to 2.3
知乎用户

It’s really understandable by analogy that windows, like the software installed under Window would leave a huge amount of garbage, such as in the register. So it usually provides uninstall programs to do offloading. And Linux does not do well on this point and depends on management. It’s nightmare for white. But providing software functions in the form of docker services can solve uninstall’s nightmares. So how do you weigh your own structure?

Re-install the software in a clean folder, then check out what’s in that folder and drop the rm from usr accordingly.

# Maybe INSTRAW_PREFIX, PREFIX # # if there’s a catalogue tree # # If it’s /usr you might need to add something before xargs cd xx; find. – type f ⁇ cut-c2-xargs rm-f

For the time being, the catalogue does not have a very simple approach.


未经允许不得转载:萌萌Apprentissage » How to unload the software installed with make install

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本