LWN.net Logo

Improving Ubuntu's application upload process

Improving Ubuntu's application upload process

Posted Sep 7, 2012 10:21 UTC (Fri) by krake (subscriber, #55996)
Parent article: Improving Ubuntu's application upload process

"stalled under /opt; this rule complies with the filesystem hierarchy standard and prevents file conflicts with the rest of the distribution. The problem, according to David Planella (one of the authors of the proposal), is that a lot of things just don't work when installed under /opt"

I really don't buy that.
I've been installing proprietary software into /opt for years and on the Free Software front built and installed software as complex as all of KDE's products into any number of prefixes.

Heck, during development I even run make install as a non-priviledged user, into non-FHS trees and even under $HOME.

The more I think about it the more I believe their observations are based on their application launcher failing to provide the appropriate environment, e.g. properly expanding $XDG_DATA_DIRS and friends.


(Log in to post comments)

Improving Ubuntu's application upload process

Posted Sep 10, 2012 21:58 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

> I've been installing proprietary software into /opt for years and on the Free Software front built and installed software as complex as all of KDE's products into any number of prefixes.

KDE uses a useful build system (CMake). Not every project does, unfortunately :( . These are the ones that tend to blow up outside of /usr. If DESTDIR and PREFIX are expanded, there's a hope for things working. I've come across some which don't even have install rules. Loads of fun.

Personally, I prefer $HOME/misc/root/$project[-$version][-$description] for local builds (vim, git, tmux, boost, cmake, etc.) that I use for testing or upgrading when I'm too lazy to spin local RPMs.

> e.g. properly expanding $XDG_DATA_DIRS and friends.

git finally does this in the latest version :) . One less ~/.* file. Lots more to go though :/ . I wish $XDG_RUNTIME_DIR would get some more traction though to avoid /tmp pollution (tmux and uzbl mainly; I have a partial patch somewhere for uzbl).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds