Removing VLC completely

*nix specific usage questions
shuaibe
Blank Cone
Blank Cone
Posts: 23
Joined: 21 Jun 2007 15:14
VLC version: 0.8.6c
Operating System: Linux
Location: Switzerland

Removing VLC completely

Postby shuaibe » 03 Aug 2007 13:20

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Removing VLC completely

Postby Jean-Baptiste Kempf » 03 Aug 2007 13:32

Distribution ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: Removing VLC completely

Postby kmf31 » 03 Aug 2007 13:40

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.

shuaibe
Blank Cone
Blank Cone
Posts: 23
Joined: 21 Jun 2007 15:14
VLC version: 0.8.6c
Operating System: Linux
Location: Switzerland

Re: Removing VLC completely

Postby shuaibe » 03 Aug 2007 16:05

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!

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Removing VLC completely

Postby funman » 06 Aug 2007 10:18

that means that the plugins can't be found/loaded

try to delete your build tree and compile and install again

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Removing VLC completely

Postby Jean-Baptiste Kempf » 06 Aug 2007 10:40

build vlc with --disable-static
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shuaibe
Blank Cone
Blank Cone
Posts: 23
Joined: 21 Jun 2007 15:14
VLC version: 0.8.6c
Operating System: Linux
Location: Switzerland

Re: Removing VLC completely

Postby shuaibe » 06 Aug 2007 15:42

thanks for the suggestion guys ... i followed kmf31's instructions .. and its working Ok now !

zwanzig
New Cone
New Cone
Posts: 1
Joined: 02 Aug 2008 14:22

Re: Removing VLC completely

Postby zwanzig » 02 Aug 2008 14:28

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...


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests