QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4563|回复: 15

还是linux软件卸载问题,应该不是删除文件夹那么简单,感觉

[复制链接]
发表于 2006-8-27 15:47:17 | 显示全部楼层 |阅读模式
我是一个linux新手,在软件卸载问题上一直很疑惑,很多人说linux卸载软件仅仅删除程序文件夹那样简单,然而,在linux中,很多软件都是向很多目录写文件或作连接,简单删除程序文件夹的话,系统中一样会留下一堆垃圾文件,然而似乎很少有程序能够像windows一样提供一个uninstall.exe,譬如realplay的install.log记载如下:

下面一堆 ln, cp命令产生的结果分散在多个文件夹里面,要手工删除那恐怕是在很郁闷了,有什么手段可以防止这样的结果马?

RealPlayer 1.0.5.776 installation log Fri Jun 30 22:33:30 2006

files extracted to /usr/local/realplay:
./
./Bin/
./Bin/setup
./common/
./common/clntcore.so
./common/clntxres.so
./codecs/
./codecs/colorcvt.so
./codecs/cvt1.so
./codecs/amrw.so
./codecs/amrn.so
./codecs/rv40.so
./codecs/rv10.so
./codecs/rv20.so
./codecs/rv30.so
./codecs/cook.so
./codecs/atrc.so
./codecs/drv1.so
./codecs/drv2.so
./codecs/drvc.so
./codecs/sipr.so
./codecs/raac.so
./plugins/
./plugins/memfsys.so
./plugins/vidsite.so
./plugins/hxxml.so
./plugins/authmgr.so
./plugins/clbascauth.so
./plugins/rn5auth.so
./plugins/ramfformat.so
./plugins/ramrender.so
./plugins/smlfformat.so
./plugins/smlrender.so
./plugins/giffformat.so
./plugins/gifrender.so
./plugins/jpgfformat.so
./plugins/jpgrender.so
./plugins/pngfformat.so
./plugins/pngrender.so
./plugins/wbmpfformat.so
./plugins/wbmprend.so
./plugins/rpfformat.so
./plugins/rprender.so
./plugins/rpgifplin.so
./plugins/rpjpgplin.so
./plugins/rppngplin.so
./plugins/rtfformat.so
./plugins/rtrender.so
./plugins/smplfsys.so
./plugins/httpfsys.so
./plugins/hxsdp.so
./plugins/sdpplin.so
./plugins/vsrlocal.so
./plugins/vsrcplin.so
./plugins/amrff.so
./plugins/h263render.so
./plugins/mp4fformat.so
./plugins/mp4arender.so
./plugins/rvxrender.so
./plugins/rarender.so
./plugins/aacff.so
./plugins/rmfformat.so
./plugins/smmrender.so
./plugins/mp3fformat.so
./plugins/mp3render.so
./plugins/mp3metaff.so
./plugins/vorbisrend.so
./plugins/theorarend.so
./plugins/oggfformat.so
./plugins/swfrender.so
./plugins/swfformat.so
./plugins/audplin.so
./plugins/aufformat.so
./plugins/pcmrend.so
./share/
./share/locale/
./share/locale/de/
./share/locale/de/player.mo
./share/locale/de/widget.mo
./share/locale/de/README
./share/locale/de/LICENSE
./share/locale/es/
./share/locale/es/player.mo
./share/locale/es/widget.mo
./share/locale/es/README
./share/locale/es/LICENSE
./share/locale/fr/
./share/locale/fr/player.mo
./share/locale/fr/widget.mo
./share/locale/fr/README
./share/locale/fr/LICENSE
./share/locale/hi/
./share/locale/hi/player.mo
./share/locale/hi/widget.mo
./share/locale/hi/README
./share/locale/hi/LICENSE
./share/locale/it/
./share/locale/it/player.mo
./share/locale/it/widget.mo
./share/locale/it/README
./share/locale/it/LICENSE
./share/locale/ja/
./share/locale/ja/player.mo
./share/locale/ja/widget.mo
./share/locale/ja/README
./share/locale/ja/LICENSE
./share/locale/ko/
./share/locale/ko/player.mo
./share/locale/ko/widget.mo
./share/locale/ko/README
./share/locale/ko/LICENSE
./share/locale/pl/
./share/locale/pl/player.mo
./share/locale/pl/widget.mo
./share/locale/pl/README
./share/locale/pl/LICENSE
./share/locale/pt_BR/
./share/locale/pt_BR/player.mo
./share/locale/pt_BR/widget.mo
./share/locale/pt_BR/README
./share/locale/pt_BR/LICENSE
./share/locale/zh_CN/
./share/locale/zh_CN/player.mo
./share/locale/zh_CN/widget.mo
./share/locale/zh_CN/README
./share/locale/zh_CN/LICENSE
./share/locale/zh_TW/
./share/locale/zh_TW/player.mo
./share/locale/zh_TW/widget.mo
./share/locale/zh_TW/README
./share/locale/zh_TW/LICENSE
./share/default/
./share/default/clipinfo.png
./share/default/congestion.png
./share/default/fastforward.png
./share/default/next.png
./share/default/pause.png
./share/default/play.png
./share/default/prefs_connection.png
./share/default/prefs_content.png
./share/default/prefs_internet.png
./share/default/prefs_mediatypes.png
./share/default/prefs_playback.png
./share/default/prefs_proxy.png
./share/default/prefs_raw.png
./share/default/prefs_transport.png
./share/default/prefs_hardware.png
./share/default/prefs_advanced.png
./share/default/previous.png
./share/default/rewind.png
./share/default/stop.png
./share/default/tactoggle.png
./share/default/volume_high.png
./share/default/volume_low.png
./share/default/volume_mid.png
./share/default/volume_off.png
./share/default/volume_mute.png
./share/default/volume_popup_high.png
./share/default/volume_popup_low.png
./share/default/volume_popup_mid.png
./share/default/volume_popup_off.png
./share/default/volume_popup_mute.png
./share/icons/
./share/icons/realplay_16x16.png
./share/icons/realplay_32x32.png
./share/icons/realplay_48x48.png
./share/icons/realplay_192x192.png
./share/icons/mime-application-generic_192x192.png
./share/icons/mime-application-generic_48x48.png
./share/icons/mime-application-ogg_192x192.png
./share/icons/mime-application-ogg_48x48.png
./share/icons/mime-application-ram_192x192.png
./share/icons/mime-application-ram_48x48.png
./share/icons/mime-application-rpm_192x192.png
./share/icons/mime-application-rpm_48x48.png
./share/icons/mime-application-rm_192x192.png
./share/icons/mime-application-rm_48x48.png
./share/icons/mime-application-smil_192x192.png
./share/icons/mime-application-smil_48x48.png
./share/icons/mime-audio-aiff_192x192.png
./share/icons/mime-audio-aiff_48x48.png
./share/icons/mime-audio-au_192x192.png
./share/icons/mime-audio-au_48x48.png
./share/icons/mime-audio-mp3_192x192.png
./share/icons/mime-audio-mp3_48x48.png
./share/icons/mime-audio-mp4_192x192.png
./share/icons/mime-audio-mp4_48x48.png
./share/icons/mime-audio-ogg_192x192.png
./share/icons/mime-audio-ogg_48x48.png
./share/icons/mime-audio-ra_192x192.png
./share/icons/mime-audio-ra_48x48.png
./share/icons/mime-audio-wav_192x192.png
./share/icons/mime-audio-wav_48x48.png
./share/icons/mime-text-realtext_192x192.png
./share/icons/mime-video-avi_192x192.png
./share/icons/mime-video-avi_48x48.png
./share/icons/mime-video-mov_192x192.png
./share/icons/mime-video-mov_48x48.png
./share/icons/mime-video-rv_192x192.png
./share/icons/mime-video-rv_48x48.png
./share/icons/mime-video-swf_192x192.png
./share/icons/mime-video-swf_48x48.png
./share/icons/mime-audio-generic_192x192.png
./share/icons/mime-audio-generic_48x48.png
./share/icons/mime-text-realtext_48x48.png
./share/icons/mime-video-generic_192x192.png
./share/icons/mime-video-generic_48x48.png
./share/icons/mime-video-ogg_192x192.png
./share/icons/mime-video-ogg_48x48.png
./share/realplay/
./share/realplay/logo.png
./share/realplay/icon.png
./share/realplay/prefs_general.png
./share/realplay/setup_title.png
./share/realplay/setup_welcome.png
./share/realplay/embedded_logo.png
./share/realplay.png
./share/realplay.desktop
./share/realplay.applications
./share/realplay.keys
./share/realplay.mime
./share/realplay.xml
./share/mimelnk/
./share/mimelnk/application/
./share/mimelnk/application/sdp.desktop
./share/mimelnk/application/x-streamingmedia.desktop
./share/mimelnk/application/vnd.rn-realmedia-secure.desktop
./share/mimelnk/application/vnd.rn-realmedia.desktop
./share/mimelnk/application/x-smil.desktop
./share/mimelnk/application/vnd.rn-realmedia-vbr.desktop
./share/mimelnk/application/ogg.desktop
./share/mimelnk/audio/
./share/mimelnk/audio/mpeg.desktop
./share/mimelnk/audio/vnd.rn-realaudio.desktop
./share/mimelnk/audio/x-aac.desktop
./share/mimelnk/audio/x-aiff.desktop
./share/mimelnk/audio/x-m4a.desktop
./share/mimelnk/audio/x-mpegurl.desktop
./share/mimelnk/audio/x-pn-realaudio.desktop
./share/mimelnk/audio/x-scpls.desktop
./share/mimelnk/audio/x-wav.desktop
./share/mimelnk/video/
./share/mimelnk/video/vnd.rn-realvideo.desktop
./share/mimelnk/video/x-3gpp2.desktop
./share/mimelnk/video/3gpp.desktop
./share/mimelnk/text/
./share/mimelnk/text/vnd.rn-realtext.desktop
./share/hxplay_help.html
./share/tigris.css
./doc/
./lib/
./lib/libgtkhx.so
./mozilla/
./mozilla/nphelix.so
./mozilla/nphelix.xpt
./postinst/
./postinst/postinst.sh
./postinst/confscript.sh
./realplay.bin
./realplay
./README
./LICENSE

