Hello all,
As LinuxMint 20.1 has been released, I updated my script to help people install CQRlog without any trouble.
I have to mention that i assume you install all on a fresh installation of LM20.1
You can find my script on https://github.com/pa1sbm/LM_CQRlog_Installer
Please do read the text there be for you start!
So What does the script do.......
- Add OK2CQR repository to your system so we can install it, and update it in the future using the normal update manager in Cinnamon
- Update the apt cache
- Install CQRlog (Including mariadb!)
- Install X-Planet and X-Planet-images
- Checks if the user is a dialout member, if not he will be.
- If you run the "incl_HAMlib" version: Download HAMlib 4.0 (you can configure the version in the script if a newer version has been released)
- If you run the "incl_HAMlib" version: Install HAMlib 4.0
- Cleaning up some temp stuff
- Forcing a reboot in 30 seconds after it finishes (un-linux like, but by far the safest option to get all the new rights and libraries set correctly)
Yes you read it correctly, even though HAMlib does not state this on there website directly, there is a build for HAMlib 4.0 , and if you need to have that as your rig is not in HAMlib 3.3 (which is shipped with LM20.1) you can install the 4.0 with this script. (info at https://sourceforge.net/projects/hamlib/files/hamlib/)
How to get the script.....
A) download the zip from my github.....
B) In a terminal use: git clone https://github.com/pa1sbm/LM_CQRlog_Installer.git
This wil make a folder "LM_CQRlog_Installer where you ran the git command
Please do not copy&paste the scripts from the github page, this has given problems be for!!
Please let me know if you would like to have a feature added, or if something does not work for you.
You are always free to email me at pa1sbm@live.nl
kind regards,
Alex.
PA1SBM
Hi Alex,
I did a short review of your fine script - it is working straight forward.
Some kind of error handling is missing!
Please try to check, if something is going wrong and inform the user what is going on.
--
73 de Martin, DL1MTG
Hi Martin,
Yeah , i know what you mean.......
I would like to have some error catching in the script as well.....
I did do a check if you run the script as root (or as sudo)... which is mandatory for most commands executed. And it stops when you are not.....
To check the other stuff, i need to create issues that can go wrong, and as i test on a VM, which has a clean install i do not get errors (believe me, i have deployed this script a lot :) )
I will have a look if i can make an catch after every step to at least catch the error if the exitcode is other then 0.... then at least you know what went wrong where...
If you have any other suggestions on what errors to grab, please let me know....
Next challenging thing will be to force the script into an error...... In all my tests it has not failed on other things then me making typos :)
Thanks for looking at my script!
Alex
Hello,
When i follow the above instructions i get an error
(ve6pco@ve6pco:~$ sudo ./LM_CQRlog_Installer_incl_HAMlib.sh
./LM_CQRlog_Installer_incl_HAMlib.sh: 8: Syntax error: newline unexpected)
Fresh install of linux mint 2.1 Mate, tried a few times and also installed build-essential, make, on last install yet no luck. Hamlib 4.0 is what i really need for icom 9700
73
Richard
Hey Richard,
I will look into that, that should not happen.
The things you installed, are installed by the script as well. but somehow from my code to git , something went wrong i think.
How did you download the scripts? in the zip ?
greets,
Alex
Actually no zip file and now I question what I downloaded. Maybe just a link was put into my home folder. I will look at this first. Nee to linux so wk review what I did.
Thank you for response.
73
Richard
So after reviewing my mistakes, the script ran perfect with the zip file i now downloaded. Rookie mistake
Thank you for doing this and getting back to me.
73
Richard
Hey Richard!
That's great to hear! No worries, i always want to have feedback so that i can fix any error in the script so i can run it myself without errors as well :)
good luck using CQRlog, by far the best tool around!
Alex
PA1SBM