You are not logged in.
Hi guys,
Need help removing a package installed using make install.
I had installed GNS3 using make install now i dont want it and cant find its installed location.
Any suggestions?
Thanks.
Last edited by loneranger007 (2017-09-13 13:41:00)
Where there is a shell, there is a way.
Offline
Hope the Makefile has a make uninstall recipe. Failing that, read the install recipe and undo it manually.
Cross your fingers and hope no packaged files got overwritten by it. You can check afterwards which packages are damaged by using pacman's --check flag. (see 'man pacman')
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Hope the Makefile has a make uninstall recipe. Failing that, read the install recipe and undo it manually.
Cross your fingers and hope no packaged files got overwritten by it. You can check afterwards which packages are damaged by using pacman's --check flag. (see 'man pacman')
no it does not have an uninstall recipe.
How to read the install recipe?
Where there is a shell, there is a way.
Offline
What is GNS3? Where did you get the source/makefile? My first google results lead to a python package which does not use a makefile (so no "make install"). Is there an uninstall directive in the Makefile?
EDIT: initially cross posted with the above.
----
How do you read it? With your eyes... if you want help understanding it, you need to share it or provide a link to where you got it.
Last edited by Trilby (2017-09-13 12:51:47)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
What is GNS3? Where did you get the source/makefile? My first google results lead to a python package which does not use a makefile (so no "make install"). Is there an uninstall directive in the Makefile?
EDIT: initially cross posted with the above.
----
How do you read it? With your eyes... if you want help understanding it, you need to share it or provide a link to where you got it.
Where there is a shell, there is a way.
Offline
There are several gns3 related repos there, which one did you use? I'm not going to skim through all of them. As I said, I already checked one, and it was clearly the wrong one.
You might want to make it less difficult to help you.
What steps did you take to install this unspecified software? How might one replicate what you did? What makefile was used?
Last edited by Trilby (2017-09-13 12:56:17)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
There are 17 different repositories in that Github account - did you want us to investigate all of them for you?
Offline
There are several gns3 related repos there, which one did you use? I'm not going to skim through all of them. As I said, I already checked one, and it was clearly the wrong one.
You might want to make it less difficult to help you.
What steps did you take to install this unspecified software? How might one replicate what you did? What makefile was used?
it is the gns3-gui.
https://github.com/GNS3/gns3-gui
Where there is a shell, there is a way.
Offline
Ok, how about the other questions - jesus, this is like pulling teeth.
There is no Makefile in that repository, so `make install` would not do anything. It is a python package which could use python setup.py. So again what steps did you take to install this, and how might one replicate what you did.
Obligatory at this point: read it.
Last edited by Trilby (2017-09-13 13:02:12)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Im sorry guys.Im kinda new to this things.
mkdir -p /tmp/gns3
cd /tmp/gns3
git clone https://github.com/GNS3/gns3-gui.git
cd gns3-gui
sudo python setup.py install
This is what i did.
Where there is a shell, there is a way.
Offline
Oh for fuck sake. You forgot the last step you did: you posted on a forum completely misrepresenting the situation asking for help while expecting your would-be helpers to be 100% clairevoyant to know what you actually did despite you giving minimal information none of which was true.
The solution via google:
https://stackoverflow.com/questions/155 … ll#1550235
Note that being new absolutely excuses not understanding how things work. We can help you learn. Being new doesn't excuse lying, avoiding answering questions, and wasting people's time.
Last edited by Trilby (2017-09-13 13:08:46)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
cat files.txt | xargs rm -rf
The following is probably obvious, but in case it isn't to OP: take a good look at that `files.txt` before running that command, to be sure you won't nuke directories belonging to other parts of the system.
Offline
Oh for fuck sake. You forgot the last step you did: you posted on a forum completely misrepresenting the situation asking for help while expecting your would-be helpers to be 100% clairevoyant to know what you actually did despite you giving minimal information none of which was true.
The solution via google:
https://stackoverflow.com/questions/155 … ll#1550235
Note that being new absolutely excuses not understanding how things work. We can help you learn. Being new doesn't excuse lying, avoiding answering questions, and wasting people's time.
Can you please tell me where you though I was lying.
Ultimately it is my need to get this thing fixed, So why should i purposefully waste your time and mine.
and this /tmp/gns3 folder is not present where i created it.
Where there is a shell, there is a way.
Offline
There may be better answers in that SO thread too. That really was the very first google result and it demonstrates that solutions are readily available.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I had installed GNS3 using make install
You didn't use make install.
The *only* piece of information you have us was a complete misrepresentation.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
loneranger007 wrote:I had installed GNS3 using make install
You didn't use make install.
The *only* piece of information you have us was a complete misrepresentation.
Ok..I'm Sorry for that.
I had installed another package with this for which i used make install, got confused.Sorry!
Where there is a shell, there is a way.
Offline
and this /tmp/gns3 folder is not present where i created it.
That's because /tmp is usually mounted as a tmpfs. But you did do this to get the GNS3 files:
mkdir -p /tmp/gns3 cd /tmp/gns3 git clone https://github.com/GNS3/gns3-gui.git cd gns3-gui
So simply repeat those steps.
Offline
Guys got it fixed.
The page Trilby had suggested had an option to uninstall it via pip.
pip uninstall gns3-gui
This got it fixed for me. Not sure if it has removed all the files though.
Where there is a shell, there is a way.
Offline
I'm glad it worked out in the end (and thanks for the title edit, that may help others now). For future reference please take the time to provide details in your initial posts - that would have allowed us to get to a solution *much* faster and with much less frustration.
A general guideline for almost any troubleshooting is to provide a list of steps by which others could replicate what you have done.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I'm glad it worked out in the end (and thanks for the title edit, that may help others now). For future reference please take the time to provide details in your initial posts - that would have allowed us to get to a solution *much* faster and with much less frustration.
A general guideline for almost any troubleshooting is to provide a list of steps by which others could replicate what you have done.
Yeah..I understood my mistake.
I reacted before really understanding the problem.
Sorry for the trouble and thanks for the help.
Where there is a shell, there is a way.
Offline