Page 1 of 1

Removing VLC completely

Posted: 03 Aug 2007 13:20
by shuaibe
Hi,

I compiled and installed VLC and later I made some changes in the code. Now I want to remove the old VLC and compile and install the changed one, So I used :

make uninstall

to remove VLC. But I dont see the changes I have done. I observed that even after uninstalling VLC /usr/lib/vlc contains directories and libraries. So may be its using the old files ... is there a way when I uninstall, its totally gone ... no traces and when I install it uses the new files and libraries. Any suggestions ..
Thank you for your time!

Re: Removing VLC completely

Posted: 03 Aug 2007 13:32
by Jean-Baptiste Kempf
Distribution ?

Re: Removing VLC completely

Posted: 03 Aug 2007 13:40
by kmf31
The "make install" installs most files in /usr/lib/vlc and /usr/include/vlc (or /usr/local/lib/vlc if you have choosen another prefix) and the binaries in /usr/bin/ and some localization files in /usr/share.

If you want only to "clean" your old installation to avoid problems when installing a new version of vlc it is enough to erase /usr/lib/vlc:

Code: Select all

rm -rf /usr/lib/vlc rm -rf /usr/include/vlc
If you don't do this and if you install a new vlc over the old one, they may indeed still be old non-erased plugins in /usr/lib/vlc which may create problems. Also the header files in /usr/include/vlc may create problems but only if you compile later things against libvlc (I believe).

If you are very worried about "clean" and "proper" installations and "uninstallations" then you should compile vlc with some prefix such as: "--prefix=/usr/VLC" and then simply add /usr/VLC/bin to your PATH after installation. Later it will be enough to simply erase the folder:

Code: Select all

rm -rf /usr/VLC
in order to "uninstall" everything from vlc.

If you install vlc in a standard tree, such as /usr or /usr/local then it is more difficult to "uninstall" everything.

Re: Removing VLC completely

Posted: 03 Aug 2007 16:05
by shuaibe
Iam using Ubuntu.

I did as kmf31 suggested and then compiled and installed vlc in the standard tree. But when I run vlc I get :

VLC media player 0.8.6 Janus
[00000001] main private error: no memcpy module matched "any"
[00000013] main interface error: no interface module matched "hotkeys,none"
[00000013] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000014] main interface error: no interface module matched "screensaver,none"
[00000014] main interface error: no suitable interface module
[00000001] main private error: interface "screensaver,none" initialization failed
[00000015] main interface error: no interface module matched "any"
[00000015] main interface error: no suitable interface module
[00000001] main private error: interface "(null)" initialization failed


So I uninstalled it again using:
make uninstall
and also cleared the cache by running:
rm -rf ~ /.vlc

After that if I run vlc (without reinstallation) it gives :

VLC media player 0.8.6 Janus
[00000001] main private error: no memcpy module matched "any"
[00000013] main interface error: no interface module matched "hotkeys,none"
[00000013] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000014] main interface error: no interface module matched "screensaver,none"
[00000014] main interface error: no suitable interface module
[00000001] main private error: interface "screensaver,none" initialization failed
[00000015] main interface error: no interface module matched "any"
[00000015] main interface error: no suitable interface module
[00000001] main private error: interface "(null)" initialization failed


any insight ?

Thanks again!

Re: Removing VLC completely

Posted: 06 Aug 2007 10:18
by funman
that means that the plugins can't be found/loaded

try to delete your build tree and compile and install again

Re: Removing VLC completely

Posted: 06 Aug 2007 10:40
by Jean-Baptiste Kempf
build vlc with --disable-static

Re: Removing VLC completely

Posted: 06 Aug 2007 15:42
by shuaibe
thanks for the suggestion guys ... i followed kmf31's instructions .. and its working Ok now !

Re: Removing VLC completely

Posted: 02 Aug 2008 14:28
by zwanzig
and also cleared the cache by running:
rm -rf ~ /.vlc
You realize that would wipe your entire home directory?
I think you mean

Code: Select all

rm -rf ~/.vlc
without the space...