Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: drendar on September 10, 2015, 06:54:53 AM
-
Hi,
*Disclaimer - I'm very new to TC so I may well have missed something "obvious" here *
I'm building a CLI-only system, and have installed VIM via tce-load -iw vim
However vim has Xorg listed as a dependency for some reason, so it's pulled down and installed about 50 packages I don't want or need.
I've tried removing Xorg-7.7-lib.tcz from the vim.tcz.dep file and then use tce-audit to delete Xorg-7.7-lib.tcz but it fails with:
tc@box:/mnt/sa2/tce/optional$ tce-audit delete Xorg-7.7-lib.tcz
vim.tcz
Xorg-7.7-lib.tcz cannot be deleted.
If I run tce-audit updatedeps then it seems to re-download all the dep files so I end up back at square one.
How can I forcibly remove Xorg-7.7-lib.tcz and all its dependencies, while leaving vim and ncurses installed?
Many thanks!
Dash
-
The vim extension has been built with various X libs as dependencies.
You can see which X libs like this: $ ldd `which vim`
You can use the busybox version of vim by not loading the vim extension and entering "vi" at the cli.
Your other option is to compile a non-X libs version of vim.
-
Oh, I thought that vim (not gvim) was CLI only, so what use the XLibs? :-)
Been using VIM for years on headless machines - X has never entered my equation.
busybox vi is a bit lacking for my needs unfortunately.
OK, so I need to figure out how to compile my own package then... thanks for the assistance!
-
see:
http://www.linuxfromscratch.org/lfs/view/SVN-20150907/chapter06/vim.html
-
Thanks, I'll take a look!