this post was submitted on 08 Jul 2024
29 points (91.4% liked)
Linux
48143 readers
791 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Some answers address some of your questions, I would like to address something else you said:
Programs can certainly be installed wherever you want them to, bit package managers have their own folder structure to follow. Installing a program is not a magical thing, it just means having the binary somewhere on your computer, and that binary having the proper libraries accessible to it. If you downloaded a binary it is TECHNICALLY installed on your computer.
The other important part here is you being able to access that program, for this there is an environment variable balled
PATH
which tells Linux where to look for binaries and in what order. So if yourPATH
is/home/sarmsle/.bin:/media/NTFS/binaries:/bin:/usr/bin
whenever you try to run for examplefirefox
it will try to run/home/sarmale/.bin/firefox
if that doesn't exist, it goes to the next, and the next until it finds it or runs out of options.Also in Linux you can mount partitions anywhere, and you can create links from one place to another. So nothing prevents you from mounting your
NTFS
drive in/NTFS
or even/home/sarmale/Shared
.So how could I install programs on the other drive? When they get installed they are scattered between /bin /lib /usr/bin and others, how could I move them in /media/SATA (where my drive is mounted)
The only thing I can do is move appimages until now
Yes, because you're installing them using the package manager (which is the recommended way). You can't (and shouldn't) move things installed by the package manager. You can manually install programs wherever. However, I think I'm missing a crucial bit of information, why do you need to do that? 256GB should be much more than enough for anything.