1

I am new to ubuntu/linux.

My question will be about installing steam on my second ext4 formatted hdd.

Mind you, not just the downloaded steam games but the steam program and the games. (once i install steam program then i know there is an option to choose the game installation directory from within steam application)

So the hdd is clean without any data on it, it is formatted as ex4 and when I click the mount option from the default gnome disk application, it automatically mounts the hdd as /media/"myname"/"data" where data is the volume label of the disk.

I want to install steam on this disk and just keep it for steam games and gaming purposes.

By now, you must have understood that i could not have yet figured out the linux file system by a long shot, however i intend to.

This is all windows' fault as all we learn in computers these days is where to click and where to double click. When we want more, we just right click.

Anyhow, good riddance for me.

Question: Can steam app/client/program be installed on the above mentioned drive and how ? Do you guys predict any problems for me to face should i manage to do so ?

thanks a lot.

(i suspect i might have broken a few ask ubuntu rules in this post but hey, this is my very first question about linux ever)

edit: i don't have windows on my system. Just ubuntu 18.04

1 Answers1

0

Hey great question for your first. Since you are new to linux as a whole, I'll describe how I went about answering your question.

Now, linux has a bunch of installers varying across distributions, like windows has .exe and .msi based installers. If you look at the steam installer from the website its a .deb package. That package is meant for debian. But, since Ubuntu is a debian derivative most .deb packages seem to work here.

Great, so now we need to know if we can install .deb packages to a specific location. Take a look at this answer about the same. After reading the answer, if you looked into the package the way @soulsource said, you realize we are in the unlucky category where the files have to go where it has to, else steam will not work.

So, what can we do? There are a bunch of alternatives suggested in the shared answer - but, here's my 5 cents.

  1. I don't know about your usage of Ubuntu, but if it is just for steam, may I suggest you install Ubuntu on that HDD itself and let the installer work the way it should and as an added bonus you get to leave your games on the same drive.
  2. Another way that I'd like to suggest is (I haven't tried it, since I don't want to install steam on my Ubuntu) is you play with chroot. Use the install prefix dir mentioned in the shared answer and then copy over whatever is actually required by steam from your actual root file system to your folder, preserving directory hierarchy and write a script to chroot to the folder and then call steam's executable.
  3. Here is the last one I got, install steamOS on that other HDD of yours and don't worry about a thing. It has automatic driver updates (including for graphics) and all the other good stuff.

1 and 3 are by far the easiest. 2 is the toughest, tougher than most answers you will find, but if you experiment with 2 you will learn a great deal about the Linux FS and more because it harder to do this for GUI apps XD. Among the easiest, I would prefer 3 since Valve takes care of everything so that your games always run.