Author Topic: Installing without Synaptic ( an RPM file )  (Read 3330 times)

Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Installing without Synaptic ( an RPM file )
« on: November 19, 2011, 06:22:32 PM »
I looked around, I've seen the suggestions on that, we shouldn't go outside the repositories but this particular program I want to install, eh, I think is harmless, just an interesting program i like. :D

The program is Wakoopa ( It's a tracker )  :-*

I followed the instructions on logging in as root, typing the code
rpm -ivh /home/fahrije/Desktop/wakoopa-2.0-2.i386.rpm

but this is what follows:

Failed Dependencies:
libcurl.so.4(CURL_OPENSSL_3) is needed  :o


I looked for a bit and came across this, with some links shows PCLinuxOS

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libcurl.so.4

Any of them good to get?  :-\




Online muungwana

  • Hero Member
  • *****
  • Posts: 6235
Re: Installing without Synaptic ( an RPM file )
« Reply #1 on: November 19, 2011, 06:27:05 PM »

opening up synaptic and then search and install a package called "libcurl4". It should give that library. You should always start with synaptic before going out to look for dependencies some place else
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Re: Installing without Synaptic ( an RPM file )
« Reply #2 on: November 19, 2011, 06:31:33 PM »
lol :D of course I searched for it in Synaptic first ::), it even shows that I have that one installed. ???

I just re-installed it to make sure and re-typed the code into the terminal, same message came up  :-[

Online muungwana

  • Hero Member
  • *****
  • Posts: 6235
Re: Installing without Synaptic ( an RPM file )
« Reply #3 on: November 19, 2011, 06:38:49 PM »

my limited understanding of spec files tells me the error is then due to a failed dependency not from missing libraries on your system but from missing package name in the package database.

Installing that library will not make the error go away since it needs a specific package name(CURL_OPENSSL_3). This is one of the problem of installing packages from different distros. Different distros name the same packages differently and different packages may fail to install because they are looking for package names that are different.

Why not make a package request for this program and wait for it to find its way to the repository and install it from there.

where did you get this package from?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4148
  • I'm walking on sunshine!
Re: Installing without Synaptic ( an RPM file )
« Reply #4 on: November 19, 2011, 06:39:37 PM »
Installing anything from outside the repository will eventually make you regret it, and certainly will leave you with a non-standard installation that will make getting help here impossible. The correct path is to make a package request.
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png

Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Re: Installing without Synaptic ( an RPM file )
« Reply #5 on: November 19, 2011, 06:46:31 PM »
Thanks to the both of you for the replies. ;)

I got the file from the site itself.

http://social.wakoopa.com/account/download#

That's interesting though that they will name rpm's or package them as one size fits all meanwhile diff distros package differently.

Damn Commi's assuming everything is the same  >:(

lol. I didn't make a request since I didn't know I had to, thought I could get it working without going that far.

But if you guys suggest for me to do so then I will...I'll wait first for your replies to this

Online muungwana

  • Hero Member
  • *****
  • Posts: 6235
Re: Installing without Synaptic ( an RPM file )
« Reply #6 on: November 19, 2011, 07:15:08 PM »

that link requires a user to be logged in, meaning some sort of registration is required.

If you have an account, you can check to see if they allow their package to be redistributed, they must allow this for it to be included in the repository.

Its usually a good idea to request for packages first and then install them from the repository because that will mean they are checked and are known to work with pclinuxos and they will became available to the whole pclinuxos community.

Since you already have libcurl.so4 installed, you can install the package without checking for dependencies with this command

rpm -ivh --nodeps  /home/fahrije/Desktop/wakoopa-2.0-2.i386.rpm

You should know that you are installing a package ignoring a dependency and this may work now but may cause serious problems down the line and the problem will be difficult to trouble shoot and support will probably not be provided. This is a very serious thing you are doing. I can not stress this point enough. Continue at your own risk and have an installation disk close by, you may need it
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Installing without Synaptic ( an RPM file )
« Reply #7 on: November 19, 2011, 08:17:20 PM »
I looked around, I've seen the suggestions on that, we shouldn't go outside the repositories but this particular program I want to install, eh, I think is harmless, just an interesting program i like. :D

