PDA

View Full Version : [ubuntu] uninstalling aircrack on 12.04



mootaph
June 20th, 2012, 11:37 PM
hi friends, i want to uninstall aircrack-ng 1.1 but i can not. when i try in terminal, it says "Virtual packages like 'aircrack-ng' can't be removed". how to uninstall?

CharlesA
June 20th, 2012, 11:39 PM
How did you install it in the first place?

I don't believe it is in the Ubuntu repos.

mootaph
June 20th, 2012, 11:47 PM
How did you install it in the first place?

I don't believe it is in the Ubuntu repos.

It was not in the Ubuntu repos. So i installed like there: http://www.riyazwalikar.com/2010/12/installing-aircrack-ng-on-ubuntu-1204.html

CharlesA
June 21st, 2012, 12:01 AM
Check the instructions in the tar.gz you installed.

mootaph
June 21st, 2012, 12:19 AM
Check the instructions in the tar.gz you installed.

There is no instructions in the tar.gz. only it says "make uninstall".

wildmanne39
June 21st, 2012, 01:04 AM
Hi, change into the directory that it is installed into then this should get rid of it:

make clean
sudo make uninstall

mootaph
June 21st, 2012, 01:29 AM
sorry but how can i do it? i don't know where the program installed and where is running. :(

Mopar1973Man
June 21st, 2012, 02:15 AM
Actually AirCrack is listed in the Synaptic Package Manager and it will install and uninstall it for you.


sudo apt-get install synaptic

mootaph
June 21st, 2012, 02:42 AM
no sir, it is not in the synaptic.

Curtis6767
June 21st, 2012, 03:08 AM
whereis aircrack

Try that. You'll probably have to get the name perfect so if it is aircrack-ng1.1, then type that in exactly.

mootaph
June 21st, 2012, 02:11 PM
whereis aircrackTry that. You'll probably have to get the name perfect so if it is aircrack-ng1.1, then type that in exactly.

yes i tried it but not helped. perfect name "aircrack". then i tried that : sudo apt-get remove aircrack. but terminal said that E: unable to locate package aircrack.

please, i don't know how to fix the problem. help me.

CharlesA
June 21st, 2012, 02:32 PM
Hi, change into the directory that it is installed into then this should get rid of it:

make clean
sudo make uninstall

This is the way to uninstall a program compiled from source.

I doubt it will be listed in synaptic or any other package manager.

mootaph
June 21st, 2012, 02:47 PM
This is the way to uninstall a program compiled from source.

I doubt it will be listed in synaptic or any other package manager.

when i write in terminal it says:


yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$ make clean
make: *** No rule to make target `clean'. Stop.
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$ sudo make uninstall
[sudo] password for yusuf:
make: *** No rule to make target `uninstall'. Stop.
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$

and it is not listed in synaptic.

CharlesA
June 21st, 2012, 02:51 PM
You need to run it from the aircrack-ng-1.1 folder you unzipped from the tar.gz file.

mootaph
June 21st, 2012, 03:02 PM
You need to run it from the aircrack-ng-1.1 folder you unzipped from the tar.gz file.

how can i do it? i tried, it is in the home folder. first is tar.gz and second is folder. in the folder there are executable icons. i clicked aircrack-ng but not work.

CharlesA
June 21st, 2012, 03:06 PM
cd ~/aircrack-ng-1.1
make clean
sudo make uninstall

mootaph
June 21st, 2012, 03:40 PM
cd ~/aircrack-ng-1.1
make clean
sudo make uninstall

thank you very much, sir. (i think) it s deleted the aircrack:


yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$ cd ~/aircrack-ng-1.2.1
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~/aircrack-ng-1.2.1$ make clean
make -C src clean
make[1]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/src'
make -C osdep clean
make[2]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/src/osdep'
make -C radiotap clean
make[3]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/src/osdep/radiotap'
rm -f *.o
make[3]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/src/osdep/radiotap'
rm -f libosdep.a *.o .os.*
make[2]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/src/osdep'
rm -f aireplay-ng airodump-ng airserv-ng airtun-ng airbase-ng aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs-ng airdecloak-ng aircrack-ng-opt-prof_gen aircrack-ng-opt aircrack-ng-opt-prof prof/* airolib-ng *.o wesside-ng tkiptun-ng easside-ng buddy-ng
make[1]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/src'
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~/aircrack-ng-1.2.1$ sudo make uninstall
[sudo] password for yusuf:
make -C src uninstall
make[1]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/src'
make -C osdep uninstall
make[2]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/src/osdep'
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/src/osdep'
rm -f /usr/local/bin/aircrack-ng
rm -f /usr/local/bin/airdecap-ng
rm -f /usr/local/bin/packetforge-ng
rm -f /usr/local/bin/airolib-ng
rm -f /usr/local/bin/ivstools
rm -f /usr/local/bin/kstats
rm -f /usr/local/bin/buddy-ng
rm -f /usr/local/sbin/airodump-ng
rm -f /usr/local/sbin/airserv-ng
rm -f /usr/local/sbin/airtun-ng
rm -f /usr/local/sbin/aireplay-ng
rm -f /usr/local/sbin/wesside-ng
rm -f /usr/local/sbin/easside-ng
rm -f /usr/local/sbin/airbase-ng
rm -f /usr/local/bin/makeivs-ng
rm -f /usr/local/sbin/airdecloak-ng
rm -f /usr/local/sbin/tkiptun-ng
rm -rf /usr/local/etc/aircrack-ng
make[1]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/src'
rm -fr /usr/local/share/doc/aircrack-ng
make -C manpages uninstall
make[1]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/manpages'
rm -f /usr/local/man/man1/aircrack-ng.1
rm -f /usr/local/man/man1/airdecap-ng.1
rm -f /usr/local/man/man1/airdriver-ng.1
rm -f /usr/local/man/man1/aireplay-ng.1
rm -f /usr/local/man/man1/airmon-ng.1
rm -f /usr/local/man/man1/airodump-ng.1
rm -f /usr/local/man/man1/airserv-ng.1
rm -f /usr/local/man/man1/airtun-ng.1
rm -f /usr/local/man/man1/ivstools.1
rm -f /usr/local/man/man1/kstats.1
rm -f /usr/local/man/man1/makeivs-ng.1
rm -f /usr/local/man/man1/airbase-ng.1
rm -f /usr/local/man/man1/packetforge-ng.1
rm -f /usr/local/man/man1/airdecloak-ng.1
rm -f /usr/local/man/man1/airolib-ng.1
rm -f /usr/local/man/man1/wesside-ng.1
rm -f /usr/local/man/man1/tkiptun-ng.1
rm -f /usr/local/man/man1/buddy-ng.1
rm -f /usr/local/man/man1/easside-ng.1
make[1]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/manpages'
make -C scripts uninstall
make[1]: Entering directory `/home/yusuf/aircrack-ng-1.2.1/scripts'
rm -f /usr/local/sbin/airmon-ng
rm -f /usr/local/sbin/airdriver-ng
rm -f /usr/local/sbin/airodump-ng-oui-update
make[1]: Leaving directory `/home/yusuf/aircrack-ng-1.2.1/scripts'
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~/aircrack-ng-1.2.1$

it is right?

but in home folder there are aircrack and tar.gz folders. and in this directory there is airdecloak-ng : /usr/local/bin

can i manually delete them?

CharlesA
June 21st, 2012, 04:33 PM
Yes. You can delete those two.

Please mark the thread as solved from thread tools. :)

mootaph
June 21st, 2012, 07:47 PM
Yes. You can delete those two.

Please mark the thread as solved from thread tools. :)

last thing, please :) airdecloak working. when i write the name in terminal it is working. so what i can do?

wildmanne39
June 21st, 2012, 07:54 PM
Hi, how to get aircrack and airdecloak working is no longer a supported topic on the forum, it is best discussed on the backtrack forum .
Thanks

mootaph
June 21st, 2012, 08:03 PM
Hi, how to get aircrack and airdecloak working is no longer a supported topic on the forum, it is best discussed on the backtrack forum .
Thanks

i don't know but where is the backtrack forum?

wildmanne39
June 21st, 2012, 08:05 PM
Hi, it is here.
http://www.backtrack-linux.org/forums/forum.php?
Thanks

mootaph
June 21st, 2012, 08:48 PM
Hi, it is here.
http://www.backtrack-linux.org/forums/forum.php?
Thanks

i saw this but i can't write there. please, i just want to delete this program and why it is now in my computer i don't know. i deleted aircrack and deleted other programs. only airdecloak. i'm very bored :( it is in this directory: /usr/local/bin/airdecloak-ng

if i delete it, it wil be dangerous?

thanks.

wildmanne39
June 21st, 2012, 08:53 PM
Hi, okay I see sorry for the misunderstanding try:

rm -f /usr/local/sbin/airdecloak-ng
copy and paste for accuracy.
Thanks

mootaph
June 21st, 2012, 09:01 PM
Hi, okay I see sorry for the misunderstanding try:

rm -f /usr/local/sbin/airdecloak-ngcopy and paste for accuracy.
Thanks

hi, i tried. in the third trying i wrote: rm -f /usr/local/bin/airdecloak-ng. because program is in not "sbin" but in "bin" folder.


yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$ rm -f /usr/local/sbin/airdecloak-ng
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$ rm -f /usr/local/sbin/airdecloak-ng
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$ rm -f /usr/local/bin/airdecloak-ng
rm: cannot remove `/usr/local/bin/airdecloak-ng': Permission denied
yusuf@yusuf-Lenovo-IdeaPad-S10-2:~$

CharlesA
June 21st, 2012, 09:14 PM
sudo rm -v /usr/local/sbin/airdecloak-ng

Generally this is not the best way to remove a program, though.

mootaph
June 21st, 2012, 10:08 PM
sudo rm -v /usr/local/sbin/airdecloak-ngGenerally this is not the best way to remove a program, though.

yes, it's removed now. but its documents or other things which are work the program are still in my system?

thanks

CharlesA
June 22nd, 2012, 12:11 AM
yes, it's removed now. but its documents or other things which are work the program are still in my system?

thanks
Probably.

Mopar1973Man
June 22nd, 2012, 12:19 AM
no sir, it is not in the synaptic.

Sorry about that... I know I had it in the synaptic list back when I was on 11.10 but now its gone with 12.04...

mootaph
June 22nd, 2012, 12:28 AM
Probably.

so you have any idea to how can we delete that things?

CharlesA
June 22nd, 2012, 12:31 AM
so you have any idea to how can we delete that things?
Outside of using find and removing them manually, no.

mootaph
June 22nd, 2012, 02:17 AM
Outside of using find and removing them manually, no.
very hard to find :(

Curtis6767
June 22nd, 2012, 02:56 AM
Why not go back to the site where you originally got the info on how to download and install aircrack and ask how it can be removed?

mootaph
June 22nd, 2012, 01:36 PM
Why not go back to the site where you originally got the info on how to download and install aircrack and ask how it can be removed?
i know that this is "ubuntu forum". problem which i have "related to ubuntu operating system and a program running on ubuntu". and people in this forum here because helping to each other about ubuntu operating system. and i want to that program (which program is for me not important) removed. i'm using ubuntu for idea "help".