Install Cydia Package Without Dependencies

Install Cydia Package Without Dependencies Rating: 10,0/10 2534 votes
  1. Appshed Cydia Package

So far, it seems that the best way to install packages without losing your head on Linux is to use apt-get install <package>. This is because the command pulls all dependencies along with it. If I choose to stick with dpkg --install <package> for installing packages on my machine, which means I probably downloaded the package – how can I ensure that I do not miss any dependent packages?

For things like libelf-dev or libelf1, are there websites that carry source disk containing these nice-to-haves, and in fact carry bundled modules to make updates easier? Again, so I don't miss the packages that libelf needs, like make, etc.

Appshed Cydia Package

Cydia will remain on the jailbroken device afterward as a secondary package manager, and it can still be used alongside Sileo to install jailbreak tweaks and apps as usual. Note: some knowledge of Terminal commands is necessary to. I'm not sure it makes sense to have npm install something and not also fetch the dependencies, or build a package without linking the dependencies and ensuring that they are installed. This comment has been minimized.

PhumePhume

2 Answers

You always need to satisfy the dependencies, that is why they are called like that.

That said, the best method of installing a downloaded .deb package IMHO is:

Of course, you can always go the other way around like so:

Install Cydia Package Without Dependencies

But I find it cumbersome.

LinuxSecurityFreakLinuxSecurityFreak

IIRC if you have a .deb file with dependencies that can be met from your configured repos, you can install it with dpkg -i package.deb and then do an apt-get upgrade and apt will bring in anything that your package needed... but ONLY if appropriate version numbers, etc. all exist and match.

Alternatively you can point apt-get at a specific deb file and skip the steps of needed to download, save, point to with dpkg etc.

Install package dependencies

apt-get install https://www.example.com/some_deb_package.deb

ivanivanivanivan

Not the answer you're looking for? Browse other questions tagged debiansoftware-installationpackage-management or ask your own question.

I am trying to install grive in my CentOS server. The rpm available is:

The problem is that the rpm seems to be tied to json-c version 0.11 but the one I really need is json-c 0.10.

In short: when yum displays the message:

'Dependencies resolved - The following two packages will be installed:grive and json-c 0.11'

R package dependencies

is there any way to reply:

'Go ahead and install grive but DO NOT install (i.e. upgrade) json-c 0.11'

TIA

Travis BangerTravis Banger

2 Answers

Yum doesn't have a way to do this. It would counter the purpose of the package manager. Moreover, it will usually render a package dysfunctional. Package maintainer's put effort into ensuring dependencies are properly defined and not overly restrictive.

That said, you can install the rpm with the rpm utility using the --nodeps flag. As a result, it becomes your responsibility to manually manage the package's life cycle. Although this is generally unwise, you may find it useful to experiment with this option. The syntax is:

Yum's statement on the matter: http://yum.baseurl.org/wiki/NoDeps.

shibleyshibley

Like shibley said, this would defeat the purpose of the package manager. It would be wiser to download the source and compile it with the version of the dependency you need. Hopefully, for you, the version you want will work without any source mods.

shiottashiotta

Not the answer you're looking for? Browse other questions tagged package-managementyumdependencies or ask your own question.

Posted on