Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there a desktop-free howto out there?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Zebbeman
n00b
n00b


Joined: 14 Jun 2003
Posts: 69

PostPosted: Thu Nov 26, 2015 7:37 pm    Post subject: Is there a desktop-free howto out there? Reply with quote

Hello,
Is there a desktop-free howto out there? I have no desire to start any X-related applications and I would like to know how much I can remove after a clean install with the basic minimal install cd + stage3-amd64 without breaking the system. Some packages seem a bit X-related, like x11-misc/shared-mime-info (since it says x11).
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10763
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Nov 26, 2015 8:07 pm    Post subject: Reply with quote

The basic install is desktop free. Just follow the Handbook as-is. To be as minimalistic as possible, select a profile that doesn't contain "desktop" in the name, such as default/linux/amd64/13.0.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 276
Location: Milan, IT

PostPosted: Thu Nov 26, 2015 8:22 pm    Post subject: Reply with quote

Hi Zebbeman
sincerely I've never heard of such howto, usually one claims the opposite :lol:

Jokes aside, in case of a minimal install you'll have a tiny set of libraries with some "relation" to X or Graphical environment in general... a proper set of USE flags should be enough to avoid having X-related dependencies
For example the x11-misc/shared-mime-info, its category is x11-misc, but it is a requirement for e.g. networkmanager (which you can also use without X, besides it's from GNOME)

Anyway, if you want to cleanup, you can check dependencies of packages using the equery tool
Code:

kikko@seireitei ~ $ equery depends x11-misc/shared-mime-info
 * These packages depend on x11-misc/shared-mime-info:
app-accessibility/at-spi2-atk-2.18.1 (x11-misc/shared-mime-info)
app-accessibility/at-spi2-core-2.18.3 (x11-misc/shared-mime-info)
app-crypt/gcr-3.18.0 (x11-misc/shared-mime-info)
app-crypt/libsecret-0.18.3 (x11-misc/shared-mime-info)
dev-libs/atk-2.18.0 (x11-misc/shared-mime-info)
dev-libs/glib-2.46.2 (mime ? x11-misc/shared-mime-info)
dev-libs/gobject-introspection-1.46.0 (x11-misc/shared-mime-info)
dev-libs/libcroco-0.6.9 (x11-misc/shared-mime-info)
dev-libs/libgudev-230 (x11-misc/shared-mime-info)
dev-perl/File-MimeInfo-0.270.0 (x11-misc/shared-mime-info)
dev-python/pygobject-2.28.6-r55 (x11-misc/shared-mime-info)
dev-python/pygtk-2.24.0-r4 (x11-misc/shared-mime-info)
dev-python/pygtksourceview-2.10.1-r1 (x11-misc/shared-mime-info)
dev-util/gtk-update-icon-cache-3.16.7 (x11-misc/shared-mime-info)
gnome-base/dconf-0.24.0 (x11-misc/shared-mime-info)
gnome-base/gnome-common-3.18.0 (x11-misc/shared-mime-info)
gnome-base/gnome-keyring-3.18.3 (x11-misc/shared-mime-info)
gnome-base/gsettings-desktop-schemas-3.18.1 (x11-misc/shared-mime-info)
gnome-base/libglade-2.6.4-r2 (x11-misc/shared-mime-info)
gnome-base/libgnomecanvas-2.30.3-r1 (x11-misc/shared-mime-info)
gnome-base/librsvg-2.40.11 (x11-misc/shared-mime-info)
gnome-extra/nm-applet-1.0.6 (x11-misc/shared-mime-info)
kde-apps/kio-extras-15.08.3 (x11-misc/shared-mime-info)
kde-base/kdelibs-4.14.14 (>=x11-misc/shared-mime-info-0.60)
kde-frameworks/kcoreaddons-5.16.0 (x11-misc/shared-mime-info)
kde-plasma/bluedevil-5.4.3 (x11-misc/shared-mime-info)
media-libs/libart_lgpl-2.3.21-r2 (x11-misc/shared-mime-info)
net-libs/glib-networking-2.46.1 (x11-misc/shared-mime-info)
net-libs/libndp-1.5 (x11-misc/shared-mime-info)
net-libs/libsoup-2.52.2 (x11-misc/shared-mime-info)
net-misc/modemmanager-1.4.12 (x11-misc/shared-mime-info)
net-misc/networkmanager-1.0.6-r1 (x11-misc/shared-mime-info)
net-misc/networkmanager-openconnect-1.0.2 (x11-misc/shared-mime-info)
net-misc/networkmanager-pptp-1.0.6 (x11-misc/shared-mime-info)
net-wireless/gnome-bluetooth-3.18.1 (x11-misc/shared-mime-info)
sys-apps/accountsservice-0.6.40 (x11-misc/shared-mime-info)
x11-libs/gdk-pixbuf-2.32.2 (x11-misc/shared-mime-info)
x11-libs/gtk+-2.24.28-r1 (x11-misc/shared-mime-info)
x11-libs/gtk+-3.18.5 (x11-misc/shared-mime-info)
x11-libs/gtkglarea-2.1.0 (x11-misc/shared-mime-info)
x11-libs/gtksourceview-2.10.5-r3 (x11-misc/shared-mime-info)
x11-libs/pango-1.38.1 (x11-misc/shared-mime-info)
x11-misc/xdg-utils-1.1.1 (x11-misc/shared-mime-info)
x11-themes/adwaita-icon-theme-3.18.0 (x11-misc/shared-mime-info)
x11-themes/gnome-icon-theme-3.12.0 (x11-misc/shared-mime-info)
x11-themes/gnome-icon-theme-symbolic-3.12.0 (x11-misc/shared-mime-info)
x11-themes/gnome-themes-standard-3.18.0 (x11-misc/shared-mime-info)

If a package does not belong to your world set (or other sets) and is not a requirement for anything else
Code:
emerge --depclean --ask
will do the clean up
Regards
_________________
Regards

root is the root of all evil
Back to top
View user's profile Send private message
madchaz
l33t
l33t


Joined: 01 Jul 2003
Posts: 995
Location: Quebec, Canada

PostPosted: Fri Nov 27, 2015 12:21 am    Post subject: Reply with quote

add "-X" in your useflags in make.conf and follow the install manual.

you now have a 100% X11 free installation.
_________________
Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
Back to top
View user's profile Send private message
Zebbeman
n00b
n00b


Joined: 14 Jun 2003
Posts: 69

PostPosted: Fri Nov 27, 2015 2:22 pm    Post subject: Reply with quote

Thanks all!

I did a clean install with -X with the profile without desktop amd64/13 so I guess I am X-free. Kikko's term X-related is probably what I did not understand. Since shared-mime-info was pulled in by glib, I followed the link to gtk.org, which sounds very graphic to me. I did the --depclean as well but there was nothing to remove.

Thanks again!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum