LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2012, 12:13 PM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
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.
 
Old 03-18-2012, 12:19 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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

Kind regards
 
Old 03-18-2012, 12:21 PM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
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.

Last edited by rng; 03-18-2012 at 12:23 PM.
 
Old 03-18-2012, 12:23 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

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

Eric
 
Old 03-18-2012, 12:24 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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

Kind regards
 
Old 03-18-2012, 12:51 PM   #6
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
Download the queuefiles from sbopkg.org:

http://sbopkg.org/queues.php

Queuefiles, in essence, *resolve* the dependencies.

cheers,
 
Old 03-18-2012, 07:51 PM   #7
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
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.
 
Old 03-19-2012, 03:12 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 03-19-2012, 07:36 AM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by rng View Post
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.
 
Old 03-19-2012, 10:22 AM   #10
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I finally managed to use queuefiles but still gparted gives error:
Quote:
(gpartedbin:4191): Gtk-WARNING **: cannot open display:
 
Old 03-19-2012, 01:28 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 03-19-2012, 03:15 PM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
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.
 
Old 03-19-2012, 07:23 PM   #13
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
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?

Last edited by rng; 03-19-2012 at 08:01 PM.
 
Old 03-19-2012, 08:03 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 03-19-2012, 08:11 PM   #15
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I installed and used slapt-get and gslapt with slackware 13.0. It seems to work fine. It is not only for salix.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GParted drakeone Linux - Newbie 7 07-05-2010 10:28 PM
Gparted jus71n742 Linux - Hardware 6 11-19-2008 12:39 AM
Trouble installing gParted 0.3.1 from source. truthfatal Linux - Software 5 04-07-2008 03:33 PM
I need help installing gparted on Fedora Core 6 charl^e Linux - Software 15 05-03-2007 04:40 PM
After using Gparted tombiz Ubuntu 5 07-13-2006 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration