How I upgrade to 2.5.0 on Red Hat

48 views
Skip to first unread message

ToddAndMargo

unread,
Nov 2, 2016, 1:55:45 AM11/2/16
to krusade...@googlegroups.com
Hi All,
In case anyone wants to do this upgrade in Red Hat (RHEL and clones, Fedora), here
is what I did.  Keep in mind that you will lose all your settings and bookmarks
in the upgrade (https://bugs.kde.org/show_bug.cgi?id=371964):

1) download the srpm from 
https://apps.fedoraproject.org/packages/krusader/overview/

2) make sure you have the EPEL repo loaded if your are using RHEL or clones
$ su -c "yum install epel-release"

3) install the dependencies

$ su -c "yum install  qt5-qtbase-devel kf5-kio-devel  kf5-karchive-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kcoreaddons-devel kf5-kconfig-devel  kf5-kdoctools-devel kf5-ki18n-devel  kf5-kiconthemes-devel  kf5-kitemviews-devel  kf5-knotifications-devel   kf5-kparts-devel  kf5-solid-devel   kf5-ktextwidgets-devel   kf5-kwallet-devel   kf5-kwidgetsaddons-devel  kf5-kwindowsystem-devel   kf5-kxmlgui-devel  kf5-kguiaddons-devel   extra-cmake-modules"

4) rebuild the srpm:
$ rpmbuild --rebuild krusader-2.5.0-1.fc26.src.rpm

5) copy over the two rpm's from the rebuild (shows in the text of the rebuild)

6) install the rpm:
$ su -c "rpm -Uvh krusader-2.5.0-1.el7.x86_64.rpm"

-T
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A. Bikadorov

unread,
Nov 2, 2016, 6:44:03 AM11/2/16
to krusade...@googlegroups.com

Info for everybody.

On 02.11.2016 06:55, ToddAndMargo wrote:
> Keep in mind that you will lose all your settings and bookmarks
> in the upgrade

KDE5 uses new locations for configuration files. Krusader does not copy the files to the
new locations by its own when upgrading.

No files are lost and you can manually copy the files to the new locations.

Main configuration file.
Old path: /home/{user_directory}/.kde4/share/config/krusaderrc
New path: /home/{user_directory}/.config/krusaderrc

Directory for additional files (including bookmarks):
Old path: /home/{user_directory}/.kde4/share/apps/krusader/
New path: /home/{user_directory}/.local/share/krusader/

(Directories with a dot as first character are hidden and you may not see seem).


Anybody is welcome to write a patch for doing this automatically. We just have a lack of
manpower on the developer side.

Cheers
Alex

ToddAndMargo

unread,
Nov 5, 2016, 4:06:02 AM11/5/16
to krusade...@googlegroups.com
On 11/02/2016 03:44 AM, A. Bikadorov wrote:
> Anybody is welcome to write a patch for doing this automatically. We just have a lack of
> manpower on the developer side.

I "might" be able, depending on time, to write something for that.

1) If I write a stand alone program. Would you be able to
weave it in after that?

2) bash or perl 5 or do you care? (I write in both. Perl would be easier
for me.)

3) Would you want me to probe all users with groups of 500
(users) and above?

4) if the new path does not exist, copy the old path over?

A. Bikadorov

unread,
Nov 5, 2016, 10:56:07 AM11/5/16
to krusade...@googlegroups.com

> 1) If I write a stand alone program. Would you be able to
> weave it in after that?

Please not a standalone executable/script. It can be a separate C++ exe but must later be
integrated into Krusader's codebase.

> 2) bash or perl 5 or do you care? (I write in both. Perl would be easier
> for me.)

C++/Qt code, see above. (And we can not make Perl or Bash a dependency of Krusader because
of this. Package maintainers will kill us:)

> 3) Would you want me to probe all users with groups of 500
> (users) and above?

No, why?

> 4) if the new path does not exist, copy the old path over?

Not the whole directory if you mean that. Only specific files.

See https://bugs.kde.org/show_bug.cgi?id=371737 , we can discuss this further there.

Cheers
Alex

ToddAndMargo

unread,
Nov 6, 2016, 8:47:58 PM11/6/16
to krusade...@googlegroups.com
Unfortunately, this is over my head.

I was hoping it was like the exit scripts used by RPM's

Rats
Reply all
Reply to author
Forward
0 new messages