post-install setup commands:
ln -sf /usr/local/realplay/mozilla/nphelix.so /usr/lib/firefox/plugins
ln -sf /usr/local/realplay/mozilla/nphelix.xpt /usr/lib/firefox/plugins
ln -sf /usr/local/realplay/mozilla/nphelix.so /usr/lib/mozilla-firefox/plugins
ln -sf /usr/local/realplay/mozilla/nphelix.xpt /usr/lib/mozilla-firefox/plugins
rm -f /usr/share/realplay
ln -s /usr/local/realplay/share /usr/share/realplay
rm -f /usr/bin/realplay
ln -s /usr/local/realplay/realplay /usr/bin/realplay
rm -f /usr/lib/realplay
ln -s /usr/local/realplay/lib /usr/lib/realplay
mkdir -p /usr/share/icons/hicolor/16x16/apps
cp /usr/local/realplay/share/icons/realplay_16x16.png /usr/share/icons/hicolor/16x16/apps/realplay.png
chmod 644 /usr/share/icons/hicolor/16x16/apps/realplay.png
mkdir -p /usr/share/icons/hicolor/32x32/apps
cp /usr/local/realplay/share/icons/realplay_32x32.png /usr/share/icons/hicolor/32x32/apps/realplay.png
chmod 644 /usr/share/icons/hicolor/32x32/apps/realplay.png
mkdir -p /usr/share/icons/hicolor/48x48/apps
cp /usr/local/realplay/share/icons/realplay_48x48.png /usr/share/icons/hicolor/48x48/apps/realplay.png
chmod 644 /usr/share/icons/hicolor/48x48/apps/realplay.png
mkdir -p /usr/share/icons/hicolor/192x192/apps
cp /usr/local/realplay/share/icons/realplay_192x192.png /usr/share/icons/hicolor/192x192/apps/realplay.png
chmod 644 /usr/share/icons/hicolor/192x192/apps/realplay.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-generic.png
ln -s /usr/local/realplay/share/icons/mime-application-generic_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-generic.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-generic.png
ln -s /usr/local/realplay/share/icons/mime-audio-generic_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-generic.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-text-realtext.png
ln -s /usr/local/realplay/share/icons/mime-text-realtext_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-text-realtext.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-generic.png
ln -s /usr/local/realplay/share/icons/mime-video-generic_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-generic.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-ogg.png
ln -s /usr/local/realplay/share/icons/mime-video-ogg_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-ogg.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-ogg.png
ln -s /usr/local/realplay/share/icons/mime-application-ogg_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-ogg.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-ram.png
ln -s /usr/local/realplay/share/icons/mime-application-ram_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-ram.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-rpm.png
ln -s /usr/local/realplay/share/icons/mime-application-rpm_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-rpm.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-smil.png
ln -s /usr/local/realplay/share/icons/mime-application-smil_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-smil.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-rm.png
ln -s /usr/local/realplay/share/icons/mime-application-rm_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-application-rm.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-aiff.png
ln -s /usr/local/realplay/share/icons/mime-audio-aiff_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-aiff.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-au.png
ln -s /usr/local/realplay/share/icons/mime-audio-au_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-au.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-mp3.png
ln -s /usr/local/realplay/share/icons/mime-audio-mp3_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-mp3.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-mp4.png
ln -s /usr/local/realplay/share/icons/mime-audio-mp4_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-mp4.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-ogg.png
ln -s /usr/local/realplay/share/icons/mime-audio-ogg_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-ogg.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-ra.png
ln -s /usr/local/realplay/share/icons/mime-audio-ra_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-ra.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-wav.png
ln -s /usr/local/realplay/share/icons/mime-audio-wav_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-audio-wav.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-avi.png
ln -s /usr/local/realplay/share/icons/mime-video-avi_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-avi.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-mov.png
ln -s /usr/local/realplay/share/icons/mime-video-mov_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-mov.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-rv.png
ln -s /usr/local/realplay/share/icons/mime-video-rv_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-rv.png
mkdir -p /usr/share/icons/hicolor/48x48/mimetypes
rm -f /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-swf.png
ln -s /usr/local/realplay/share/icons/mime-video-swf_48x48.png /usr/share/icons/hicolor/48x48/mimetypes/realplay-video-swf.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-generic.png
ln -s /usr/local/realplay/share/icons/mime-application-generic_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-generic.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-generic.png
ln -s /usr/local/realplay/share/icons/mime-audio-generic_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-generic.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-text-realtext.png
ln -s /usr/local/realplay/share/icons/mime-text-realtext_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-text-realtext.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-generic.png
ln -s /usr/local/realplay/share/icons/mime-video-generic_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-generic.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-ogg.png
ln -s /usr/local/realplay/share/icons/mime-video-ogg_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-ogg.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-ogg.png
ln -s /usr/local/realplay/share/icons/mime-application-ogg_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-ogg.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-ram.png
ln -s /usr/local/realplay/share/icons/mime-application-ram_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-ram.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-rpm.png
ln -s /usr/local/realplay/share/icons/mime-application-rpm_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-rpm.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-smil.png
ln -s /usr/local/realplay/share/icons/mime-application-smil_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-smil.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-rm.png
ln -s /usr/local/realplay/share/icons/mime-application-rm_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-application-rm.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-aiff.png
ln -s /usr/local/realplay/share/icons/mime-audio-aiff_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-aiff.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-au.png
ln -s /usr/local/realplay/share/icons/mime-audio-au_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-au.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-mp3.png
ln -s /usr/local/realplay/share/icons/mime-audio-mp3_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-mp3.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-mp4.png
ln -s /usr/local/realplay/share/icons/mime-audio-mp4_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-mp4.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-ogg.png
ln -s /usr/local/realplay/share/icons/mime-audio-ogg_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-ogg.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-ra.png
ln -s /usr/local/realplay/share/icons/mime-audio-ra_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-ra.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-wav.png
ln -s /usr/local/realplay/share/icons/mime-audio-wav_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-audio-wav.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-avi.png
ln -s /usr/local/realplay/share/icons/mime-video-avi_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-avi.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-mov.png
ln -s /usr/local/realplay/share/icons/mime-video-mov_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-mov.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-rv.png
ln -s /usr/local/realplay/share/icons/mime-video-rv_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-rv.png
mkdir -p /usr/share/icons/hicolor/192x192/mimetypes
rm -f /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-swf.png
ln -s /usr/local/realplay/share/icons/mime-video-swf_192x192.png /usr/share/icons/hicolor/192x192/mimetypes/realplay-video-swf.png
rm -f /usr/share/pixmaps/realplay.png
ln -s /usr/local/realplay/share/realplay.png /usr/share/pixmaps/realplay.png
rm -f /usr/share/locale/de/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/de/player.mo /usr/share/locale/de/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/de/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/de/widget.mo /usr/share/locale/de/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/es/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/es/player.mo /usr/share/locale/es/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/es/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/es/widget.mo /usr/share/locale/es/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/fr/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/fr/player.mo /usr/share/locale/fr/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/fr/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/fr/widget.mo /usr/share/locale/fr/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/hi/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/hi/player.mo /usr/share/locale/hi/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/hi/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/hi/widget.mo /usr/share/locale/hi/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/it/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/it/player.mo /usr/share/locale/it/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/it/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/it/widget.mo /usr/share/locale/it/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/ja/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/ja/player.mo /usr/share/locale/ja/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/ja/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/ja/widget.mo /usr/share/locale/ja/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/ko/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/ko/player.mo /usr/share/locale/ko/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/ko/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/ko/widget.mo /usr/share/locale/ko/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/pl/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/pl/player.mo /usr/share/locale/pl/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/pl/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/pl/widget.mo /usr/share/locale/pl/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/pt_BR/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/pt_BR/player.mo /usr/share/locale/pt_BR/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/pt_BR/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/pt_BR/widget.mo /usr/share/locale/pt_BR/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/zh_CN/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/zh_CN/player.mo /usr/share/locale/zh_CN/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/zh_CN/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/zh_CN/widget.mo /usr/share/locale/zh_CN/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/locale/zh_TW/LC_MESSAGES/realplay.mo
install -m 644 /usr/local/realplay/share/locale/zh_TW/player.mo /usr/share/locale/zh_TW/LC_MESSAGES/realplay.mo
rm -f /usr/share/locale/zh_TW/LC_MESSAGES/libgtkhx.mo
install -m 644 /usr/local/realplay/share/locale/zh_TW/widget.mo /usr/share/locale/zh_TW/LC_MESSAGES/libgtkhx.mo
rm -f /usr/share/applications/realplay.desktop
cp /usr/local/realplay/share/realplay.desktop /usr/share/applications
chmod 644 /usr/share/applications/realplay.desktop
rm -f /usr/share/application-registry/realplay.applications
cp /usr/local/realplay/share/realplay.applications /usr/share/application-registry
chmod 644 /usr/share/application-registry/realplay.applications
cp /usr/local/realplay/share/realplay.keys /usr/share/mime-info
chmod 644 /usr/share/mime-info/realplay.keys
cp /usr/local/realplay/share/realplay.mime /usr/share/mime-info
chmod 644 /usr/share/mime-info/realplay.mime
cp realplay realplay.bak
sed -e "s%#[ \t]*HELIX_LIBS[ \t]*=.*$%HELIX_LIBS=/usr/local/realplay ; export HELIX_LIBS%" realplay.bak > realplay

