Is it possible to install a .deb from a URL?

1

lynx can call dpkg (or the Software Center, if a display is available) and offer to install a downloaded package for you. For example, using:

lynx http://archive.ubuntu.com/ubuntu/pool/main/z/zsh/

And downloading one of the .deb files, the following prompt is shown:

Info for debian package '/tmp/user/1000/L11127-6774TMP.udeb': new debian package, version 2.0. size 2545218 bytes: control archive=5830 bytes. 857 bytes, 21 lines control 14682 bytes, 169 lines md5sums 225 bytes, 20 lines * postinst #!/bin/sh Package: zsh-doc Source: zsh Version: 5.1.1-1ubuntu1 Architecture: all Maintainer: Ubuntu Developers Installed-Size: 5291 Depends: zsh-common (= 5.1.1-1ubuntu1) Section: doc Priority: optional Homepage: http://www.zsh.org/ Description: zsh documentation - info/HTML format Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely...
0 0
2

On 2015-08-10 15:16, Luca91 wrote:


>
> Okay, this might be a stupid question, but I really wonder if is
> possible to install natively a deb package without converting it to rpm
> using alien.
> I see that openSUSE have a dpkg package, would be possible to run dpkg
> -i and install a deb ?

Natively? No way. Unless you install an rpm, the rpm database will not
be updated, and the "system" will not know you installed that package.

Then, if at some later point a repository has that package, and you
install it for whatever reason, the package manager will not be aware
that there is a previous install of the same.deb. The result is
unpredictable.

--
Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 "Bottle" (Minas...

0 0
3

From the looks of the main programs on packages.debian.org, the listed dependencies also have dependencies that are needed which might then need further dependencies.

With enough time and courage, it might be possible to write a script to install downloaded dependencies in a sort of correct order before the main .deb package program is installed, and then turn the script over to open source to make it available for all.

I did see a Gdebi app that can get dependencies, but I don't think it could get a dependency's dependencies. It might just go after primary dependencies of a package.

Sitting down with pencil and paper to make a list of packages each program needs that I downloaded so I can figure out their installation order.

I decided to try K3B, UDFtools and ffmpeg to install manually. This could be kinda tricky, it took about three hours to download individual...

0 0
4

It should be possible, but it will be a bit tricky.

A properly created Debian package when installed will leave most of the important details you need to do this in /var/lib/dpkg/info.

The first important file is /var/lib/dpkg/info/foo.list which should be a list of all the files included in the original package that were installed on your system. So start making a copy of all this files into some temporary directory.

The binary version of a Debian package will include a control archive that includes several scripts. Grab /var/lib/dpkg/info/foo.(postinst|postrm|preinst|prerm) those are your install/uninstall scripts. Another way to get a list is to run dpkg-query -c foo.

The other file you would need to create a Debian package is the control file. AFAIK, the package control file is not stored anywhere on the system, but you can get something close enough that you can reconstruct it by running the command dpkg-query -s foo | grep -v...

0 0
5

Go to appleid.apple.com on your browser and then click on Manage your Apple ID. Then type in your apple ID email and password. Now you will see a list on the left. Click on Adresses and then edit it accordingly. Voila!!! Your done.

How to create an Apple ID without providing credit card information
There are two ways you can do it.
First method is from your apple device access the store and for your first time registration, select a FREE product from the store. It will now prompt you to create an apple ID and when it will prompt you for credit card information, it will also give you an option for NONE. You will never get this option, if you select a priced product during this ID creation. After the creation of the ID, as long as you download anything free from the stores, it will never prompt you for any credit card information. However, in future if you decide to purchase anything from the store, you will be prompted to enter the credit card details, which they...

0 0
6

Many software products, especially the commercial ones, are distributed as 32-bit packages. This means that they won't be installed on your 64-bit system unless you clearly specify that you want to override the architecture dependency.

If you're using Ubuntu or any other Debian based distribution, this post will teach you how to install 32-bit deb packages on your 64-bit OS.

Is it possible to run 32-bit applications on 64-bit OS?

In Unix world, yes: it is quite possible to run 32-bit binaries on 64-bit OS. There should generally be no problem, but there are, as always, a few caveats:

your 64-bit system may need some 32-bit libraries installed just to make some old 32-bit software work (use getlibs in Ubuntu) even if 32-bit application runs on your 64-bit system, it will still have the 32-bit limitations some (especially commercial) software has hard-coded architecture checks which will prevent them from working in 64-bit mode. Although it's a rather rare...
0 0
7
...
0 0
8

Ansible is a very simple, clean and elegant tool to provision your production or development machines. It can be also used to setup and configure your development desktop, for example from a plain Ubuntu 14.04 LTS installation. For this task, we will soon run into the need to check, download and install applications as .deb packages because there is no ppa repository available (e.g. for dropbox, vagrant, etc.). In this blogpost, I will discribe how I solved this problem using Ansible.

Checking if .deb Package is already installed

We want to install the package my_package - so first, we need to make sure that it is not yet already installed. We will use the bash command dpkg-query -W my_package to check for the availability of the package. We also want to register the output of this command - which can be done with the register statement in Ansible - in order to use the output as a conditional statement for other tasks.

In the above code, I added the...

0 0
9

Ubuntu has thousands of .deb files in the official and unofficial repositories. But, all packages will not be available in DEB format. Some times, packages might be available only for RPM based distros, or Arch based distros. In such cases, it’s important to know how to create a .deb file from source file. In this brief tutorial, let us see how to create a .deb file from Source file in Ubuntu 16.04 LTS. This guide should work on all DEB based systems such as Debian, Linux Mint, and Elementary OS etc.

Create a .deb file from Source in Ubuntu

First, we need to install the required dependencies to compile and create DEB file from source file.

To do so, run:

sudo apt-get install checkinstall build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev

We have installed the required dependencies. Let us go ahead and download the source file of a package.

...
0 0
10

listas:~/workspace $ sudo apt-get install rpm
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
rpm : Depends: librpm3 (>= 4.10.0) but it is not going to be installed
Depends: librpmbuild3 (>= 4.10.0) but it is not going to be installed
Depends: librpmio3 (>= 4.10.0) but it is not going to be installed
Depends: librpmsign1 (>= 4.10.0) but it is not going to be installed
Depends: rpm2cpio
Depends: debugedit (= 4.11.1-3ubuntu0.1)
Depends: rpm-common (= 4.11.1-3ubuntu0.1) but it is not going to be installed
E: Unable to correct...

0 0
11

This simple tutorial would show how to compile source tarballs (*.tar.gz, *.tar.bz2) and create a *.deb installer in Ubuntu.

Pre-requisite

Make sure you have dh_make and build-essentials installed in your system. To install those in Ubuntu, run below commands:

sudo apt-get install dh-make sudo apt-get install build-essential

How to create deb file from source packages (e.g tar.gz files)

Follow below steps to compile and create deb file from source package in Ubuntu.

Setup test directory

Create a folder which can be used to keep the source files and other files. You can have it named anything you want. For this tutorial I have named it as “testbox” and kept it in Desktop. Also I will use the source of a software called “qgifer-0.2.1”, this software is used to create gif files from video files. I have downloaded the qgifer-0.2.1-source source files from SF.

Keep your source file (i.e. the compressed tar file) inside testbox...
0 0
12

Why would you want to install a package from testing when running on stable?

The reason is simple. Sometimes you just need a later version of a package than is in the Debian Stable repository. You could of course compile it from source, but this was not good enough for me since if you compile it from source, you have to keep it updated manually, and i’m sure i will forget to.
I wanted to do it through apt like the normal packages, But at the same time still keep running on Debian stable but having the option to install a later version of a package.

In this post, i will show you how you can make that possible, and it’s really easy!

What you will need

Only the info in this post and your running debian system.

How to install a single package from debian testing

Adding the apt configuration that allows this

Add the following line to the file /etc/apt/apt.conf (if the file does not exists, create it)

APT::Default-Release...
0 0
13


Question:

How do I install a .deb file via the command line?


Solution:1

Packages are manually installed via the dpkg command (Debian Package Management System). dpkg is the backend to commands like apt-get and aptitude, which in turn are the backend for GUI install apps like the Software Center and Synaptic.

Something along the lines of:

dpkg --> apt-get, aptitude --> Synaptic, Software Center

But of course the easiest ways to install a package would be, first, the GUI apps (Synaptic, Software Center, etc..), followed by the terminal commands apt-get and aptitude that add a very nice user friendly approach to the backend dpkg, including but not limited to packaged dependencies, control over what is installed, needs update, not installed, broken packages, etc.. Lastly the dpkg command which is the base for all of them.

Since dpkg is the base, you can use it to install packaged directly from the...

0 0