Wafficus | wxl: Hey there, downloading the .run file for that qt package | 23:32 |
---|---|---|
Wafficus | http://download.qt.io/official_releases/qt/5.11/5.11.2/ | 23:32 |
Wafficus | the guide calls for a .tar file though, not sure why cause they don't have any listed for the Linux section | 23:33 |
wxl | they probably switched | 23:33 |
wxl | tars are compressed files.. so are 7zs | 23:33 |
Wafficus | ah true | 23:35 |
Wafficus | 7zs i'm familiar with cause of 7zip | 23:36 |
Wafficus | cool, so .run works like a Windows .exe right? | 23:36 |
Wafficus | just double click and i'll be good? | 23:36 |
Wafficus | or rather | 23:37 |
Wafficus | where should I store that said program. Like in Linux, where should I store the programs I want to install if I do this method? | 23:37 |
Wafficus | in the /bin folder right? | 23:37 |
wxl | start by downloading it | 23:37 |
wxl | then you can inspect it | 23:37 |
Wafficus | yep almost done downloading | 23:38 |
Wafficus | btw, should I also download MySQL? | 23:39 |
Wafficus | do you do that with qt for this type of work? I ask cause the guide is asking to also possibly install ibmysqld-dev | 23:39 |
Wafficus | libmysqld-dev | 23:40 |
wxl | not sure why | 23:40 |
Wafficus | so I got that .run file | 23:41 |
Wafficus | I tried double clicking it, and its asking which program to use to run it | 23:41 |
wxl | run `file /path/to/file` | 23:41 |
Wafficus | ah so if its on my desktop: | 23:42 |
Wafficus | run (.run file) /home/sbpc/Desktop/(.runfile) | 23:42 |
wxl | um | 23:42 |
wxl | no | 23:42 |
wxl | 1. open a terminal | 23:43 |
wxl | 2. type this: | 23:43 |
wxl | file $HOME/Desktop/*.run | 23:43 |
wxl | 3. hit enter | 23:43 |
Wafficus | ibmysqld-dev | 23:44 |
Wafficus | sbpc@sbpc:~/Desktop$ file qt-opensource-linux-x64-5.11.2.run | 23:45 |
Wafficus | qt-opensource-linux-x64-5.11.2.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=75f78826207d25aa58a59ccef21ff54d1fe388b0, not stripped | 23:45 |
Wafficus | y | 23:45 |
wxl | right | 23:45 |
wxl | so that tells you the answer to your question | 23:45 |
wxl | it's an executable/binary/compiled file | 23:45 |
wxl | it's not a shell script, so it's not quite as easy to see what it's doing | 23:45 |
wxl | but suffice it to say all you need to do is execute it | 23:45 |
Wafficus | ah so, basically | 23:45 |
wxl | you should just be able to do the following in terminal: | 23:45 |
wxl | /path/to/file | 23:46 |
wxl | or in your case: | 23:46 |
wxl | $HOME/Desktop/qt-opensource-linux-x64-5.11.2.run | 23:46 |
wxl | or if you're already in $HOME/Desktop: | 23:46 |
wxl | ./qt-opensource-linux-x64-5.11.2.run | 23:46 |
Wafficus | it said command not found | 23:48 |
Wafficus | and i'm in the same directory | 23:48 |
Wafficus | weird | 23:48 |
wxl | qt-opensource-linux-x64-5.11.2.run WILL NOT work | 23:48 |
wxl | ./qt-opensource-linux-x64-5.11.2.run WILL work | 23:48 |
wxl | note the difference | 23:48 |
Wafficus | sbpc@sbpc:~/Desktop$ file qt-opensource-linux-x64-5.11.2.run | 23:48 |
Wafficus | qt-opensource-linux-x64-5.11.2.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=75f78826207d25aa58a59ccef21ff54d1fe388b0, not stripped | 23:48 |
Wafficus | wrong paste | 23:48 |
Wafficus | sorry | 23:48 |
Wafficus | sbpc@sbpc:~/Desktop$ sudo ./qt-opensource-linux-x64-5.11.2.run | 23:49 |
Wafficus | [sudo] password for sbpc: | 23:49 |
Wafficus | sudo: ./qt-opensource-linux-x64-5.11.2.run: command not found | 23:49 |
wxl | well maybe that's not the name of the file? | 23:49 |
Wafficus | whats weird is that it won't even do the autocompleter with the tab character | 23:50 |
Wafficus | like normally with some files you can just type "qt-open" and hit tab and it'll autocompleter | 23:50 |
Wafficus | *autocompleter | 23:50 |
lubot | <TheWendyPower> When you atre typing out a file path you can hit tab and it will complete the directory that starts with what you are typing. It makes things go faster too. | 23:50 |
Wafficus | yup, I know that | 23:51 |
Wafficus | that's what's weird about this | 23:51 |
wxl | what if you don't sudo? | 23:51 |
lubot | <TheWendyPower> Does ls show the file? Thre is always copy past ;) | 23:52 |
Wafficus | it says permission denied | 23:52 |
wxl | try `chmod +x /path/to/file` | 23:52 |
Wafficus | yeah I tried that too | 23:53 |
Wafficus | still won't run the command | 23:54 |
wxl | try using the full path. i don't know. that's insane | 23:54 |
lubot | <TheWendyPower> wxl there has been a lot of that lately... | 23:54 |
wxl | i can tell you if there's no +x on the file, you will get permission denied from a normal user and command not found from a sudo | 23:55 |
wxl | chmod +x fixes both | 23:55 |
Wafficus | should i leave this terminal and restart a new one? | 23:55 |
wxl | nope | 23:55 |
Wafficus | I just have tmux running ontop of cool-retro-term | 23:56 |
Wafficus | I tried with LxTerminal too though, still no dice | 23:56 |
Wafficus | maybe I should just create an alias to the existing qt I installed via the package manager? | 23:56 |
wxl | this is not a terminal problem | 23:56 |
Wafficus | I know its in some weird program directory | 23:56 |
Wafficus | hold on | 23:57 |
Wafficus | I found the .tar file in the "single" directory on that download page | 23:57 |
Wafficus | i'll try following the guide with the .tar file instead | 23:57 |
Wafficus | .7z file I mean | 23:58 |
wxl | yeah i don't know. if you can't execute files, that's a more fundamental problem | 23:58 |
Wafficus | don't get me wrong, I wanna learn | 23:58 |
Wafficus | oh wait, you mean my system right? | 23:59 |
wxl | yeah | 23:59 |
Wafficus | it is an old laptop running Lubuntu I guess | 23:59 |
wxl | you should EASILY be able to do the execution as discussed above | 23:59 |
wxl | nothing to do with age or any other factor should really have any impact | 23:59 |
Wafficus | gotcha | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!