r/linux4noobs • • 6h ago

programs and apps Confusing folder replacement in Linux

Post image

Hello everyone, I am a beginner user in Linux. I download some tools and applications via terminal to default folder home/user/ folder. But I saw that almost all apps and tools were downloaded as a hidden folder. (I think it's common for all Linux users). The confusing part is that, should I make specific folders for them or is it normal? I mean is it normal to download almost all to /user/ folder?

11 Upvotes

28 comments sorted by

15

u/Logboy2000 4h ago edited 3h ago

the hidden folders that begin with a period contain the settings or data that an app uses. These are folders the app creates, and not folders that you need to make.

e.g. inside of the .minecraft folder would be your minecraft worlds and minecraft settings.

Downloading an app should be done through an app like Plasma Discover or Gnome Software, OR you could use a terminal command with apt,dnf, or pacman, depending on your distro.

The only case where you should download an app and put it in a folder, would be in the case of .AppImage files, which would go in a folder like the Applications folder you already have there.

1

u/Corvix0 4h ago

Thanks for explaining. I moved from Windows that's why it was a bit confusing

5

u/renatoram 3h ago

And even with AppImages, install GearLever and let it handle all automation about install, menu items, uninstall, even updates in some cases. 

4

u/Shakaka88 4h ago

These dot files are just the settings for the apps. The apps themselves are likely in the Applications folder. It’s so you can copy settings easily without having to copy the whole app

1

u/Corvix0 4h ago

I got it, thanks

6

u/doc_willis 4h ago

I download some tools and applications via terminal to default folder home/user/ folder.

Detail EXACTLY what you did. I see no tools or applications downloaded to your users home directory in your screenshot.

Also learn how to copy/paste Text, Not screenshots of Text.

use the reddit formatting options to format such text as 'code' so its easier to read.

1

u/Corvix0 4h ago

I thought some of these files such as .opolyglot, and .npm were tools, but other users said they're appdata (which they were correct). For Reddit tip, I will try, thanks for guide

3

u/DannoXYZ 3h ago

My favourite way to list directories is. Gives me dates, ownership info, permissions and sorts hidden stuff at top.

alias lk='ls -lAFhH'

dietpi@DietPi:~$ lk
total 236K
-rw------- 1 dietpi dietpi    0 Apr  2  2026 .ICEauthority
-rw------- 1 dietpi dietpi  147 Dec  4 08:13 .Xauthority
-rw------- 1 dietpi dietpi 6.3K Dec  4 08:13 .bash_history
-rw-r--r-- 1 dietpi dietpi  220 Jan  2  2023 .bash_logout
-rw-r--r-- 1 dietpi dietpi  571 Aug 28  2024 .bashrc
drwxr-xr-x 5 dietpi dietpi 4.0K Apr  3  2026 .cache/
drwxr-xr-x 9 dietpi dietpi 4.0K Oct 23 23:36 .config/
-rw-r--r-- 1 dietpi dietpi   35 Apr  3  2026 .dmrc
drwx------ 3 dietpi dietpi 4.0K Apr  2  2026 .gnupg/
-rw-r--r-- 1 dietpi dietpi  146 Apr  2  2026 .gtk-bookmarks
drwxr-xr-x 3 dietpi dietpi 4.0K Apr  2  2026 .local/
-rw-r--r-- 1 dietpi dietpi  161 Aug 28  2024 .profile
drwx------ 2 dietpi dietpi 4.0K Dec  4 07:05 .ssh/
-rw------- 1 dietpi dietpi  11K Dec  4 07:05 .viminfo
-rw-r--r-- 1 dietpi dietpi  180 Apr 29  2026 .wget-hsts
-rw------- 1 dietpi dietpi 1.1K Dec  4 04:39 .xsession-errors
-rw------- 1 dietpi dietpi 1.5K Dec  4 01:40 .xsession-errors.old
-rw-r--r-- 1 dietpi dietpi  31K Apr  2  2026 APTinstalled0.txt
-rw-r--r-- 1 dietpi dietpi  31K Apr  2  2026 APTinstalled1.txt
-rw-r--r-- 1 dietpi dietpi  35K Oct 23 23:41 APTinstalled2.txt
-rw-r--r-- 1 dietpi dietpi  34K Dec  4 07:10 APTinstalled3.txt
drwxr-xr-x 2 dietpi dietpi 4.0K Dec  4 07:11 Desktop/
drwxr-xr-x 2 dietpi dietpi  16K Apr 29  2026 Pictures/
-rw-r--r-- 1 dietpi dietpi 2.6K Apr  2  2026 aliases.sh

1

u/Corvix0 2h ago

It looks interesting

1

u/GarThor_TMK 1h ago

I just use -alh... gives me most of the most pertinent info.

If you use oh-my-posh, I think there's a way to get it to show icons for different file types, but now I realize I don't seem to have that set up, and I'm not sure why it's not working now... >__>

2

u/Key_River7180 Bedrock Linux / FreeBSD / 9Front 4h ago

To what folder, specifically?

1

u/Corvix0 4h ago

If you mention about hidden folders they folder start with dot "." If about specific folders they are like tools, games, development etc. If last one it's home/user/ folder

2

u/beatbox9 4h ago

I do not understand what you're trying to say, but read the section about Linux Directory Structure (you have to expand it) here: https://arslaan.studio/setting-up-a-linux-media-studio-workstation-audio-video-graphics-davinci-resolve-etc/#step-1-install-linux

1

u/Corvix0 4h ago

Actually I want to sure about that when I download smth via terminal should I go specific folder, for example when I download tool from GitHub, should i write cd Tools then download or just gitclone is enough (without moving any folder which terminal opens default).Also thanks for this material

2

u/Ok_Gold_2107 4h ago

No. Probabilmente non hai l'accesso (non sei robot) e quindi non le vedi.

1

u/Corvix0 4h ago

After clicking ctrl + h in file system or ls -a in terminal I can, but in default, yes I can't see

2

u/jar36 4h ago

I don't mess with most of those apps, but it looks about right. This way you can back up your home directory and reinstall or distrohop if you ever need or desire to
I think the idea of being hidden is so that if you were to open your file manager with default settings it won't be cluttered and basically only show the default directories (Desktop, Documents etc)

1

u/Corvix0 4h ago

Actually yes it's logical to hide them like appdata files.

2

u/emcpu 4h ago

Think of the .folders as appdata on windows. There is no difference whatsoever between OS. All I gotta suggest is to stick to flatpak if you are installing any apps.

1

u/Corvix0 3h ago

When I download something from cosmic store yes most packages are in flatpak, but others which are downloaded from external sources such as GitHub it uses snap (apt)

2

u/doc_willis 1h ago

apt, and snap are different, but ubuntu uses both package manager systems (snap and apt) for software. Flatpaks are a 3rd way to install software.

Theres a dozen+ other ways to install software. Once you start using git and other methods, you need to pay attention more.

Something from git does not mean its using apt, or snap.

1

u/Corvix0 1h ago

Thanks a lot explaining, I'm new in Linux that's why I don't know exactly differences

1

u/skyfishgoo 3h ago

what and from where are you "downloading" these things from?

what distro are you using?

1

u/Corvix0 3h ago

Actually it's mainly from GitHub, or open source softwares from different websites also I use cosmic store. I use Pop!_OS with cosmic DE

-1

u/Venylynn 3h ago

This is nitpicking but seeing how disorganized your home directory is is messing with my head big time Good god

1

u/Corvix0 3h ago

That's why I asked this question to Reddit

2

u/doc_willis 1h ago

there is nothing really that unusual about your home directory. Its about as basic a layout as it gets.

1

u/Venylynn 1h ago

To be fair, even MINE feels a little too cluttered. All the extra dotfiles, I recently moved a few of my dot folders into .local/lib to clean it up a bit (lv2, vst, and vst3 specifically). I'm so ready for when Steam doesn't need a symlinked ~/.steam anymore too. I have 15 folders and 4 files and I still wish I could get that number down more.