Installing Astrill on the Steam Deck through shell,

Hello everyone.

I hope it’s okay to ask questions more about Archlinux than the Steam Deck itself, I guessed someone here would’ve had the same problem.

I’m trying to install Astrill, a VPN, through a .sh file that you can download on their website. When I try to launch the shell script with the following command:

chmod 777 astrill-setup-linux64.sh; ./astrill-setup-linux64.sh

After launching the script, the console gives me the following error:

Cannot create directory usr/local/Astrill: read-only file system

I’ve used chmod 777 because I thought that if any permission worked, it’d be this one. But I’ve heard that some programs actually don’t work with 777 for security issues. I’m not quite sure which one I’d use.

Has anyone faced a similar problem and knows how to solve this?

Thanks.

Yay has an astrill package.

You can install it for sure.

Here is my procedure:

https://github.com/sjerrys/installAstrillOnSteamdeck/blob/main/readme.md

Its not a permission issue with your install script, its because the FS is readonly by default, you can turn it off with

sudo steamos-readonly disable

Altough afaik steam will restore everything back to their defaults ( removing whatever you installed ) after every update.

Did you manage to install astrill eventually? I want to install it …

u/Sleepy_Redditorrrrrr, you can [click here to search for your question.](https://www.reddit.com/r/SteamDeck/search/?q=Installing Astrill on the Steam Deck through shell,)

If you don’t find an answer there, don’t worry - your post has NOT been removed and hopefully someone will be along soon to help with an answer!

If you find a solution, please leave a comment on this post with the answer for others!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

Any chance you would be wiling to make a YouTube instructional video of this please? I’m clueless man, big time noob here. I’m heading back to China in two weeks and want this installed before I get back. Been loving playing online with my friends with the steam deck. It won’t be possible in China without Astrill.

Nope… Couldn’t find how to anywhere. If you ever get a clue as how to do it, I’d be very happy to know!

I just got this working by following the instructions in that link! If you need help over WeChat or discord DM me and I’d be glad to help you out.

This was nine months ago, manage anything since then? I found that RouterPro protocol is the same as Stealth, and will work over your router. It’s not hard to setup, so I’ll likely do that soon once I buy an Asus router, but if I could install Astrill directly on to my deck (after every update) that would be cheaper.

This was a while ago but I’d really like some help getting this to work

hey man … wouldn’t mind an assist if you’re able … those instructions are a little difficult to understand

Hi! Sadly not, I’ve kind of given up after trying everything I could find. Might be because I’m not tech savvy enough though, someone else might be able to get it to work

Hey send me a DM in two weeks, I have an instruction txt file on how to do it on my PC there. On vacation.

Check my comment history, I forget where but I put up a write up of what to do when an update breaks it, essentially the same thing.

I got it to work, let me know if you want some help.

You got it! Enjoy your trip

Here are notes I wrote for myself.

Installing Astrill after an update:

  1. Open Konsole and type passwd then set the password, if you don’t already have one set. It will be obvious if you didn’t, because it will ask you to input it twice to set it.
  2. Now, type:

Sudo pacman-key –init
Sudo pacman-key –populate archlinux

  1. Now download the astrill linux client “Linux CLI 64-bit” from their website and put it on your steam deck.
  2. Next, in the folder where that file is, right click and open the Konsol.
  3. Next, type:
    Chmod +xxx astrill-setup-linux64.sh

Then, type:

./astrill-setup-linux64.sh

It will ask you to hit enter to install, do that, and once it’s installed you will need to install these two dependencies. Last time, you had to manually down the files using your PC, then put them into a folder. So do that again so you don’t have any issues. Download the latest versions of gtk-engines and gtk2, currently the files are named gtk2-2.24.33-3-x86_64.pkg.tar.zst and gtk-engines-2.21.0-5-x86_64.pkg.tar.zst

To get the latest file names, type:

Pacman -S gtk engines

And it should list the two files you need, but don’t download it using konsole because it will likely just fail. Download them from a website and put them on USB.

Once you have the two files, put them on your steam deck and right click in the folder where they are and open konsol, then type:

Sudo pacman -U –noconfirm the-name-of-the-package.pkg.tar.zst

Close it, open konsole again, and do it for the second file. Then you should be able to launch Astrill no problem.

Thanks a lot, i was looking for this for a year .

I will give it a try tonight.

No problem, just glad it works thanks to the people I got this info from. You could also install router pro on a supporting router, that’s basically stealth VPN. At least, that’s what Astrill support told me.