LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 05-21-2016, 12:17 PM   #1
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
How to delete Midori and webkit?


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.
 
Old 05-21-2016, 01:35 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 05-21-2016, 02:26 PM   #3
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Original Poster
Rep: Reputation: 69
Quote:
Originally Posted by weibullguy View Post
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.
 
Old 05-21-2016, 03:44 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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.
 
1 members found this post helpful.
Old 05-21-2016, 08:34 PM   #5
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Quote:
Originally Posted by plasmonics View Post
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.
 
2 members found this post helpful.
Old 05-22-2016, 05:58 AM   #6
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Original Poster
Rep: Reputation: 69
I went ahead and removed Webkit. No problems so far. Thanks to all who replied.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
midori - binary blob in script waf - gnomish webkit alternative to firefox debguy Linux - Software 1 08-18-2015 09:26 PM
LXer: The Latest Midori Browser Has Rewritten AdBlock, WebKit Improvements (Ubuntu Installation) LXer Syndicated Linux News 0 04-07-2014 10:00 AM
Midori: Is there a password manager? (Using Midori to Replace Opera). cwizardone Linux - Software 24 07-16-2013 06:23 PM
LXer: Quick Midori Review And How to Install Latest Midori 0.2.6 in Ubuntu 10.04 'Lucid Lynx' LXer Syndicated Linux News 0 07-02-2010 04:41 PM
LQ and Webkit. Hitboxx LQ Suggestions & Feedback 11 06-27-2009 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration