|
|
For those who need to install skype on Kali Linux, here goes a script based on these instructions and others. The idea is to generate an uninstall script too, which will be specially usefull if you are using 64 bits version of Kali as I am doing:
#!/bin/bash
num_version=$(lsb_release -rs | awk '{print $3}')
apt-get update
apt-get install gdebi -y
dpkg --add-architecture i386
apt-get update
wget http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb
dpkg --get-selections | grep -v deinstall | cut -f1 > before_install
apt-get update
gdebi skype-debian_4.2.0.13-1_i386.deb
echo "#!/bin/bash\
" > uninstall_skype_kali-$num_version.sh
sudo dpkg --get-selections | grep -v deinstall | cut -f1 > after_install
diff before_install after_install | grep '>' | awk '{print $2}' | sed -e :a -e N -e 's/\n/ /g' -e ta \
| sed 'i\sudo apt-get remove --purge\' | sed -e :a -e N -e 's/\n/ /g' -e ta >> uninstall_skype_kali-$num_version.sh
echo "dpkg -r skype
sudo apt-get autoremove -y
sudo apt-get autoclean
dpkg --remove-architecture i386" >> uninstall_skype_kali-$num_version.sh
chown $USER:$USER uninstall_skype_kali-$num_version.sh
chmod u+x uninstall_skype_kali-$num_version.sh
rm before_install after_install
Categories: Informática, Linux/Darwin, Hacking