下面一堆 ln, cp命令产生的结果分散在多个文件夹里面,要手工删除那恐怕是在很郁闷了,有什么手段可以防止这样的结果马?
发表于 2006-8-27 17:12:48 | 显示全部楼层
如果是rpm包,假设不考虑依赖问题,直接用rpm -e命令(要输入正确文件名和版本号,可以用rpm -q来查询)。如果是源码包,一般是在安装文件夹内输入make uninstall或make clean(要先编译),当然,源码包安装比较复杂,具体的还是要看看安装文件夹内的INSTALL文件。
回复

使用道具 举报

发表于 2006-8-27 17:35:36 | 显示全部楼层
为什么不用mplayer+real-codecs-win32-codesc来取代呢?
回复

使用道具 举报

发表于 2006-8-28 10:18:35 | 显示全部楼层
一般来说,通过系统相关的二进制软件包(rpm, deb, tgz (for Slackware)) 的软件最好通过系统自带/相关的软件包管理器来删除,这样操作起来最简洁。自己编译安装的软件可以用 whereis 命令找到其可执行文件以及相关的库、文档等,然后直接 rm 删除它,也不会留下什么“垃圾文件”。
回复

使用道具 举报

 楼主| 发表于 2007-10-10 22:42:31 | 显示全部楼层
