5 votes

Pourquoi je ne peux pas supprimer iTunes et comment le faire ?

Chaque fois que je cours sudo rm -rf /Applications/iTunes.app Il est supprimé, mais après un certain temps, il est automatiquement restauré. Comment puis-je me débarrasser définitivement d'iTunes sans risque de le voir réapparaître ?

5voto

nohillside Points 82672

Si vous souhaitez simplement l'empêcher de se lancer, exécutez la commande

sudo chmod 000 /Applications/iTunes.app

devrait faire l'affaire. Cette opération doit être répétée après chaque mise à jour d'OS X/iTunes, mais elle s'applique également à toute solution impliquant la suppression d'applications standard.

PS : Juste pour mettre les choses en perspective en ce qui concerne l'espace disque :

root@Mithos:/Applications$ du -sm iTunes.app Chess.app Game\ Center.app Stickies.app Photo\ Booth.app Photos.app 
191 iTunes.app
5   Chess.app
3   Game Center.app
5   Stickies.app
5   Photo Booth.app
31  Photos.app

Même sur un système doté d'un disque SSD de 128 Go, l'extraction de 200 Mo ne donne pas grand-chose.

2voto

thomasfuchs Points 150

La désinstallation d'iTunes n'est pas prise en charge par Apple. En le glissant dans la corbeille et en essayant de le supprimer, vous obtiendrez le message suivant : "iTunes ne peut pas être modifié ou supprimé car il est requis par OS X".

Même si vous le faites manuellement, il reviendra avec les mises à jour du système d'exploitation ; et vous risquez de casser certaines choses comme certaines associations de fichiers et les capacités de connexion/synchronisation de l'iPhone.

La meilleure solution est probablement de laisser le problème en suspens et de l'ignorer.

-2voto

rm -f -r /Applications/iTunes.app

l'a supprimé pour moi, tout comme Chess, Game Centre, Photo Booth et Stickies.

Vous devez d'abord décharger l'application ituneshelper (utilisez le moniteur d'activité). Je n'ai pas eu besoin de le faire car je supprime les déchets inutiles d'OS X immédiatement après le lancement.

Il est faux de dire qu'il est requis par OS X, il est seulement requis par Apple pour vous vendre des produits.

voici un Application AppleScript pour l'automatiser, ou vous pouvez simplement coller ce qui suit dans l'éditeur AppleScript et l'adapter à votre goût :

(*  Start Apple Peeler Lite and ignore any found entries  *)
display dialog "This will remove unwanted Desktop Pictures, Screensavers, Dictionaries, Languages, Voices & the following apps:

Chess
Games Centre
iTunes
Photo Booth
Stickies

Click OK to start, you will be prompted for your password"

(*  Applications  *)
do shell script "rm -f -r /Applications/Chess.app" with administrator privileges
do shell script "rm -f -r /Applications/'Game Center.app'" with administrator privileges
do shell script "rm -f -r /Applications/iTunes.app" with administrator privileges
do shell script "rm -f -r /Applications/'Photo Booth'.app" with administrator privileges
do shell script "rm -f -r /Applications/Stickies.app" with administrator privileges

(*  Voices  *)
do shell script "rm -f -r /System/Library/Speech/Voices/Alex.SpeechVoice" with administrator privileges

(*  Dictionaries  *)
do shell script "rm -f -r /Library/Dictionaries/'The Standard Dictionary of Contemporary Chinese.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Diccionario General de la Lengua Española Vox.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Dutch.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Italian.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Korean - English.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Korean.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Multidictionnaire de la langue française.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Portuguese.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Russian.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Sanseido Super Daijirin.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Sanseido The WISDOM English-Japanese Japanese-English Dictionary.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Simplified Chinese - English.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Spanish - English.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Thai.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Turkish.dictionary" with administrator privileges

(*  Screen Savers  *)
do shell script "rm -f -r /Library/'Screen Savers'" with administrator privileges

(*  Desktop Pictures  *)
do shell script "rm -f -r /Library/'Desktop Pictures'/Abstract.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Isles.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Antelope Canyon.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Lake.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Bahamas Aerial.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Lion.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Beach.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Milky Way.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Blue Pond.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Moon.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Bristle Grass.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Mountain Range.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Brushes.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Mt. Fuji.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Circles.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Pink Forest.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Death Valley.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Pink Lotus Flower.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Desert.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Poppies.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Ducks on a Misty Pond.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Red Bells.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Eagle & Waterfall.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Rice Paddy.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Earth Horizon.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Rolling Waves.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Earth and Moon.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Shapes.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Elephant.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Sky.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Flamingos.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Snow.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Floating Ice.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Floating Leaves.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Underwater.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Foggy Forest.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Wave.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Forest in Mist.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Foxtail Barley.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Frog.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Galaxy.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Grass Blades.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Hawaiian Print.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Zebras.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 2.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 3.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 4.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 5.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/.localizations" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/.orderedPictures.plist" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/.thumbnails" with administrator privileges

(*  Languages  *)
do shell script "rm -f -r /System/Library/LinguisticData/da" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/de" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/es" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/fi" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/fr" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/it" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/ko" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/nl" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/no" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/pt" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/ru" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/sv" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/th" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/tr" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/zh" with administrator privileges

(*  Widgets & Folders  *)
do shell script "rm -f -r /Library/Widgets" with administrator privileges
do shell script "rm -f -r /Library/iTunes" with administrator privileges
do shell script "rm -f -r /Library/Documentation/Applications" with administrator privileges
do shell script "rm -f -r /Library/Documentation/iPod" with administrator privileges
do shell script "rm -f -r ~/Library/Caches/com.apple.iTunes" with administrator privileges
do shell script "rm -f -r ~/Library/Caches/GameKit" with administrator privileges
do shell script "rm -f -r ~/Library/Caches/com.apple.gamed" with administrator privileges
do shell script "rm -f -r ~/Library/iTunes" with administrator privileges
do shell script "rm -f -r ~/Library/Preferences/ByHost/com.apple.iTunes.*.plist" with administrator privileges
do shell script "rm -f -r ~/Library/Preferences/com.apple.gamed.plist" with administrator privileges

display dialog "Success!

Unwanted Desktop Pictures, Screensavers, Applications, Dictionaries, Languages & Voices have been removed

Please Restart your Mac" giving up after 15
(*  End Apple Peeler Lite *)

LesApples.com

LesApples est une communauté de Apple où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres utilisateurs d'appareils Apple, poser vos propres questions ou résoudre celles des autres.

Powered by:

X