LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing gparted (https://www.linuxquestions.org/questions/slackware-14/installing-gparted-935121/)

rng 03-18-2012 12:13 PM

Installing gparted
 
Gparted was not installed on my new slackware13.0 system. So I downloaded the package from http://repository.slacky.eu/slackwar...gparted/0.5.2/ and ran installpkg as root. Package was installed but on running the command 'gparted' I got following error:
Code:

/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory
How do I proceed? Thanks for your help.

repo 03-18-2012 12:19 PM

You need
http://slackbuilds.org/repository/13...braries/gtkmm/

Kind regards

rng 03-18-2012 12:21 PM

I installed gtkmm from http://repository.slacky.eu/slackwar.../gtkmm/2.14.5/ and tried to run gparted again. Now it wants libgiomm-2.4.so.1 .

Gparted is there in sbopkg but I do not know if it will install all dependencies also.

Alien Bob 03-18-2012 12:23 PM

You'll need a lot more even.
Read the dependency list(s).

Eric

repo 03-18-2012 12:24 PM

Gtkmm requires mm-common, pangomm, and atkmm.
See
http://slackbuilds.org/repository/13...braries/gtkmm/

Kind regards

mrclisdue 03-18-2012 12:51 PM

Download the queuefiles from sbopkg.org:

http://sbopkg.org/queues.php

Queuefiles, in essence, *resolve* the dependencies.

cheers,

rng 03-18-2012 07:51 PM

I am trying but I have not been able to figure out how to use queuefiles.

I am strongly considering using frugalware , which is supposed to be slackware + pacman package manager.

repo 03-19-2012 03:12 AM

Go to slackbuilds and install the dependencies.
mm-common, pangomm, and atkmm.
http://slackbuilds.org/repository/13...braries/gtkmm/
Then install gtkmm, and you are on your way.

Kind regards

ruario 03-19-2012 07:36 AM

Quote:

Originally Posted by rng (Post 4630112)
frugalware , which is supposed to be slackware + pacman package manager.

It was once based on Slackware but that was quite a while ago and it has deviated significantly, so I do not think this is really true now at all (plenty of distros were once based on Slackware but now bear little relation).

IMHO you would be better learning how queuefiles worked or even noting the deps for each package and doing it manually (more time consuming yes, but not that hard). If you really find managing the dependencies of Slackbuilds too much another option would be Salix. Salix is not Slackware but it is a hell of a lot closer than Frugalware. They provide dependency information for all their packages (the core packages are taken directly from Slackware, plus their own additions). They use slapt-get as their default package manager and have stuff like gparted in their own repository, so you could have installed it with the following and had all your dependencies satisfied:

Code:

slapt-get --install gparted
That all said, personally I would give Slackware another go. The learning curve might be a little steeper but once it all clicks into place Slackware is very easy to use, stable and dependable. Remember that setting up a distro is generally something you have to learn once. However you use a distro daily. Hence having stability and predictability is more important (at least to me) than having something that click installs with no user effort but is bug-ridden, which incidentally is how I ended up selecting Slackware myself. ;)

rng 03-19-2012 10:22 AM

I finally managed to use queuefiles but still gparted gives error:
Quote:

(gpartedbin:4191): Gtk-WARNING **: cannot open display:

repo 03-19-2012 01:28 PM

Quote:

(gpartedbin:4191): Gtk-WARNING **: cannot open display:
Because you are running gparted as root in a terminal when logged in as user.
As user, open a terminal and type
Code:

kdesu gparted
Kind regards

ruario 03-19-2012 03:15 PM

Or you can run the following as a regular user:

Code:

xhost +localhost
Then when you switch to root you will be able to start the application.

rng 03-19-2012 07:23 PM

Code:

kdesu gparted
This works perfectly. Thanks.

Between sbopkg with queuefiles and gslapt/slapt-get (2 methods which resolve dependencies on slackware) which is generally better? I want to install openoffice/libreoffice now, which one should I use?

TobiSGD 03-19-2012 08:03 PM

If you use sbopkg with queuefiles you can easily adapt the queuefiles to fit your needs, if necessary. They are simple text-files. This way you can easily omit optional dependencies that you don't need. With slapt-get you have to take the packages as the Salix developers have compiled them.
I would think it is a matter of your personal use. If you don't want/need customized packages slapt-get should be fine, otherwise you will get easier to your goal with sbopkg/queues (and SlackBuilds in general).
Also keep in mind that there may be software that you want to use for which neither a SlackBuild nor a Salix package may be available. In this case it is good to know how to make Slackware packages (for both, Slackware and Salix) using the several different tools out there (like src2pkg, rpm2tgz, ...), using a self-made SlackBuild or simply manually with Slackwares makepkg tool.

rng 03-19-2012 08:11 PM

I installed and used slapt-get and gslapt with slackware 13.0. It seems to work fine. It is not only for salix.


All times are GMT -5. The time now is 08:23 AM.