How to switch with SmartGit to non commercial version on Ubuntu 20.04 - ubuntu-20.04

I use Ubuntu 20.04. After 30 days of using SmartGit, it wants to change to commercial version. I use it for personal purposes.
I tried this:
How to change SmartGit's licensing option after 30 days of commercial use on ubuntu?
and this:
https://www.syntevo.com/blog/?p=3669
but couldn't find such folders and files.
I also uninstalled and reinstalled it three times with these commands:
sudo apt remove smartgit
sudo apt autoclean && sudo apt autoremove
and
sudo apt install smartgit
but nothing changed.
So can anyone know a way how to change to non commercial version of SmartGit on Ubuntu 20.04?

Only applying "Delete the config files of SmartGit" part was enough for me.
So:
rm -rf ~/.config/smartgit
Then run smartgit and it asks for licensing options again like the first install.
Yes the other options for smartgit are lost removing the folder completely so a fine tuning may be done to this approach if needed.

Wow, I found the solution!
With the help of this:
https://askubuntu.com/questions/244754/how-to-completely-remove-application
So the process is
Remove SmartGit
sudo apt remove smartgit
sudo apt autoclean && sudo apt autoremove
Delete the config files of SmartGit
Navigate to the home directory,
Ctrl + H to show the hidden folders,
in the .config folder
delete the smartgit folder.
Install SmartGit
sudo apt install smartgit
Choose the free non-commercial option
Be careful. Choose not the default option but
the free non-commercial option.

Related

What is equivalent option of --print-uris in apt for yum?

When you need to do apt upgrade but you cannot get the Ubuntu PC connected the internet, you will use following command in order to know urls of packages that the Ubuntu needs for upgrade.
sudo apt --print-uris upgrade
Then, you will download all deb files at another PC connected the internet and get the Ubuntu PC read these files via flash drive or something to upgrade with below command.
sudo dpkg -i *.deb
I'd like to know how to do same operation with yum manager in OracleLinux8. I am very beginner of radhat.
Thank you,

FSL installation in Ubuntu FAILED message

I am a traditional Windows user and therefore you have to excuse me for my lack of experience with other OS. I installed Ubuntu in order to install FSL in my computer (seems the Windows installation failed so I tried this). However, the download goes right, but at the end it says "[FAILED] Unable to unpack FSL".
How can I solve it?
Thanks a lot
First of all, this is not a programming question. If it can still be moved to AskUbuntu (or SuperUser) it may be better appreciated.
In Ubuntu the easy way to install software is through the package manager. This is by far the least amount of work and installs binary packages in default locations (FSL is in the path straight away), plus it takes care of all the dependencies!
FSL is in the NeuroDebian repository, and if you add this to one of your 'software sources' then you can install it via Ubuntu's package manager, APT:
go to https://neuro.debian.net and find out how to add the right repository, e.g.
$ wget -O- http://neuro.debian.net/lists/focal.de-fzj.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
$ sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9
update the list of packages APT can find:
$ sudo apt update
install the fsl packages you want, e.g.
$ sudo apt install fsl-5.0 fsl-harvard-oxford-cortical-lateralized-atlas

What's the difference of source complile or use apt?

For example, I want to install glog, I could use
sudo apt-get install libgoogle-glog-dev
or
git clone https://github.com/google/glog
./autogen.sh && ./configure && make && make install
What's the difference?
I'll appreciate it if you help me.
In
sudo apt-get install libgoogle-glog-dev,
It installs and maintains programs and other collections of files (data, documentation, etc.) in the form of packages.
while in second one you first download the source from Github repository and then run various shell files which get it installed on your system.
I hope it helps you.

Setup Macports on an offline machine

I need to install dpkg for my mac and the easiest way I have seen for doing that is to install Macports. Unfortunately the machine I want to install it on is not connected to the internet.
Is there a way to download dpkg and its dependencies for macports and install the packages on the offline machine?
I have seen people mention to set it up on an online machine and move the whole macports folder, however the only machine I have online is running a different OSX version which could cause issues.
Thanks in advance.
You could try to download all sourcefiles using
sudo port fetch rdepof:dpkg
and then copy everything in (/opt/local/var/macports/distfiles/) to the offline machine and put it in the same folder there.
Then you should be able to build dpkg using
sudo port install -s dpkg
The -s option forces macports to build from source. (Prevent MacPorts from installing pre-built package?)

SmartGit Installation and Usage on Ubuntu

I have downloaded latest SmartGit installation and each time I want to use it I need to run script smartgit.sh from SmartGit bin directory, this process requires the same repository setup every time.
What it correct way of installing SmartGit on Ubuntu? Thus I can have normal icon and run the program from state of previous usage, without configuring repositories every time.
Thanks.
You can add a PPA that provides a relatively current version of SmartGit(as well as SmartGitHg, the predecessor of SmartGit).
To add the PPA run:
sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
To install smartgit (after adding the PPA) run:
sudo apt-get install smartgit
To install smartgithg (after adding the PPA) run:
sudo apt-get install smartgithg
This should add a menu option for you
For more information, see Eugene San PPA.
This repository contains collection of customized, updated, ported and backported packages for two last LTS releases and latest pre-LTS release
What it correct way of installing SmartGit on Ubuntu? Thus I can have
normal icon
In smartgit/bin folder, there's a shell script waiting for you: add-menuitem.sh. It does just that.
Now on the Smartgit webpage (I don't know since when) there is the possibility to download directly the .deb package. Once installed, it will upgrade automagically itself when a new version is released.
Seems a bit too late, but there is a PPA repository with SmartGit, enjoy! =)

Resources