Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to LFS. I got the system working but need to free up some space. I thought that 16 GB for the root partition would be adequate, but apparently not. It doesn't leave enough free space to compile packages.
Since I have firefox running, I would like to remove Midori and webkit. Looking at the BLFS book, I can see what files are installed for each. Is it just a matter of using rm on the individual files, or is there more to it?
Also, if I remove webkit, will it brick the system? I don't see any obvious dependencies. Any help will be appreciated.
You might consider creating a new partition and mounting /home or /home/<non-root user> on this partition. You don't need to be root (and it's generally bad practice to be root) when building software, you only need to be root to install system-wide.
For the most part using rm on each file will work. However, the list of files in BLFS may not be complete, so you may not get everything. There's an LFS hint that talks about package management and various ways to track the files installed.
Is Webkit installed by LFS? It's been a long time since I built a LFS system. If it is part of the book, that ought to tell you not to remove it. If you installed it as part of BLFS, you might get away with removing it, but don't be surprised if you end up re-installing it as it is a dependency for many packages.
Is Webkit installed by LFS? It's been a long time since I built a LFS system. If it is part of the book, that ought to tell you not to remove it. If you installed it as part of BLFS, you might get away with removing it, but don't be surprised if you end up re-installing it as it is a dependency for many packages.
Webkitgtk is in BLFS not LFS. Its hard to say what other packages depend on it. Midori is the only one I am aware of. I already removed Midori using the rm command. I am apprehensive about removing webkit.
You probably should keep the sources ran with make clean so you can do make uninstall to properly remove a package. Otherwise you may wish to consider a package manager.
Webkitgtk is in BLFS not LFS. Its hard to say what other packages depend on it. Midori is the only one I am aware of. I already removed Midori using the rm command. I am apprehensive about removing webkit.
webkitgtk is now deprecated, and midori is in the process of moving to webkit2gtk (which is also the backbone behind epiphany, and other browsers: See https://wiki.archlinux.org/index.php...s#Webkit-based). From my own notes, only web browsers use webkitgtk, so if you use firefox you should be fine to remove it.
+1 on having some sort of package management. I think it is common to use, instead of
Code:
> make install
doing the following will make a package archive file
Code:
> make DESTDIR=/tmp/package install
> tar -zcvf package.tar.gz /tmp/package
you can track all of the files installed, then when it comes to uninstalling, using that list to remove the installed files. Of course many package managers are much more sophisticated than that, but you can start there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.