I’ve downloaded Anki and I have Linux enabled on my Chromebook and a folder named anki-launcher-25.09.linux.tar.zst (which in saved on linux on files) and it contains numerous files some of which do not allow me to open them
i put ‘sudo apt install libxcb-xinerama0 libxcb-cursor0 libnss3’ into terminal and it said
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
libxcb-xinerama0 is already the newest version (1.15-1).
libxcb-cursor0 is already the newest version (0.1.4-1).
libnss3 is already the newest version (2:3.87.1-1+deb12u2).
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
then i read the installation and it told me to install zstd on terminal by ‘sudo apt install zstd’
it then said
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
zstd is already the newest version (1.5.4+dfsg2-5).
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
So i assume what i have done is correct since it has not said error.
However the next step is ‘Open a terminal and run the following commands, replacing the filename as appropriate.
tar xaf Downloads/anki-2XXX-linux-qt6.tar.zst
cd anki-2XXX-linux-qt6
sudo ./install.sh '
I am unsure how to do this I have tried numerous trying the get is to work by replacing 2XXX by 2509 (the name of the file) but i am unsure what i should type and where in the command thing to write it, this is my first time using terminal so its all quite confusing. I have watched Youtube videos but they seem to be outdated and I have used google but nothing is working.
If someone could let me know how to type the last command thing into terminal it will be really helpful and ill be happy gie any other details about what I have tried in order for this to work.
Thank you !!
Thank you, i have just put that into terminal and it has said
tar: Downloads/anki-launcher-25.09.linux.tar.zst: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
I am not sure why it has said that since that is the name of the folder. There are other files within this folder, as shown in the images below, so i am wondering if they have any relevance. Thank you for helping!
@yem3nii
A bit late but you already have the file uncompressed. You can see its contents in the screenshots. Just run ./install.sh as outlined in the install instructions.
Please perform an internet search for “linux terminal basics” and watch or read a few tutorials. They will teach you the basics of how to use the terminal, what some common commands are, etc. Otherwise, it seems as if you might be just typing in commands without understand what they do or why you are doing them. And, it is resulting in confusion when the commands fail.
First, I note that the installation instructions say to run sudo ./install.sh, not just ./install.sh. Please follow the instructions.
The sudo ./install.sh command is intended to run the script named install.sh that exists in the current directory. (The ./ in the beginning of ./install.sh means “the current directory”.) The command will succeed only if your current directory contains the install.sh file. If you are in the wrong directory, if the install.sh file is in a different directory, the command will fail.
What directory were you in when you ran the ./install.sh command? Was it the correct directory containing the install.sh file? If not, that would explain why you got a “no such file” error.
The cd command is used to change the current directory, to go into a different directory. The instructions say to use the cd command to go into the correct directory before running the sudo ./install.sh command.
Did you use the cd command to go into the correct directory before you tried to run the command?