Why don't linux programs allow you to specify the install location?
The subject says it all. This is a problem I have had with Linux since I first started playing with it 3 years ago.
I don''t want every program I install to be placed in /usr/bin. Sometimes I just want to test something out and want to be able to uninstall it (another thing linux programs don''t do well or often).
Just think, wouldn''t it be dope if you could get rid of a piece of software just by typing
rm -rf /softwaredir
Jason Mickela
ICQ : 873518
Excuse my speling.
The V-Town Have-Nots
"The paths of glory lead but to the grave." - Thomas GrayMy Stupid BlogMy Online Photo Gallery
September 05, 2002 03:36 PM
quote:
Original post by griffenjam
Just think, wouldn''t it be dope if you could get rid of a piece of software just by typing
rm -rf /softwaredir
I can uninstall software with ''apt-get remove softwarename''. See the glory of Debian !
If you''re installing from source, you can usually specify the parameter --prefic/foo/bar, for example:
./configure --prefix=/opt/newapp
I would also recommend you to check out this little tool that will automatically convert your source builds to an uninstallable package of RPM, Slackware or Debian type.
http://asic-linux.com.mx/~izto/checkinstall/
./configure --prefix=/opt/newapp
I would also recommend you to check out this little tool that will automatically convert your source builds to an uninstallable package of RPM, Slackware or Debian type.
http://asic-linux.com.mx/~izto/checkinstall/
(the prefix thing) and by the way, if you''re actually trying to install it into /programname
...
you need to step into the demicrosoftanization chamber
...
you need to step into the demicrosoftanization chamber
September 05, 2002 05:31 PM
quote:
Original post by griffenjam
Just think, wouldn''t it be dope if you could get rid of a piece of software just by typing
rm -rf /softwaredir
Wouldn''t it be dope if your $PATH was only 1 line long?
Wouldn''t it be dope if every man page in the system could be accessed without knowing the man page''s location?
Wouldn''t it be dope if you could deny read access to system-wide settings in general?(su root; chmod 750 /etc)
Wouldn''t it be dope if you could deny write access to all the programs on your entire machine with a single command?(su root && chmod 755 /bin /usr/bin)
Ditto for the libraries
Wouldn''t it be dope if you could remove everything a user has done from the computer with rm -rf ~user
Modern distributions have apt_get, apt_rpm, dispel, or whatever the Gentoo equivalent is that remove a piece of software elegantly.
quote:
Original post by griffenjam
The subject says it all. This is a problem I have had with Linux since I first started playing with it 3 years ago.
I don''t want every program I install to be placed in /usr/bin. Sometimes I just want to test something out and want to be able to uninstall it (another thing linux programs don''t do well or often).
Just think, wouldn''t it be dope if you could get rid of a piece of software just by typing
rm -rf /softwaredir
Jason Mickela
ICQ : 873518
Excuse my speling.
The V-Town Have-Nots
To somewhat re-iterate what the other posters have said, it''s actually entirely possible to install software in a path that you specify. A common mis-conception is that software requires a specific path to run. In reality this is not true, and it really only matters if you have software that is poorly written, or your path statements don''t include standard include directories. Unlike windows, there isn''t any registry that forces software to be in one place or another in order to run.
Most of the time you can simply edit the makefile or pass a flag to the config file to specify the directory you would like a piece of software. In addition to this, every decent distro should have package management tools by default.
Cheerio,
Aaron
| HollowWorks.com | Rhott.com |
You could also try make uninstall.
"Linux is not about free software, it is about community," -- Steve Balmer, Microsoft Chief Executive.
quote:
Original post by mrhollow
To somewhat re-iterate what the other posters have said, it''s actually entirely possible to install software in a path that you specify. A common mis-conception is that software requires a specific path to run. In reality this is not true, and it really only matters if you have software that is poorly written, or your path statements don''t include standard include directories. Unlike windows, there isn''t any registry that forces software to be in one place or another in order to run.
Most of the time you can simply edit the makefile or pass a flag to the config file to specify the directory you would like a piece of software. In addition to this, every decent distro should have package management tools by default.
Cheerio,
Aaron
| HollowWorks.com | Rhott.com |
Wrong, it does depend on how the software was coded. If all the directories the software tries to access are hardcoded, you''ll run into some errors if you try to install it in another. Although, most software these days do use autoconf so that shouldn''t be a point but there are still a couple that use hardcoded directories that I''ve run accross...
find your element
at mutedfaith.com.
<º>
Cyberdrek
[Cyberdrek | ]
quote:
Original post by mr BiCEPS
I would also recommend you to check out this little tool that will automatically convert your source builds to an uninstallable package of RPM, Slackware or Debian type.
Hur, hur, hur - uninstallable
If I had my way, I''d have all of you shot!
codeka.com - Just click it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement