get installed rpm or deb package file
As in android, we can download the app from playstore, & if want we can share the app using shareit. It means the installable software must be present somewhere on the system.
Can we do the same in Linux distros as well ? If I download a software like Code:
apt-get install vlc |
a bit of a MAJOR problem
you are using a Debian based system ( apt-get ) BUT rpm's are REDHAT packages Debian uses "deb " packages Debian based systems use "apt" to install deb packages RedHat based systems use yum ( or dnf and zypper) to install rpm packages |
if you want a software to give it to someone else as long as they have internet.
Give them the link where you download or install the file, or ask them to Google for the file. or try: find / -name '*.deb' -o -name '*.rpm' |
Code:
man apt-get |
If you really are on a box that uses rpms, you can use http://linux.die.net/man/1/yumdownloader to just download it.
|
There is a major difference between Android's APKs and the RPMs and DEBs of Linux systems: APKs do not only contain the software you want to install, but also all of the dependencies that are not present on a standard Android system. This is not the case with RPMs or DEBs, they only store the information which dependencies are needed. For example, if I want to install VLC on the Arch system I post this from the package manager also wants to install a bunch of other packages as dependencies:
Code:
>>> sudo pacman -S vlc demon 11:07:11 ~ [INS] This is a know problem and there are different approaches to solve it: - Use a universal runtime. This is the approach that for example Steam uses, all games should be compiled against Steam's runtime environment, this way they are distribution independent and run on any distribution that can run Steam. - Use container technology, like Docker or the upcoming Ubuntu Snappy. This way you can deploy all the dependencies together with the software without touching the base system. Both approaches make it possible to share software across different systems, even with different distributions in different versions. |
Quote:
As in windows System, we can download the software & can install that software in any number of windows systems. Is it not possible with Linux OS? |
Quote:
A program for Ubuntu 14.04 *MAY* work for Ubuntu 16.04 and have the same dependencies...and may NOT. And the dependencies have their OWN dependencies....do you know which ones are missing beforehand? Unless you can download ALL of them, then things aren't going to work. If you want to do that, then feel free....but it's fairly pointless, in my opinion. Putting it on the Internet for a few minutes and typing in "apt-get install vlc" or "yum install vlc" is far easier. |
for deb files I simpley goto the Debian web sight via google and it leads me there then i just download the deb file in question.
|
Quote:
|
you can download them here 32bit or 64bit
Dependencies too are needed for VLC Debian Jessie Package: vlc (2.2.4-1~deb8u1) Debian wheezy Download Page for vlc-nox_2.0.3-5+deb7u2+b1_amd64.deb on AMD64 machines Download Page for vlc-nox_2.2.4-12_i386.deb on Intel x86 machines Ubuntututututututu Download Page for vlc-dbg_2.0.8-0ubuntu0.12.04.1_i386.deb on Intel x86 machines Download Page for vlc-nox_2.0.8-0ubuntu0.12.04.1_amd64.deb on AMD64 machines |
Quote:
Quote:
Quote:
|
Quote:
It is a HUGE waste of time and effort. Even if internet access is problematic at your company, you can easily create a central repository server that DOES have Internet (or is updated from Internet), and update all your other machines from it: https://help.ubuntu.com/community/AptGet/Offline |
Quote:
Spare yourself a nervous breakdown... Code:
"offline repositories" centos|debian|ubuntu https://help.ubuntu.com/community/Ap...ine/Repository "Suggested"? "Recommended"? Oh My! |
Quote:
Install the alien deb package into Debian, This will allow you to install rpm packages. I believe there is a degree of finger crossing involved though. :twocents: |
All times are GMT -5. The time now is 04:56 PM. |