-
A "standard" download directory & executable s
Hi all -
I have a couple of ideas that may well be best put to the Linux Standard Base site, but I thouight I'd post them here anyway, (as Knoppix is _the_ most user-friendly distro, and I want Knoppix to get any new ideas first ...
( I should mention that these ideas are more for others than myself - I'm not a total Linux newbie, but I believe I have a good feel for the kind of things that newbies find difficult / puzzling .... )
Idea 1 - A directory (let's call it /install or maybe dl_install , for download_install) that is *the* one *standard* place that you should download files to , and then run the install from. There seems to be no docs anywhere that specify *which directory* you should d/l to ..... you're just expected to somehow "know". ( Some _apps_ do specify the dir to d/l to, but there seems to be no general docs in this area ).
As an alternative to implementing a standard d/l directory, at least I'd suggest a brief entry in a FAQ, something like
( start of FAQ - replace "X" with an actual directory )
Q. I want to download some software. Which directory should I download it to?
A. You should always download to the "X" directory. Then, you should run the install from that directory as well. Most installs involve typing the following commands at the command prompt -
./configure
make
make install
( end of FAQ )
This may sound like a small, trivial thing, but implementing the dir (or the FAQ) would be **easy** to do, and would be a very nice little distinguishing feature to have. Ok - yes you can create the dir yourself, but it _still_ wouldn't be the "standard" place for the _distro_.
Yes, there are utils like apt-get , that do everything automatically. But - if you do need to do a manual install (for whatever reason), a standard "download_install directory could still be useful.
Idea 2 - A standard suffix for executable files ( I'd suggest "lexe", for linux exe). This would also surely be easy to implement. Yes, ok - there are the /bin and /sbin directories, but there is still no guarantee that all files there are executable. Wouldn't it be *great* (and useful) to be able to find ALL executable files on your system ( _whereever_ they are ) with a *simple* command like -
grep -l *.lexe
Again, this would be trivial to implement, and very useful to make things even more user-friendly. At the very least, you could be given the *option* (at install time) of giving all executable files the .lexe suffix.
Ah, well ... that'll do for now
. Comments welcome! ( Time to put on the ol' asbestos suit .....
)
-
An addition to my post ...
Arrrgh ... replying to my own post. Anyway -
I've just realised (as soon as I did my previous post ) that newbies would probably not know to use the grep command to find executable files. So, I'm suggesting a FAQ entry, like the following -
(NOTE - this FAQ is specifically aimed at finding *executable* files - not just any files. The FAQ assumes that there is a standard in place (either for Knoppix, or for all distros) that all executable files have the ".lexe" suffix )
( start of FAQ )
Q - I want to find all the executable files on my system ( or in directory "X" ). How do I do this?
A - There are several ways of doing this. They are as follows
Option 1 - In the directory that you want to search for executable files , type the following command at the shell prompt -
grep -l *.lexe
Option 2 - ( another option here )
Option 3 - ( another option here)
( end of FAQ )
Apologies for replying to my own post ....
-
Senior Member
registered user
The standard place for user installed application(not the debian way though) is /usr/local
try 'man find' for how to search for 'executables' in the system and giving 'extension'(that is a window/dos concept) to linux executables will break a lot of things. If you give the programs .lexe extension, you have to run it as 'myprogram.lexe', cumbersome.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
garyng
The standard place for user installed application(not the debian way though) is /usr/local
try 'man find' for how to search for 'executables' in the system and giving 'extension'(that is a window/dos concept) to linux executables will break a lot of things. If you give the programs .lexe extension, you have to run it as 'myprogram.lexe', cumbersome.
Hi , Garyng - Thanks for your comments! I now have to agree with you (after
having just been for a run, and during it, concluding that my post was a "I should have engaged brain before putting mouse into gear" moment
) . Arrgh ... !
Similar Threads
-
By kirpi in forum General Support
Replies: 4
Last Post: 04-14-2004, 06:11 PM
-
By LinuxGeek in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-20-2003, 07:30 PM
-
By ollisoft in forum General Support
Replies: 3
Last Post: 12-18-2003, 03:44 AM
-
By oreo in forum General Support
Replies: 11
Last Post: 07-23-2003, 06:33 PM
-
By Juny in forum General Support
Replies: 4
Last Post: 03-14-2003, 09:02 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/2mYAAOSwmulmdXzA/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$295.00
![Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB picture](/store/img/g/g9wAAOSwtb5mMUYG/s-l225/Apple-2019-Mac-Pro-28-Core-Xeon-W-3275M-96GB-RAM-1.jpg)
Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB
$2999.97
![Dell OptiPlex 5070 SFF Computer Core i7 9th Gen 8-core 64GB Ram 1TB NVMe SSD PC picture](/store/img/g/M48AAOSwyoFmg1h7/s-l225/Dell-OptiPlex-5070-SFF-Computer-Core-i7-9th-Gen-8-.jpg)
Dell OptiPlex 5070 SFF Computer Core i7 9th Gen 8-core 64GB Ram 1TB NVMe SSD PC
$495.00
![Dell 15.6](/store/img/g/9x4AAOSwVAlmICu5/s-l225/Dell-15-6-NVIDIA-Gaming-Laptop-Intel-Quad-Core-i7-.jpg)
Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11
$446.00
![Intel Core i7-3770 SR0PK 3.40GHz Quad Core LGA1155 8MB Processor CPU picture](/store/img/g/JZoAAOSwPrdmgvpQ/s-l225/Intel-Core-i7-3770-SR0PK-3-40GHz-Quad-Core-LGA1155.jpg)
Intel Core i7-3770 SR0PK 3.40GHz Quad Core LGA1155 8MB Processor CPU
$26.99
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory... picture](/store/img/g/sSgAAOSwm3JmUI62/s-l225/Dell-Inspiron-142-in-1-Touch-Laptop-Intel-Core-5-P.jpg)
Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...
$749.99
![Intel Core 2 Quad Q9650 CPU 4-Core 3.0GHz/12M/1333 SLB8W LGA775 Processor Tested picture](/store/img/g/jrgAAOSwp5RmdKmI/s-l225/Intel-Core-2-Quad-Q9650-CPU-4-Core-3-0GHz-12M-1333.jpg)
Intel Core 2 Quad Q9650 CPU 4-Core 3.0GHz/12M/1333 SLB8W LGA775 Processor Tested
$25.00
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 NO OS GA picture](/store/img/g/rIQAAOSwN9Nlnw4a/s-l225/HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-2x2.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 NO OS GA
$164.98
![New HP 24](/store/img/g/TWcAAOSw2QlmXTVp/s-l225/New-HP-24-All-In-One-Desktop-Computer-11th-Gen-i3-.jpg)
New HP 24" All In One Desktop Computer 11th Gen i3 Up To 32GB RAM 2TB SSD Win 11
$409.99