I used a tar -xvf ParaView-5.9.1-MPI-Linux-Python3.8-64bit.tar.gz to attempt to install Paraview 5.9.1 onto my Ubuntu 20.04 system. The tar file is 494.5 MB.
Unfortunately I unpacked 168 pages of file names all over my system; including demos and /cinema/view/2.0/images and /pytz/zoneinfo/Navajo. There are 970,000 characters in the unpack list, I cannot go thru and manually delete 1 million files.
Of course Paraview itself won’t work and I believe I should build the app from source rather than try to use a pre-compiled binary.
Thus the question is: how do I get rid of the tar files and remove all the extra stuff it blew all over my OS? I saved the program output to a doc file but it is 168 pages long. Thus deleting files manually is impossible.
General instructions seem to be:
Next compile and install the software (use configure & make to compile it):
Finally compare both lists using the diff utility to find out what files are placed where. This list can be used to uninstall all files installed using source tar ball.
diff packagelist.b4 packagelist.after > package.uninstall.list
Say, if you wish to uninstall files then you need to get list of files from package.uninstall.list file. Use the following small for loop at shell prompt to remove all files:
for i in $(grep “>” package.uninstall.list | awk ‘{ print $2 }’)
do
/bin/rm -fi “$i”
done
It’s a bit confusing. I want to remove the contents of a tarball but the instructions say to compile it. There is no compilation and any source code will be different.
I did manually save the install log, which is the 168 page document. Somewhere in there is perhaps a file which lists everything untarred. How do I find and use it?