Can i choose where to install apps? My 72 hour in with Ubuntu

basically installing programs depends on how it installs.
Most gog, steam etc. games f.x. allows you to pick and choose.
But if you “sudo apt-get install someProgram”
dont think of it as installing a program as in windows logic.
But rather adding a “feature” to your plaform.
there are some set folders for most file types, like binaries, executables etc. in linux, check out the /usr/bin folder fx.
and you dont really control the installed files, and just have to watch the space available on your root folder.
e.g. you can “df -h”
then look for space available on /

To mount partitions as at boot you edit the /etc/fstab file.
to get the uuid of the partition use sudo blkid
then edit your fstab and pretty much copy paste, unless you’re “really anal” about your setup.
normally i just use something like this.
uuid path fstype defaults 0 0
then try it out using sudo mount -a
And if it didnt work google your problem :wink: thats the beauty of linux, allmost every answer is right there on google, and there are ALOT of helpful people.

It’s as if the drive is being mounted twice. :face_with_raised_eyebrow: Perhaps Ubuntu tried to mount it automatically in addition to the mount point we created. They should both be in the /etc/fstab file we modified earlier. One needs to be removed. May I see the output of.

cat /etc/fstab

I started with google, I always do, but my case is kind of specific sens i have had for a long time a separate drive for games and most programs to keep things nice and tidy on my Windows PC. But I understand that linux doesn’t work the same way it’s just that aat this point it doesn’t look like i’ll be able to utilize my 1TB drive if i don’t reinstall linux on that one insted :confused:

here ya go

Everything looks fine. Is the folder still not visible in Steam?

i can’t even find the /mnt folder/path. :thinking:

my setup is.
A drive mounted in /media/games for well games.
A drive mounted in /media/storage for everything else.
and some bad a… m.2 ssd typish drive
mounted as /

What file system does your 1tb contain? i find it really wierd if you cannot mount it as is, pretty much anywhere. fx. make a folder /home/youName/someFolder or /media/someFolder. and mount it there.

Just curious. What is the output of:

ls -l /media

MoreDumping

I could just re maunt it in a way you think is more “propper”… :thinking:

I’m open for suggestions…

Try:

sudo chmod 755 /media/hdd

Permissions might be the problem. I may be wrong. Haven’t messed with permissions in awhile.

Acctualy lets also check.

ls -l /

Trying to mirror my current set-up. :wink:

try this.
open a console.
mkdir ~/temp

sudo fdisk -l
Find your harddrive here, it will says harddrive something alot of text 1tb, and notice wether it is called /dev/sdX1,2,3,4,5…9trillion just note this down.
feks.
Disk /dev/sda: 1,8 TiB, 2000398934016 byte, 3907029168 sektorer
Enheder: sektorer af 1 * 512 = 512 byte
Sektorstørrelse (logisk/fysisk): 512 byte / 4096 byte
I/O-størrelse (minimum/optimal): 4096 byte / 4096 byte
Disketikettype: gpt
Diskidentifikation: 861E5E95-C09B-EF43-B8C4-A1010D231A27

Enhed Start Slut Sektorer Størrelse Type
/dev/sda1 2048 3907029134 3907027087 1,8T Linux-filsystem

now.
sudo mount -t auto /dev/beforeMentionedNote ~/temp

and finally
cd ~/temp/
ls
Does this show your files?

Hera ya go Mr.Linux Wiz

also @Crystal_Labs this might be important

poopipoop

Hope I’m not wearing out my welcome but there is one more thing I’d like to try if your willing.

create a new directory in:

sudo mkdir /home/hdd

reopen /etc/fstab and change your mount point to:

/dev/sdb1    /home/hdd    ext4    defaults    0    0

Then restart. Since we know steam can see the home folder I don’t know why this shouldn’t work.

thats the same as dir C:/(i think Ms calls it).
Are you trying to mount your 1tb harddrive?
if yes goto 1
if no goto 2

1:

  1. open a console.

  2. mkdir ~/temp

  3. sudo fdisk -l
    Find your harddrive here, it will says harddrive something alot of text 1tb, and notice wether it is called /dev/sdX1,2,3,4,5…9trillion just note this down.
    feks.
    ->Disk /dev/sda: 1,8 TiB, 2000398934016 byte, 3907029168 sektorer
    Enheder: sektorer af 1 * 512 = 512 byte
    Sektorstørrelse (logisk/fysisk): 512 byte / 4096 byte
    I/O-størrelse (minimum/optimal): 4096 byte / 4096 byte
    Disketikettype: gpt
    Diskidentifikation: 861E5E95-C09B-EF43-B8C4-A1010D231A27

Enhed Start Slut Sektorer Størrelse Type
->/dev/sda1 2048 3907029134 3907027087 1,8T Linux-filsystem

  1. sudo mount -t auto /dev/beforeMentionedNote ~/temp

  2. cd ~/temp/

  3. ls

  4. Does this show your files?

2:

  1. What exactly is the problem then, is it user privilegdes, that is a whole other story

this is a bit curious…
hmmmmm

also…
also

this is getting rediculous. :upside_down_face:

DDDD%3A

Use sudo sorry.

this is linux :wink:
and that looks like your drives content doesn’t it.
so you can read the data of it.