The program is Wakoopa ( It's a tracker )  :-*

I followed the instructions on logging in as root, typing the code
rpm -ivh /home/fahrije/Desktop/wakoopa-2.0-2.i386.rpm

but this is what follows:

Failed Dependencies:
libcurl.so.4(CURL_OPENSSL_3) is needed  :o


I looked for a bit and came across this, with some links shows PCLinuxOS

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libcurl.so.4

Any of them good to get?  :-\






So you went ahead and tried it anyway ???    There is a reason why it is suggested that you not install from outside the repository!




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Re: Installing without Synaptic ( an RPM file )
« Reply #8 on: November 19, 2011, 09:03:16 PM »
[quote
So you went ahead and tried it anyway ???    There is a reason why it is suggested that you not install from outside the repository!
[/quote]

 :oNo! :o

lol, I mailed the devs to ask them if it can be repackaged as was suggested and I will submit a request in the forums ( i just feel awkward asking since I brought it up, it has to be a lot of work i think right? )

Eh, better to try than not to I guess. But no, again, I'm not risking before finding a "correct" way first  8)

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Installing without Synaptic ( an RPM file )
« Reply #9 on: November 19, 2011, 11:07:59 PM »
PcLOSHead, it is obvious that you are a new Linux user. If you value your install and want it to work well, you need to understand that not all RPMS can work for all RPM-based distros. There's a lot more work done to get these apps to work for PCLinuxOS. If this app you want to install is Open Source and GPL, you can make a request on the Package Suggest of this forum (read that section's rules).

But do not try your experiments on a working install, unless you want to risk borking your system. There are tools you can use to try this experiments out. VirtualBox is one such environment.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Re: Installing without Synaptic ( an RPM file )
« Reply #10 on: November 19, 2011, 11:18:29 PM »
I'm a new user to rpm distros, been more on the Debian circuit thus far so when I'd see a file of theirs, it would usually work, hence my naiveness to rpms being equal.

But I understand you and the rpm creation. I did post to the request but Tex just told me that it's a coding that isn't going to work well so it won't be worked on.

 

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12506
Re: Installing without Synaptic ( an RPM file )
« Reply #11 on: November 20, 2011, 12:15:09 AM »
I'm a new user to rpm distros, been more on the Debian circuit thus far so when I'd see a file of theirs, it would usually work, hence my naiveness to rpms being equal.

But I understand you and the rpm creation. I did post to the request but Tex just told me that it's a coding that isn't going to work well so it won't be worked on.

 

I'm afraid there is simply nothing to work on. There is no source code or a source rpm that contains source code. The link you posted is the result of a rpm build against whatever libraries they had installed on their system at the time of the build. We don't know what libraries or versions of libraries the rpm is linked against but it doesn't match what we have in our repository.

When I build an rpm it is built against the most current stable/secure libraries in the PCLinuxOS repository which may be different versions than other distributions. The end result is the program is linked against those libraries. This is why each distribution has their own software repository.

Tex


Thanks to everyone who donates. You keep the servers running.

Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Re: Installing without Synaptic ( an RPM file )
« Reply #12 on: November 20, 2011, 12:19:24 AM »
I'm a new user to rpm distros, been more on the Debian circuit thus far so when I'd see a file of theirs, it would usually work, hence my naiveness to rpms being equal.

But I understand you and the rpm creation. I did post to the request but Tex just told me that it's a coding that isn't going to work well so it won't be worked on.

 

I'm afraid there is simply nothing to work on. There is no source code or a source rpm that contains source code. The link you posted is the result of a rpm build against whatever libraries they had installed on their system at the time of the build. We don't know what libraries or versions of libraries the rpm is linked against but it doesn't match what we have in our repository.

When I build an rpm it is built against the most current stable/secure libraries in the PCLinuxOS repository which may be different versions than other distributions. The end result is the program is linked against those libraries. This is why each distribution has their own software repository.

Tex



Well said, thank you very much for clearing up the rpm confusion with me  ;)

Online muungwana

  • Hero Member
  • *****
  • Posts: 6235
Re: Installing without Synaptic ( an RPM file )
« Reply #13 on: November 20, 2011, 12:30:47 AM »
Quote
[ink@mtz New]$ rpm2cpio wakoopa-2.0-2.i386.rpm  | cpio -idmv
.
./usr
./usr/bin
./usr/bin/wakoopa
./usr/share
./usr/share/applications
./usr/share/applications/wakoopa.desktop
./usr/share/doc
./usr/share/doc/wakoopa
./usr/share/doc/wakoopa/changelog.gz
./usr/share/pixmaps
./usr/share/pixmaps/wakoopa.png
./usr/share/wakoopa
./usr/share/wakoopa/pixmaps
./usr/share/wakoopa/pixmaps/hicolor
./usr/share/wakoopa/pixmaps/hicolor/16x16
./usr/share/wakoopa/pixmaps/hicolor/16x16/status
./usr/share/wakoopa/pixmaps/hicolor/16x16/status/wakoopa.png
./usr/share/wakoopa/pixmaps/hicolor/16x16/status/wakoopa_alert.png
./usr/share/wakoopa/pixmaps/hicolor/16x16/status/wakoopa_error.png
./usr/share/wakoopa/pixmaps/hicolor/16x16/status/wakoopa_paused.png
./usr/share/wakoopa/pixmaps/logo_homepage.png
./usr/share/wakoopa/pixmaps/wakoopa.png
./usr/share/wakoopa/pixmaps/wakoopa_large.png
./usr/share/wakoopa/pixmaps/wakoopa_menu_alert.png
1704 blocks


The above output is all the files in the package, i think you can install this package without worrying if it will do damage to your computer. It only contains one executable with a name that is unlikely to collide with any other executable name and the rest are supporting files and they dont look like they will interfere with any other file provided by the distro.

I tried to run it and it started fine here, i just run it from the extracted files above, i did not install it.

If you want to install it, use the command i gave in on of my posts above.

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline PcLOSHead

  • Jr. Member
  • **
  • Posts: 23
Re: Installing without Synaptic ( an RPM file )
« Reply #14 on: November 20, 2011, 12:33:54 AM »
I beat you to it Muungwana  :P

lol but thanks for testing it to reveal more, I appreciate it ;)