说了半天, 还是说先记录下创建的文件, 然后手工删除, 要是手工, 那没什么是做不了的, 问题是没有一个很简洁的办法: linux 下的程序常常不提供uninstall方法, 要是它乖乖的将自己所有文件放在一个文件夹也就好了, 直接删除了事, 可问题是很多程序东放一个西放一个,根本没办法简单删除。
诚如所讲, 即便不删除也不影响使用, 但垃圾文件还是很讨厌的。
回复

使用道具 举报

发表于 2007-10-11 18:13:48 | 显示全部楼层
realplayer 的安装文件好像有卸载的功能。
我能确定 nv 和  ati 的显卡驱动就有卸载的功能。
回复

使用道具 举报

发表于 2007-10-12 22:24:54 | 显示全部楼层
realplayer是什么?
回复

使用道具 举报

发表于 2007-10-13 10:01:52 | 显示全部楼层
原帖由 mandrakechina 于 2007-10-12 10:24 PM 发表
realplayer是什么?

一个恶魔制造的工具,使用这个工具的人,会认为他非常好用,而且出现精神依赖,然而实际是他通过某种特殊的专有保护,而阻止拯救者的无比强大的工具通过转移精神依赖的方式而让受害者脱离恶魔控制。
回复

使用道具 举报

发表于 2007-10-13 10:30:38 | 显示全部楼层
原帖由 jiangtao9999 于 2007-10-13 10:01 发表

