Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/04/2009, à 00:51

clem87

Comment désinstaller un logiciel installer sans passer par un paquet

Bonjour à tous

Voila j'ai installer iPodder (que je n'ai pas réussi à faire fonctionner), à partir d'une archive téléchargé sur SourceForce.
http://sourceforge.net/project/showfile … _id=356624

Pour installer le programme, j'ai simplement executé install.sh

bref je n'ai pas utilisé de packet.
Comment dans ce cas désinstaller le logiciel. Je sais trouver l'executable

clem@clem-laptop:/$ whereis iPodder 
iPodder: /usr/bin/iPodder

Mais je pense que l'installation a déposé plein d'autres fichiers à des endroits inconnues.

J'ai déja été confronté plusieurs fois à ce type de problèmes (installation de prog par un executable "maison" qui fait on ne sait quoi). Y a t'il une méthode pour supprimer les fichiers et désinstaller proprement?

j'ai pensé à regarder de près le script d'installation, mais je suis pas expert, le voici

#!/bin/bash
# iPodder linux installer 2.1
# Created by Scott Grayban <sgrayban@borgnet.us>
# Mon Apr 11 2005
# lets define all our variables first
# this really makes the script easier to change if needed
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# $Id: install.sh,v 1.4 2005/09/16 01:47:45 sgrayban Exp $
#
#########################################################

NAME="iPodder"
INSTALLER_NAME="$NAME installer"
INSTALLER_VERSION="2.2"
INSTALLER_PATH="/opt/${NAME}"
INSTALLER_BIN="/usr/bin"
INSTALLER_COPYRIGHT="Copyright 2005, ${NAME} Team"
INSTALLER_LICENSE="
${NAME} comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under the terms
of the GNU General Public License.
See LICENSE for details.
"
SUPPORT="http://support.ipodderlemon.com/"
WEBSITE="http://ipodder.sourceforge.net/"

# Clean active window
clear

echo "Welcome to the ${INSTALLER_NAME}"
echo "${INSTALLER_NAME} written by Scott Grayban"
echo "${INSTALLER_NAME} ${INSTALLER_VERSION} (${INSTALLER_COPYRIGHT})"
echo "${INSTALLER_LICENSE}"
echo "---------------"
echo ""

#check if we are root to install
echo $N "Checking UID... "
if [ `id -u` = "0" ]
  then
    echo "GOOD! your root."
    echo ""
  else
    echo "Sorry, you have to be 'root'. Please su(do) and try again"
    echo ""
    exit 1
fi

# lets remove the old historical directory first
if [ -d /opt/iSpider ]
  then
    /bin/rm -fr /opt/iSpider
fi

echo "Starting installation/update"
echo ""
# lets check if ipodder has been installed before
# if so we just delete the contents to make sure they get the newest files
# if not we create it
if [ -d ${INSTALLER_PATH} ]
  then
echo "Install type:   Upgrade"
/bin/rm -fr ${INSTALLER_PATH}/*
  else
echo "Install type:   New"
mkdir ${INSTALLER_PATH}
fi

echo "Install path:   ${INSTALLER_PATH}"
echo "Bin path:       ${INSTALLER_BIN}"
echo -e '\E[1;33;44m\E[5m'"\033[1m***NOTE*** Please read README before installing\033[0m\n"
echo -n "Press any key to start or crtl+c to quit. "
read var

echo "Please wait....."
echo ""
echo "Making symbolic link to binary..."
ln -sf ${INSTALLER_PATH}/iPodder.sh ${INSTALLER_BIN}/${NAME}
echo "Copying files..."
cd ..
cp -f -R iPodder_linux/* ${INSTALLER_PATH}
cd iPodder_linux/
echo "Installation finished"
echo ""
echo "Please read the files:
	${INSTALLER_PATH}/README
	${INSTALLER_PATH}/ChangeLog
	${INSTALLER_PATH}/TODO
	${INSTALLER_PATH}/KNOWN-ISSUES"
echo ""
echo -e "Webiste is at \033[4m${WEBSITE}\033[0m"
echo -e "If you need support goto \033[4m${SUPPORT}\033[0m"
echo ""
echo "You can start ${NAME} with: ${INSTALLER_BIN}/${NAME}"
echo ""

j'ai rien trouvé dans mon dossier /opt (je supposais à la lecture du script que des fichiers avaient été placés).

Le but de ce poste est double.
- Pour ce cas précis supprimer iPodder
- En règle générale comment procéder après une installation foireuse sans passer par un paquet en exécutant un script ou autre (pas pour les prog compilé pour lesquels j'ai découvert checkinstall qui crée des packets ce qui permet de les supprimer ensuite avec apt-get)

#2 Le 24/04/2009, à 00:55

xabilon

Re : Comment désinstaller un logiciel installer sans passer par un paquet

Salut

As-tu lu le fichier README ? la procédure de désinstallation y est peut-être décrite

Sinon ... ça dépend du script. Certains scripts acceptent des options comme ./install.sh --uninstall, mais là ça n'a pas l'air d'être le cas.

Le script suggère que des fichiers ont été installés dans /opt/iPodder/, et dans /usr/bin


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#3 Le 24/04/2009, à 10:28

clem87

Re : Comment désinstaller un logiciel installer sans passer par un paquet

Rien de spécial dans le readme

iPodder -- The cross-platform Podcast receiver
----------------------------------------------
iPodder comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to
redistribute it under the terms of the
GNU General Public License.

See LICENSE for details.
----------------------------------------------

Website: http://ipodder.sourceforge.net/
Linux Support: http://ipodder.sourceforge.net/support/

Linux Version 2.2 -- April 16, 2005.

Important files:
-----------------
Changelog
INSTALL
TODO
LICENSE
README

Prerequisites:
-----------------
Python2.4+
python-gtk
wxPythonGTK or wxPython on some distro's
libwxPythonGTK2.5_2
pythonlib
libpython2.4
libxml2-python
pyxmms  (for xmms support in python)

**** Please note that python 2.5 isn't out on all
**** distro's yet and wont be supported just yet.

To install read the INSTALL file
For changes read the Changelog file

**** This file may not always be current.
**** Check the forum first before making a bug report.

ni dans INSTALL

Saturday April 16 2005 - Scott Grayban <sgrayban@borgnet.us>
---------------------------
Linux Install:

1) su(do) to root
2) run ./install.sh
3) Place a shortcut on your desktop with /usr/bin/ipodder as the binary executable.
4) For a desktop icon use the iPodder.png in /opt/iPodder

*** NOTE ***
This version supports XMMS for the player.
You _must_ have the xmms python libraries installed for this to work.


Enjoy !

Scott

mais j'ai finalement trouvé une solution
le fichier  /usr/bin/iPodder n'était qu'un raccourcis
qui renvoie vers /usr/share/icepodder/
en supprimant le dossier je pense avoir désinstallé "proprement".