一个恶魔制造的工具,使用这个工具的人,会认为他非常好用,而且出现精神依赖,然而实际是他通过某种特殊的专有保护,而阻止拯救者的无比强大的工具通过转移精神依赖的方式而让受害者脱离恶魔控制。

回复

使用道具 举报

发表于 2007-10-17 15:07:06 | 显示全部楼层
确实阿,这个卸载问题实在令人头疼。
回复

使用道具 举报

发表于 2007-10-18 11:45:50 | 显示全部楼层
rpm包删除是不容易,依赖问题太麻烦了
回复

使用道具 举报

发表于 2007-10-18 21:42:00 | 显示全部楼层
原帖由 小西 于 2007-10-18 11:45 AM 发表
rpm包删除是不容易,依赖问题太麻烦了

依赖问题不是 rpm 包的问题,是 linux 系统就这么弄的,Windows 所有的软件只直接依赖系统,linux 依赖提供功能的库。
回复

使用道具 举报

发表于 2007-10-19 23:09:28 | 显示全部楼层
怎么越说就越糊涂了 啊
回复

使用道具 举报

发表于 2007-10-21 22:35:20 | 显示全部楼层
哇咔咔,哇咔咔  
回复

使用道具 举报

发表于 2007-10-21 22:44:40 | 显示全部楼层
BS 楼上的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 01:49 , Processed in 0.162638 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表